STM32L433R : unable to find __iar_program_start
Hi,
I am trying to figure out the initialization sequence for STM32L433R.
In startup_stm32l433xx.s: i see that the vector table first initializes the current stack pointer.
After that it runs Reset_Handler. The Reset_Handler in turn loads SystemInit and then __iar_program_start.
Reset_Handler
LDR R0, =SystemInit BLX R0 LDR R0, =__iar_program_start BX R0My understanding says that __iar_program_start in turn will call main() function. Something like this :
void __iar_program_start(void)
{
main();
}
I am not able to figure out where are these two functions located.
In IAR i did Ctrl+Shift+F and tried to search for both this functions. But i can't see there definitions anywhere.
Can someone please point me to the right files?
#stm32 #stm32-l4