-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkspace.code-workspace
81 lines (81 loc) · 1.74 KB
/
workspace.code-workspace
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"folders": [
{
"path": "."
}
],
"launch": {
"configurations": [
{
// Version 15.04.2021
"name": "Debug (OpenOCD)",
"cwd": "${workspaceRoot}",
"executable": "./build/${workspaceFolderBasename}.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"device": "RP2040",
"runToEntryPoint": "main",
"interface": "swd",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"preLaunchTask": "Compile",
"configFiles": [
"interface/picoprobe.cfg",
"target/rp2040.cfg"
]
}
],
"compounds": []
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Upload to Pico",
"detail": "Build and install picotool from source to upload code to your pico via BOOTSEL.",
"type": "shell",
"command": "picotool load 'build/${workspaceFolderBasename}.uf2' && picotool reboot",
"args": [],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Compile",
"detail": "Compile the current code.",
"type": "shell",
"command": "cd build && make -j4",
"args": [],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
},
"settings": {
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"window.autoDetectColorScheme": true,
"cmake.statusbar.advanced": {
"debug": {
"visibility": "hidden"
},
"launch": {
"visibility": "hidden"
},
"build": {
"visibility": "default"
},
"buildTarget": {
"visibility": "hidden"
}
},
"cmake.configureOnOpen": true,
"cmake.buildBeforeRun": true,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
}
}