From 130a0bc6d187beb7eaad273907402dad1933e1ea Mon Sep 17 00:00:00 2001 From: Petr Malanik Date: Mon, 6 Mar 2023 15:28:13 +0100 Subject: [PATCH] Sun_sensor: add debug config for vscode for Sun sensor module firmware --- modules/Sun_sensor/fw/.vscode/launch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/Sun_sensor/fw/.vscode/launch.json diff --git a/modules/Sun_sensor/fw/.vscode/launch.json b/modules/Sun_sensor/fw/.vscode/launch.json new file mode 100644 index 0000000..c10486b --- /dev/null +++ b/modules/Sun_sensor/fw/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "version": "0.2.0", + "configurations": [ + + { + "type": "cortex-debug", + "request": "launch", + "servertype": "openocd", + "cwd": "${workspaceRoot}", + "executable": "${workspaceRoot}/build/Sun_sensor.elf", + "name": "GDB + OpenOCD", + "device": "STM32L432", + "configFiles": [ + "interface/stlink.cfg", + "target/stm32l4x.cfg" + ] + } + ] +}