summaryrefslogtreecommitdiff
path: root/platforms/cortex-m.yaml
blob: c0aa8bd6475183908268552ba8cc217f2dc142f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- 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
    - -mfpu=fpv4-sp-d16
  
  define:
    - HAS_FPU
  
  toolchains:
    - arm-none-eabi