Skip to content

Commit 051b212

Browse files
committed
nano_nora: conditionally enable debug button
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 have a conditional enable of the Debug button.
1 parent 3db75e7 commit 051b212

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boards.txt

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

2975729757
nano_nora.programmer.default=esptool
29758+
nano_nora.debug.executable=
2975829759

2975929760
nano_nora.menu.PartitionScheme.default=With FAT partition (default)
2976029761
nano_nora.menu.PartitionScheme.spiffs=With SPIFFS partition (advanced)
@@ -29767,5 +29768,6 @@ nano_nora.menu.PinNumbers.byGPIONumber.build.disable_pin_remap=-DBOARD_USES_HW_G
2976729768
nano_nora.menu.USBMode.default=Normal mode (TinyUSB)
2976829769
nano_nora.menu.USBMode.hwcdc=Debug mode (Hardware CDC)
2976929770
nano_nora.menu.USBMode.hwcdc.build.usb_mode=1
29771+
nano_nora.menu.USBMode.hwcdc.debug.executable={build.path}/{build.project_name}.elf
2977029772

2977129773
##############################################################

0 commit comments

Comments
 (0)