From d9969afc78cdc5225514d468e57b83a05ac2dc97 Mon Sep 17 00:00:00 2001 From: arighi Date: Fri, 30 Apr 2010 10:39:46 +0000 Subject: [PATCH] CM3: shrink the initial IRQ table even more. Only the the NMI and hard fault handlers are actually required at this stage, so we can trim the IRQ table to reduce the memory footprint and save some space in the flash memory. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3578 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/hw/vectors_cm3.S | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/bertos/cpu/cortex-m3/hw/vectors_cm3.S b/bertos/cpu/cortex-m3/hw/vectors_cm3.S index ec81c1a0..dfd464a6 100644 --- a/bertos/cpu/cortex-m3/hw/vectors_cm3.S +++ b/bertos/cpu/cortex-m3/hw/vectors_cm3.S @@ -50,19 +50,7 @@ irq_vectors: .word __msp_end /* Initial stack pointer */ .word __init /* The reset handler */ .word default_isr /* The NMI handler */ - .word default_isr /* The hard fault handler */ - .word default_isr /* The MPU fault handler */ - .word default_isr /* The bus fault handler */ - .word default_isr /* The usage fault handler */ - .word 0 /* Reserved */ - .word 0 /* Reserved */ - .word 0 /* Reserved */ - .word 0 /* Reserved */ - .word default_isr /* SVCall handler */ - .word default_isr /* Debug monitor handler */ - .word 0 /* Reserved */ - .word default_isr /* The PendSV handler */ - .word default_isr /* The SysTick handler */ + .word default_isr /* The hard fault handler */ /* * This IRQ vector table will be replaced by another one in RAM after the IRQ * module initialization and the reset handler disables IRQ at the very -- 2.25.1