From bc0eb3b7a93af846ced08d427c48fc6ccb14c038 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 16 Sep 2020 11:42:37 +0200 Subject: msp430fr5994lp: fix attribute generation with large mode enabled --- src/arch/msp430fr5994lp/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/arch/msp430fr5994lp') diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc index 30e9146..061572d 100644 --- a/src/arch/msp430fr5994lp/Makefile.inc +++ b/src/arch/msp430fr5994lp/Makefile.inc @@ -178,7 +178,12 @@ arch_info: @echo "sleep_ms Overflow: 250 500" @echo "Monitor: /dev/${SERIAL_PORT} 115200" +ifdef CONFIG_arch_msp430fr5994lp_large_mode +attributes: build/system.elf + ${QUIET}script/size.py ${SIZE} text,lower.text,upper.text,data,lower.data,upper.data data,lower.data,upper.data,bss,lower.bss,upper.bss +else attributes: build/system.elf ${QUIET}script/size.py ${SIZE} text,data data,bss +endif .PHONY: arch_clean arch_help arch_info attributes monitor program -- cgit v1.2.3