[bsp][at91sam9260] Fix the problem of the finsh function failure by using component initialization.

This commit is contained in:
weety
2017-10-19 23:46:17 +08:00
parent e448ecc6ad
commit 6085f6826d
13 changed files with 105 additions and 213 deletions
+3 -3
View File
@@ -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 -----------------------------------------