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.
LDR R0, =SystemInit
LDR R0, =__iar_program_start
My understanding says that __iar_program_start in turn will call main() function. Something like this :
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?