configured vscode for microsoft c/c++ extension.

This commit is contained in:
Ulysse Cura 2026-09-20 22:29:32 +02:00
parent 96490c28ce
commit 6c1187d677
4 changed files with 27 additions and 4 deletions

1
.ccls
View File

@ -1 +0,0 @@
gcc-arm-none-eabi

25
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,25 @@
{
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "linux-gcc-arm",
"includePath": [
"${env:PICO_SDK_PATH}/src/**/include/",
"${env:PICO_SDK_PATH}/lib/**/include/",
"${env:PICO_SDK_PATH}/lib/**/src/",
"${workspaceFolder}/build/generated/pico_base/",
"${workspaceFolder}/src/"
],
"compilerPath": "/usr/bin/arm-none-eabi-gcc",
"cStandard": "c17",
"browse": {
"path": [
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}

4
.vscode/tasks.json vendored
View File

@ -5,7 +5,7 @@
"label": "Build", "label": "Build",
"detail": "Build project", "detail": "Build project",
"type": "shell", "type": "shell",
"command": "cmake -H. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=YES && make -j$(nproc) -C build", "command": "cmake -H. -Bbuild && make -j$(nproc) -C build",
"args": [ "args": [
], ],
"group": "build", "group": "build",
@ -40,7 +40,7 @@
"detail": "Flash executable", "detail": "Flash executable",
"type": "shell", "type": "shell",
"dependsOn": "Build", "dependsOn": "Build",
"command": "cd build && make Flash", "command": "make Flash -C build",
"args": [ "args": [
], ],
"group": "build", "group": "build",

View File

@ -1 +0,0 @@
build/compile_commands.json