Skip to content
Snippets Groups Projects
Commit ee2f03f6 authored by cnlohr's avatar cnlohr
Browse files

Only perform norvc for boot section only. Sometimes this can be "leaky." and...

Only perform norvc for boot section only.  Sometimes this can be "leaky." and flow outside of the boot function.
parent 421c0c48
No related branches found
No related tags found
No related merge requests found
...@@ -720,6 +720,7 @@ void InterruptVectorDefault() ...@@ -720,6 +720,7 @@ void InterruptVectorDefault()
{ {
asm volatile( "\n\ asm volatile( "\n\
.align 2\n\ .align 2\n\
.option push;\n\
.option norvc;\n\ .option norvc;\n\
j handle_reset\n\ j handle_reset\n\
.word 0\n\ .word 0\n\
...@@ -760,7 +761,8 @@ void InterruptVectorDefault() ...@@ -760,7 +761,8 @@ void InterruptVectorDefault()
.word TIM1_UP_IRQHandler /* TIM1 Update */ \n\ .word TIM1_UP_IRQHandler /* TIM1 Update */ \n\
.word TIM1_TRG_COM_IRQHandler /* TIM1 Trigger and Commutation */ \n\ .word TIM1_TRG_COM_IRQHandler /* TIM1 Trigger and Commutation */ \n\
.word TIM1_CC_IRQHandler /* TIM1 Capture Compare */ \n\ .word TIM1_CC_IRQHandler /* TIM1 Capture Compare */ \n\
.word TIM2_IRQHandler /* TIM2 */ \n"); .word TIM2_IRQHandler /* TIM2 */ \n\
.option pop;\n");
} }
void handle_reset() void handle_reset()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment