summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5994lp
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-16 11:42:37 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-16 11:42:37 +0200
commitbc0eb3b7a93af846ced08d427c48fc6ccb14c038 (patch)
treed7ed31d72fc46e54dd9870fdcad5da7a3d9c74fb /src/arch/msp430fr5994lp
parent3fc8b04954ada246fd25a39b3403d6caafc8ff93 (diff)
msp430fr5994lp: fix attribute generation with large mode enabled
Diffstat (limited to 'src/arch/msp430fr5994lp')
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
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