Skip to content

Commit b56ffb0

Browse files
author
Jan Kamidra
committed
fix app start
1 parent 4d52d20 commit b56ffb0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32U0/TARGET_STM32U083xC/TOOLCHAIN_GCC_ARM/startup_stm32u083xx.s

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ LoopFillZerobss:
9393

9494
/* Call static constructors */
9595
bl __libc_init_array
96+
9697
/* Call the application's entry point.*/
97-
bl main
98+
bl _start
9899

99100
LoopForever:
100101
b LoopForever

targets/targets.json5

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4767,8 +4767,7 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
47674767
"STM32U0"
47684768
],
47694769
"macros_add": [
4770-
"MBED_TICKLESS",
4771-
"EXTRA_IDLE_STACK_REQUIRED"
4770+
"MBED_TICKLESS"
47724771
],
47734772
"config": {
47744773
"clock_source": {

0 commit comments

Comments
 (0)