This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 48585b21b5b arch/avr: fix MCU type for 64 pin chips
48585b21b5b is described below

commit 48585b21b5b045541032b02dcea21e1240360ffa
Author: Kerogit <[email protected]>
AuthorDate: Sat Jul 12 00:13:32 2025 +0200

    arch/avr: fix MCU type for 64 pin chips
    
    Toolchain.defs file was treating all supported chips as AVR128DA28,
    which became apparent while testing changes in USART handling.
    
    Signed-off-by: Kerogit <[email protected]>
---
 arch/avr/src/avr/Toolchain.defs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/avr/src/avr/Toolchain.defs b/arch/avr/src/avr/Toolchain.defs
index 2e12e660f24..6bf844f56f0 100644
--- a/arch/avr/src/avr/Toolchain.defs
+++ b/arch/avr/src/avr/Toolchain.defs
@@ -71,10 +71,10 @@ else ifeq ($(CONFIG_ARCH_CHIP_AVR128DA28),y)
   ARCHCPUFLAGS += -mmcu=avr128da28
   LDFLAGS += -mavrxmega4
 else ifeq ($(CONFIG_ARCH_CHIP_AVR128DA64),y)
-  ARCHCPUFLAGS += -mmcu=avr128da28
+  ARCHCPUFLAGS += -mmcu=avr128da64
   LDFLAGS += -mavrxmega4
 else ifeq ($(CONFIG_ARCH_CHIP_AVR128DB64),y)
-  ARCHCPUFLAGS += -mmcu=avr128da28
+  ARCHCPUFLAGS += -mmcu=avr128db64
   LDFLAGS += -mavrxmega4
 else ifeq ($(CONFIG_ARCH_CHIP_AT90USB646),y)
   ARCHCPUFLAGS += -mmcu=at90usb646

Reply via email to