forked from micro-ROS/micro_ros_raspberrypi_pico_sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
49 lines (49 loc) · 1.48 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "Pico Linux",
"displayName": "Pico Linux",
"description": "Pico SDK Toolchain",
"hidden": false,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"PICO_BOARD": "pico_w",
"PICO_PLATFORM": "rp2040",
"PICO_SDK_PATH": "$env{PICO_SDK_PATH}"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-arm"
}
},
"environment": {
"PICO_SDK_PATH": "/home/catweasel/pico/pico-sdk",
"PICO_EXAMPLES_PATH": "/home/catweasel/pico/pico-examples"
},
"toolchainFile": "${env:PICO_SDK_PATH}/cmake/preload/toolchains/pico_arm_cortex_m0plus_gcc.cmake",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
}
],
"buildPresets": [
{
"name": "micros_test",
"displayName": "microros test",
"configurePreset": "Pico Linux",
"targets": [
"pico_micro_ros_udp_example"
]
}
]
}