diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..011374f --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "includePath": [ + "${workspaceFolder}/**", + "${ZEPHYR_BASE}/include/**", + "${ZEPHYR_BASE}/kernel/include/**", + "${workspaceFolder}/build/zephyr/include/generated/**" + ], + //"compilerPath": "~/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc", + "cStandard": "c11", + "cppStandard": "c++17", + "compileCommands": "${workspaceFolder}/build/compile_commands.json", + "intelliSenseMode": "gcc-arm" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..0ae8e82 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,27 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Zephyr west debugserver", + "type": "cortex-debug", + "request": "attach", + "servertype": "external", + "cwd": "${workspaceFolder}", + + "executable": "${workspaceFolder}/build/zephyr/zephyr.elf", + "gdbTarget": "localhost:3333", + + "svdFile": "${env:ZEPHYR_BASE}/../modules/hal/nordic/nrfx/bsp/stable/mdk/nrf54l15_application.svd", + "rtos": "Zephyr", + + "overrideAttachCommands": [ + "monitor reset halt", + ], + + "postAttachCommands": [ + //"tbreak main", + "continue" + ], + } + ] +} \ No newline at end of file