From a827a8ad5a7b2ffdd83c0eeba82ec7468df321f9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 5 Dec 2018 18:13:17 +0100 Subject: support static analysis of stack usage --- src/arch/msp430fr5969lp/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/arch/msp430fr5969lp') diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc index ea84130..b2c0231 100644 --- a/src/arch/msp430fr5969lp/Makefile.inc +++ b/src/arch/msp430fr5969lp/Makefile.inc @@ -14,6 +14,11 @@ COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C CC = /opt/msp430/ti/gcc/bin/msp430-elf-gcc CXX = /opt/msp430/ti/gcc/bin/msp430-elf-g++ OBJCOPY = /opt/msp430/ti/gcc/bin/msp430-elf-objcopy +OBJDUMP = /opt/msp430/ti/gcc/bin/msp430-elf-objdump + +# For each function call, the 4-Byte (20 bits at 2-Byte alignment) return +# address is pushed onto the stack. +ARCH_CALL_COST = 4 CXX_TARGETS += src/arch/msp430fr5969lp/arch.cc -- cgit v1.2.3