Hi
I have a Systick handler function SysTick_Handler for which the assembly code is generated as follows when the debug flag is used.
PUSH {R3, LR}
SysTick_isr();
BL SysTick_isr
When debug flag is not enabled then PUSH {R3, LR} is not get generated. Pushing PSR and LR to stack is done only when debug is enabled. As I am doing some context switching inside Systick ISR I need a consistent behavior irrespective of Debug is enabled or not.
I am using arm_5.1.2 from controlSuite for F28M36 processor.
Thanks in Advance,
Sumith