From 1ab094fcaa9902d94e564cb2929f9fea92ca3ac7 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 19 Nov 2016 11:08:46 +0000 Subject: Fixed veneers for XMC1100 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9917 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/ARMCMx/devices/XMC1100/veneers_gcc.S | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'os/common/startup/ARMCMx/devices/XMC1100') 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 -- cgit v1.2.3