Loading script/static-stack-analyze.pl +9 −3 Original line number Diff line number Diff line Loading @@ -36,17 +36,23 @@ my %arch_data = ( call_relocation => 'R_AVR_CALL', }, msp430 => { # For each function call, the 4-Byte (20 bits at 2-Byte alignment) return # For each function call, the 2-Byte (16 bits at 2-Byte alignment) return # address is pushed onto the stack. call_cost => 4, call_cost => 2, call_relocation => 'R_MSP430X_ABS16', }, msp430large => { # For each function call, the 4-Byte (20 bits at 2-Byte alignment) return # For each function call, the 4-Byte (20 bits at 4-Byte alignment) return # address is pushed onto the stack. call_cost => 4, call_relocation => 'R_MSP430X_ABS20_ADR_DST', }, stm32f4 => { # For each function call, the 4-Byte (32 bits) return # address is pushed onto the stack. call_cost => 4, call_relocation => 'R_ARM_THM_CALL', }, ); my %addresses; Loading src/arch/stm32f446re-nucleo/Makefile.inc +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ OBJCOPY = arm-none-eabi-objcopy OBJDUMP = arm-none-eabi-objdump SIZE = arm-none-eabi-size ARCH_SHORTNAME = stm32f4 CXX_TARGETS += src/arch/stm32f446re-nucleo/arch.cc ifdef CONFIG_aspectc Loading Loading
script/static-stack-analyze.pl +9 −3 Original line number Diff line number Diff line Loading @@ -36,17 +36,23 @@ my %arch_data = ( call_relocation => 'R_AVR_CALL', }, msp430 => { # For each function call, the 4-Byte (20 bits at 2-Byte alignment) return # For each function call, the 2-Byte (16 bits at 2-Byte alignment) return # address is pushed onto the stack. call_cost => 4, call_cost => 2, call_relocation => 'R_MSP430X_ABS16', }, msp430large => { # For each function call, the 4-Byte (20 bits at 2-Byte alignment) return # For each function call, the 4-Byte (20 bits at 4-Byte alignment) return # address is pushed onto the stack. call_cost => 4, call_relocation => 'R_MSP430X_ABS20_ADR_DST', }, stm32f4 => { # For each function call, the 4-Byte (32 bits) return # address is pushed onto the stack. call_cost => 4, call_relocation => 'R_ARM_THM_CALL', }, ); my %addresses; Loading
src/arch/stm32f446re-nucleo/Makefile.inc +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ OBJCOPY = arm-none-eabi-objcopy OBJDUMP = arm-none-eabi-objdump SIZE = arm-none-eabi-size ARCH_SHORTNAME = stm32f4 CXX_TARGETS += src/arch/stm32f446re-nucleo/arch.cc ifdef CONFIG_aspectc Loading