mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
update
This commit is contained in:
@@ -52,7 +52,6 @@ target_link_directories(${CMAKE_PROJECT_NAME} PRIVATE
|
|||||||
# Collect all source files using file globbing
|
# Collect all source files using file globbing
|
||||||
file(GLOB_RECURSE LVGL_SOURCES
|
file(GLOB_RECURSE LVGL_SOURCES
|
||||||
"Middlewares/LVGL/src/*.c"
|
"Middlewares/LVGL/src/*.c"
|
||||||
"Middlewares/LVGL/src/*.cpp"
|
|
||||||
"Middlewares/LVGL/porting/*.c"
|
"Middlewares/LVGL/porting/*.c"
|
||||||
)
|
)
|
||||||
file(GLOB_RECURSE USER_SOURCES "User/**/*.c")
|
file(GLOB_RECURSE USER_SOURCES "User/**/*.c")
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
.syntax unified
|
.syntax unified
|
||||||
.cpu cortex-m4
|
.cpu cortex-m4
|
||||||
.fpu fpv4-sp-d16
|
.fpu softvfp
|
||||||
.thumb
|
.thumb
|
||||||
|
|
||||||
.global g_pfnVectors
|
.global g_pfnVectors
|
||||||
@@ -58,14 +58,17 @@ defined in linker script */
|
|||||||
.weak Reset_Handler
|
.weak Reset_Handler
|
||||||
.type Reset_Handler, %function
|
.type Reset_Handler, %function
|
||||||
Reset_Handler:
|
Reset_Handler:
|
||||||
ldr sp, =_estack /* set stack pointer */
|
ldr sp, =_estack /* set stack pointer */
|
||||||
|
|
||||||
/* 强行挪到这里:先执行 SystemInit 重定向中断向量表 */
|
/* Call the clock system initialization function.*/
|
||||||
bl SystemInit
|
bl SystemInit
|
||||||
|
|
||||||
/* Copy the data segment initializers from flash to SRAM */
|
/* Copy the data segment initializers from flash to SRAM */
|
||||||
movs r1, #0
|
ldr r0, =_sdata
|
||||||
b LoopCopyDataInit
|
ldr r1, =_edata
|
||||||
|
ldr r2, =_sidata
|
||||||
|
movs r3, #0
|
||||||
|
b LoopCopyDataInit
|
||||||
|
|
||||||
CopyDataInit:
|
CopyDataInit:
|
||||||
ldr r4, [r2, r3]
|
ldr r4, [r2, r3]
|
||||||
|
|||||||
Reference in New Issue
Block a user