summaryrefslogtreecommitdiff
path: root/platforms/cortex-m.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/cortex-m.yaml')
-rw-r--r--platforms/cortex-m.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/platforms/cortex-m.yaml b/platforms/cortex-m.yaml
index d1612b2..c0aa8bd 100644
--- a/platforms/cortex-m.yaml
+++ b/platforms/cortex-m.yaml
@@ -1,6 +1,18 @@
- match:
cpu: cortex-m4f
+ interrupt_controller: nvic
+
+ exception:
+ 2: NMI
+ 3: HardFault
+ 4: MemManage
+ 5: BusFault
+ 6: UsageFault
+ 11: SVCall
+ 14: PendSV
+ 15: SysTick
+
cflags:
- -mcpu=cortex-m4
- -mfloat-abi=hard