Other Parts Discussed in Thread: HALCOGEN
Hi,
My customer uses RM57Lx and SafeTI Diagnostic library.
In the linker command file:
\SafeTI Diagnostic Library\2.4.0\build\RM57L843_NoOS\SL_RM57L843_NoOS_sys_link.cmd
It seems stack sizes are configured as 2048 bytes each.
.STACK_DATA_svc : {. += 2048;} > STACKS, RUN_START(StackModeSVC) .STACK_DATA_fiq : {. += 2048;} > STACKS, RUN_START(StackModeFIQ) .STACK_DATA_irq : {. += 2048;} > STACKS, RUN_START(StackModeIRQ) .STACK_DATA_abt : {. += 2048;} > STACKS, RUN_START(StackModeABT) .STACK_DATA_und : {. += 2048;} > STACKS, RUN_START(StackModeUND) .STACK_DATA_sys : {. += 2048;} > STACKS, RUN_START(StackModeSYS)
On the other hand, the header file:
\SafeTI Diagnostic Library\2.4.0\safety_library\include\sl_config.h
It seems stack sizes are 1024 bytes each.
#define STACK_SIZE_MODE_SVC 1024u /**< Stack size for SVC mode */ #define STACK_SIZE_MODE_FIQ 1024u /**< Stack size for FIQ mode */ #define STACK_SIZE_MODE_IRQ 1024u /**< Stack size for IRQ mode */ #define STACK_SIZE_MODE_ABT 1024u /**< Stack size for ABT mode */ #define STACK_SIZE_MODE_UND 1024u /**< Stack size for UND mode */ #define STACK_SIZE_MODE_SYS 1024u /**< Stack size for SYS mode */
Is this problematic? If so, which one should be modified?
Thanks and regards,
Koichiro Tashiro