aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARMCMx
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-19 11:08:46 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-19 11:08:46 +0000
commit1ab094fcaa9902d94e564cb2929f9fea92ca3ac7 (patch)
tree977d2dda02a00cb0d00f07a03429443c62ee125e /os/common/startup/ARMCMx
parent273cabb19c0f0d23bf0f0f2c80f6382525281f13 (diff)
downloadChibiOS-1ab094fcaa9902d94e564cb2929f9fea92ca3ac7.tar.gz
ChibiOS-1ab094fcaa9902d94e564cb2929f9fea92ca3ac7.tar.bz2
ChibiOS-1ab094fcaa9902d94e564cb2929f9fea92ca3ac7.zip
Fixed veneers for XMC1100
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9917 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/startup/ARMCMx')
-rw-r--r--os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S13
1 files changed, 8 insertions, 5 deletions
diff --git a/os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S b/os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S
index a039f6209..eeb634181 100644
--- a/os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S
+++ b/os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S
@@ -145,25 +145,28 @@ __reset: sub sp, #32
.align 2
.thumb_func
.global __veneers
-__veneers:
+__veneers: movs r0, #0
+ b .
+ movs r0, #1
+ b .
+ movs r0, #2
+ b .
ldr r0, =HardFault_Handler
mov pc, r0
movs r0, #4
b .
movs r0, #5
b .
- movs r0, #6
- b .
ldr r0, =UsageFault_Handler
mov pc, r0
+ movs r0, #7
+ b .
movs r0, #8
b .
movs r0, #9
b .
movs r0, #10
b .
- movs r0, #11
- b .
ldr r0, =SVC_Handler
mov pc, r0
ldr r0, =DebugMon_Handler