Skip to content

Commit b5c93a6

Browse files
committed
feat(wl3): add __libc_init_array call to startup
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent b4b3857 commit b5c93a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Drivers/CMSIS/Device/ST/STM32WL3x/Source/Templates/gcc/startup_stm32wl3xx.s

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ LoopFillZerobss:
8383
cmp r2, r3
8484
bcc FillZerobss
8585

86+
/* Call static constructors */
87+
bl __libc_init_array
8688
/* Call the application's entry point.*/
8789
bl main
8890

0 commit comments

Comments
 (0)