-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
57 lines (57 loc) · 1.35 KB
/
CMakePresets.json
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
49
50
51
52
53
54
55
56
57
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "Linux",
"displayName": "Linux desktop",
"description": "Desktop builds, including tests."
},
{
"name": "OpenCM3",
"displayName": "OpenCM3 generic",
"description": "Parent target for unspecified STM32 board.",
"toolchainFile": "target/opencm3/opencm3_stm32.toolchain"
},
{
"name": "Bluepill",
"displayName": "STM32F4 Bluepill",
"description": "Cross compile for the F4 bluepill board.",
"inherits": "OpenCM3",
"cacheVariables": {
"CMAKE_BOARD": {
"type": "STRING",
"value": "stm32f4_bluepill"
}
}
},
{
"name": "Nucleo",
"displayName": "STM32F4 Nucleo",
"description": "Cross compile for the F4 nucleo board.",
"inherits": "OpenCM3",
"cacheVariables": {
"CMAKE_BOARD": {
"type": "STRING",
"value": "stm32f4_nucleo"
}
}
},
{
"name": "Disco",
"displayName": "STM32F4 Discovery",
"description": "Cross compile for the F4 discovery board",
"inherits": "OpenCM3",
"cacheVariables": {
"CMAKE_BOARD": {
"type": "STRING",
"value": "stm32f4_disco"
}
}
}
]
}