blob: 91072c7c66b1e5b8ca8cce899888b5c9c5651d85 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# All cortex-m
- match:
cpu: !re cortex-m
periph:
nvic:
NVIC:
offset: 0xe000e100
interrupt:
exception:
2: NMI
3: HardFault
4: MemManage
5: BusFault
6: UsageFault
11: SVCall
14: PendSV
15: SysTick
toolchains:
- arm-none-eabi
# cortex-m4
- match:
cpu: !re cortex-m4
cflags:
- -mcpu=cortex-m4
# cortex-m7
- match:
cpu: !re cortex-m7
cflags:
- -mcpu=cortex-m7
# FPU
- match:
cpu: !re cortex-m.f
cflags:
- -mfloat-abi=hard
- -mfpu=fpv4-sp-d16
define:
- HAS_FPU
|