Browse Source

STM32F30x - Ensure static constructors are called.

master
Dominic Clifton 11 years ago
parent
commit
e828dec9d0
  1. 2
      src/main/startup/startup_stm32f30x_md_gcc.S

2
src/main/startup/startup_stm32f30x_md_gcc.S

@ -101,6 +101,8 @@ LoopFillZerobss:
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
bl main
bx lr

Loading…
Cancel
Save