diff options
Diffstat (limited to 'Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s')
-rw-r--r-- | Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s b/Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s index 08d74533..c06b1fef 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s +++ b/Demo/CORTEX_LM3S102_Rowley/Demo3/vectors.s @@ -26,7 +26,11 @@ _vectors:
.word __stack_end__
- .word reset_handler
+#ifdef STARTUP_FROM_RESET
+ .word _start
+#else
+ .word reset_wait
+#endif /* STARTUP_FROM_RESET */
.word NmiISR
.word FaultISR
.word 0 // Populate if using MemManage (MPU)
@@ -111,6 +115,6 @@ DEFAULT_ISR_HANDLER Analog_Comparator_2_ISR DEFAULT_ISR_HANDLER System_Control_ISR
DEFAULT_ISR_HANDLER FLASH_Control_ISR
-
-
-
+#ifndef STARTUP_FROM_RESET
+DEFAULT_ISR_HANDLER reset_wait
+#endif /* STARTUP_FROM_RESET */
|