aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorisiora <none@example.com>2017-09-22 10:18:07 +0000
committerisiora <none@example.com>2017-09-22 10:18:07 +0000
commit082f8bc38f1f1776377d9e0a602a1b3658b3905b (patch)
tree6319beb031e7a5a930234e4e1b8cca93bcd2ccbe /os
parentd4d4157ca8ae7259423f668c060149696f818554 (diff)
downloadChibiOS-082f8bc38f1f1776377d9e0a602a1b3658b3905b.tar.gz
ChibiOS-082f8bc38f1f1776377d9e0a602a1b3658b3905b.tar.bz2
ChibiOS-082f8bc38f1f1776377d9e0a602a1b3658b3905b.zip
Reset points to Boot_Handler. For backward compatibility,
Boot_Handler is defined weak and is defaulted to jump to Reset_Handler. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10672 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/common/startup/ARM/compilers/GCC/vectors.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/os/common/startup/ARM/compilers/GCC/vectors.S b/os/common/startup/ARM/compilers/GCC/vectors.S
index 39bd6db73..0584b4edc 100644
--- a/os/common/startup/ARM/compilers/GCC/vectors.S
+++ b/os/common/startup/ARM/compilers/GCC/vectors.S
@@ -56,7 +56,7 @@ _start:
ldr pc, _fiq
_reset:
- .word Reset_Handler
+ .word Boot_Handler
_undefined:
.word Und_Handler
_swi:
@@ -92,6 +92,12 @@ Irq_Handler:
.weak _unhandled_exception
_unhandled_exception:
b _unhandled_exception
+/*
+ * Default boot handler. Jump to Reset_Handler
+ */
+ .weak Boot_Handler
+Boot_Handler:
+ b Reset_Handler
#endif