mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[bsp][at91sam9260] Fix the problem of the finsh function failure by using component initialization.
This commit is contained in:
@@ -95,8 +95,8 @@ SVC_STACK_START:
|
||||
.section .init, "ax"
|
||||
.arm
|
||||
|
||||
.global entry
|
||||
entry:
|
||||
.global start
|
||||
start:
|
||||
LDR PC, vector_reset
|
||||
LDR PC, vector_undef
|
||||
LDR PC, vector_swi
|
||||
@@ -204,7 +204,7 @@ ctor_loop:
|
||||
ctor_end:
|
||||
|
||||
@; Enter the C code
|
||||
LDR R0, =main
|
||||
LDR R0, =rtthread_startup
|
||||
BLX R0
|
||||
|
||||
@;----------------- Exception Handler -----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user