Skip to content

Commit 447462c

Browse files
committed
feat(debug): conditionally enable debug button on Nano ESP32
If the `debug.executable` variable is null or unset, the Debug button appears grayed out. The new IDE also takes current parameters into account, allowing to conditionally enable the Debug button only when some conditions are met.
1 parent ac44685 commit 447462c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: boards.txt

+2
Original file line numberDiff line numberDiff line change
@@ -26049,6 +26049,7 @@ nano_nora.tools.esptool_py.program.pattern_args=--chip {build.mcu} --port "{seri
2604926049
nano_nora.tools.esptool_py.erase.pattern_args=--chip {build.mcu} --port "{serial.port}" --before default_reset --after hard_reset erase_flash
2605026050

2605126051
nano_nora.programmer.default=esptool
26052+
nano_nora.debug.executable=
2605226053

2605326054
nano_nora.menu.PartitionScheme.default=With FAT partition (default)
2605426055
nano_nora.menu.PartitionScheme.spiffs=With SPIFFS partition (advanced)
@@ -26061,6 +26062,7 @@ nano_nora.menu.PinNumbers.byGPIONumber.build.disable_pin_remap=-DBOARD_USES_HW_G
2606126062
nano_nora.menu.USBMode.default=Normal mode (TinyUSB)
2606226063
nano_nora.menu.USBMode.hwcdc=Debug mode (Hardware CDC)
2606326064
nano_nora.menu.USBMode.hwcdc.build.usb_mode=1
26065+
nano_nora.menu.USBMode.hwcdc.debug.executable={build.path}/{build.project_name}.elf
2606426066

2606526067
##############################################################
2606626068

0 commit comments

Comments
 (0)