|
| 1 | +{ |
| 2 | + "version": "0.2.0", |
| 3 | + "configurations": [ |
| 4 | + { |
| 5 | + "name": "ESP32 nanoCLR - OLimex OCD-H", |
| 6 | + "type": "cppdbg", |
| 7 | + "request": "launch", |
| 8 | + "MIMode": "gdb", |
| 9 | + "miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/xtensa-esp32-elf-gdb.exe", |
| 10 | + "stopAtEntry":true, |
| 11 | + "program": "<absolute-path-to-the-build-folder-mind-the-forward-slashes>/targets/FreeRTOS/ESP32_DevKitC/nanoCLR.elf", |
| 12 | + |
| 13 | + "setupCommands": [ |
| 14 | + {"text": "set logging on"}, |
| 15 | + {"text": "target extended-remote localhost:3333"}, |
| 16 | + {"text": "file <absolute-path-to-the-build-folder-mind-the-forward-slashes>/targets/FreeRTOS/ESP32_DevKitC/nanoCLR.elf"}, |
| 17 | + {"text": "monitor reset halt"}, |
| 18 | + {"text": "thb app_main"}, |
| 19 | + {"text": "x $a1=0"} |
| 20 | + ], |
| 21 | + |
| 22 | + "launchCompleteCommand": "exec-run", |
| 23 | + "debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe", |
| 24 | + "debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/share/openocd/scripts/\" -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/esp32.cfg -c \"adapter_khz 3000\" " , |
| 25 | + "serverStarted": "Info : .*Tensilica.*0x1.", |
| 26 | + "filterStderr": true, |
| 27 | + "externalConsole": true, |
| 28 | + "cwd": "${cwd}", |
| 29 | + |
| 30 | + "logging": { |
| 31 | + "trace": true, |
| 32 | + "traceResponse": true, |
| 33 | + "engineLogging": true, |
| 34 | + "programOutput": true, |
| 35 | + "exceptions": true, |
| 36 | + "moduleLoad": true |
| 37 | + } |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "ESP32 nanoCLR - Wrover", |
| 41 | + "type": "cppdbg", |
| 42 | + "request": "launch", |
| 43 | + "MIMode": "gdb", |
| 44 | + "miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/xtensa-esp32-elf-gdb.exe", |
| 45 | + "stopAtEntry":true, |
| 46 | + "program": "<absolute-path-to-the-build-folder-mind-the-forward-slashes>/targets/FreeRTOS/ESP32_DevKitC/nanoCLR.elf", |
| 47 | + |
| 48 | + "setupCommands": [ |
| 49 | + {"text": "set logging on"}, |
| 50 | + {"text": "target extended-remote localhost:3333"}, |
| 51 | + {"text": "file <absolute-path-to-the-build-folder-mind-the-forward-slashes>/targets/FreeRTOS/ESP32_DevKitC/nanoCLR.elf"}, |
| 52 | + {"text": "monitor reset halt"}, |
| 53 | + {"text": "thb app_main"}, |
| 54 | + {"text": "x $a1=0"} |
| 55 | + ], |
| 56 | + |
| 57 | + "launchCompleteCommand": "exec-run", |
| 58 | + "debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe", |
| 59 | + "debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/share/openocd/scripts/\" -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg -c \"adapter_khz 2000\" " , |
| 60 | + "serverStarted": "Info : .*Tensilica.*0x1.", |
| 61 | + "filterStderr": true, |
| 62 | + "externalConsole": true, |
| 63 | + "cwd": "${cwd}", |
| 64 | + |
| 65 | + "logging": { |
| 66 | + "trace": true, |
| 67 | + "traceResponse": true, |
| 68 | + "engineLogging": true, |
| 69 | + "programOutput": true, |
| 70 | + "exceptions": true, |
| 71 | + "moduleLoad": true |
| 72 | + } |
| 73 | + } |
| 74 | + |
| 75 | + ] |
| 76 | +} |
0 commit comments