From: arighi Date: Fri, 30 Apr 2010 10:39:46 +0000 (+0000) Subject: CM3: shrink the initial IRQ table even more. X-Git-Tag: 2.5.0~330 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d9969afc78cdc5225514d468e57b83a05ac2dc97;p=bertos.git 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 --- 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