Make startup file unix like and add a hardcoded enable for the FPU
This commit is contained in:
parent
76f5a4e9be
commit
6b4029f8c2
@ -99,6 +99,12 @@ LoopFillZerobss:
|
||||
//bl __libc_init_array
|
||||
/* Call the application's entry point.*/
|
||||
|
||||
/* Enable FPU hard */
|
||||
LDR.W R0, =0xE000ED88
|
||||
LDR R1, [R0]
|
||||
ORR R1, R1, #(0xF << 20)
|
||||
STR R1, [R0]
|
||||
|
||||
bl main
|
||||
bx lr
|
||||
.size Reset_Handler, .-Reset_Handler
|
||||
|
Loading…
Reference in New Issue
Block a user