Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27f975a

Browse files
committed
feat(wb0): add __libc_init_array call to startup
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parentb7ce938 commit27f975a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

‎system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb05.s‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
107107
cmp r2, r3
108108
bcc FillZerobssram
109109

110+
/*Call static constructors*/
111+
bl __libc_init_array
110112
/*Call the application's entry point.*/
111113
bl main
112114

‎system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb06.s‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
107107
cmp r2, r3
108108
bcc FillZerobssram
109109

110+
/*Call static constructors*/
111+
bl __libc_init_array
110112
/*Call the application's entry point.*/
111113
bl main
112114

‎system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb07.s‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
107107
cmp r2, r3
108108
bcc FillZerobssram
109109

110+
/*Call static constructors*/
111+
bl __libc_init_array
110112
/*Call the application's entry point.*/
111113
bl main
112114

‎system/Drivers/CMSIS/Device/ST/STM32WB0x/Source/Templates/gcc/startup_stm32wb09.s‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ LoopFillZeroBlueRam:
107107
cmp r2, r3
108108
bcc FillZerobssram
109109

110+
/*Call static constructors*/
111+
bl __libc_init_array
110112
/*Call the application's entry point.*/
111113
bl main
112114

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp