diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b4570ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Build directory +build/ \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..02238ff --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "compilerPath": "/bin/arm-none-eabi-gcc", + "cStandard": "gnu17", + "cppStandard": "gnu++17", + "intelliSenseMode": "linux-gcc-x64", + "configurationProvider": "ms-vscode.cmake-tools" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2e0f113 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Test", + "device": "RP2040", + "gdbPath": "gdb-multiarch", + "cwd": "${workspaceRoot}", + "executable": "${workspaceRoot}/build/test.elf", + "request": "launch", + "type": "cortex-debug", + "servertype": "openocd", + "configFiles": [ + "interface/cmsis-dap.cfg", + "target/rp2040-core0.cfg" + ], + "openOCDLaunchCommands": [ + "transport select swd", + "adapter speed 4000" + ], + "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd", + "runToEntryPoint": "main", + "postRestartCommands": [ + "break main", + "continue" + ] + } + ] +} \ No newline at end of file