From 631ef96ade3351a359c6de3228d1d19ada06dbdb Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Wed, 16 Aug 2023 12:37:31 +0200 Subject: [PATCH] nano_nora: enable debugging --- boards.txt | 6 ++++++ tools/ide-debug/esp32s3.json | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/boards.txt b/boards.txt index e37c4d4a344..54b03b1d01e 100644 --- a/boards.txt +++ b/boards.txt @@ -24168,4 +24168,10 @@ nano_nora.menu.PinNumbers.default=By "D" number (default) nano_nora.menu.PinNumbers.byGPIONumber=By GPIO number (ESP-compatible) nano_nora.menu.PinNumbers.byGPIONumber.build.disable_pin_remap=-DBOARD_USES_HW_GPIO_NUMBERS +nano_nora.menu.USBMode.default=Normal mode (TinyUSB) +nano_nora.menu.USBMode.hwcdc=Debug mode (Hardware CDC) +nano_nora.menu.USBMode.hwcdc.build.usb_mode=1 +nano_nora.menu.USBMode.hwcdc.build.copy_jtag_files=1 +nano_nora.menu.USBMode.hwcdc.build.openocdscript=esp32s3-builtin.cfg + ############################################################## diff --git a/tools/ide-debug/esp32s3.json b/tools/ide-debug/esp32s3.json index 9f44e603f4c..559d2878cbe 100644 --- a/tools/ide-debug/esp32s3.json +++ b/tools/ide-debug/esp32s3.json @@ -8,10 +8,11 @@ "monitor reset halt", "monitor gdb_sync", "thb setup", - "c" + "interrupt" ], "overrideRestartCommands":[ "monitor reset halt", - "monitor gdb_sync" + "monitor gdb_sync", + "interrupt" ] -} \ No newline at end of file +}