Skip to content

Commit 0c25d7c

Browse files
committed
1. GCC工具链中入口函数修改;2. SConscript中大小写修改
1 parent 563d11f commit 0c25d7c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bsp/acm32f0x0-nucleo/libraries/Device/Startup_ACM32F0x0_gcc.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ LoopFillZerobss:
7979
/* Call the clock system intitialization function.*/
8080
/* bl SystemInit */
8181
/* Call the application's entry point.*/
82-
bl main
83-
bx lr
82+
bl entry
83+
LoopForever:
84+
b LoopForever
8485
.size Reset_Handler, .-Reset_Handler
8586

8687
/**

bsp/acm32f0x0-nucleo/libraries/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ HAL_Driver/Src/HAL_ADC.c
1212
HAL_Driver/Src/HAL_GPIO.c
1313
HAL_Driver/Src/HAL_WDT.c
1414
HAL_Driver/Src/HAL_IWDT.c
15-
HAL_Driver/Src/HAL_Uart.c
15+
HAL_Driver/Src/HAL_UART.c
1616
HAL_Driver/Src/HAL_TIMER.c
1717
HAL_Driver/Src/HAL_EXTI.c
1818
""")

0 commit comments

Comments
 (0)