diff --git a/.gitignore b/.gitignore index 474dff0..67b8ef7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode/* bin/* -!.vscode/arduino.json \ No newline at end of file +!.vscode/arduino.json +!.vscode/launch.json \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d4b3099 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "cwd": "${workspaceFolder}", + "executable": "${workspaceFolder}/bin/${workspaceFolderBasename}.ino.elf", + "name": "Debug with ST-Link", + "request": "launch", + "type": "cortex-debug", + "runToEntryPoint": "main", + "showDevDebugOutput": "raw", + "servertype": "stlink", + "armToolchainPath": "C://Program Files (x86)//Arm GNU Toolchain arm-none-eabi//13.2 Rel1//bin" + } + ] + } \ No newline at end of file