Skip to content

Commit

Permalink
nano_nora: enable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
pillo79 committed Aug 16, 2023
1 parent 4849357 commit 631ef96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

##############################################################
7 changes: 4 additions & 3 deletions tools/ide-debug/esp32s3.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}

0 comments on commit 631ef96

Please sign in to comment.