diff --git a/src/main/startup/startup_stm32f30x_md_gcc.S b/src/main/startup/startup_stm32f30x_md_gcc.S index cf9e3925e..2b8e7522d 100644 --- a/src/main/startup/startup_stm32f30x_md_gcc.S +++ b/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