Skip to content

Commit 981c171

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 c0986d9 commit 981c171

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
@@ -29738,6 +29738,7 @@ nano_nora.tools.esptool_py.program.pattern_args=--chip {build.mcu} --port "{seri
2973829738
nano_nora.tools.esptool_py.erase.pattern_args=--chip {build.mcu} --port "{serial.port}" --before default_reset --after hard_reset erase_flash
2973929739

2974029740
nano_nora.programmer.default=esptool
29741+
nano_nora.debug.executable=
2974129742

2974229743
nano_nora.menu.PartitionScheme.default=With FAT partition (default)
2974329744
nano_nora.menu.PartitionScheme.spiffs=With SPIFFS partition (advanced)
@@ -29750,5 +29751,6 @@ nano_nora.menu.PinNumbers.byGPIONumber.build.disable_pin_remap=-DBOARD_USES_HW_G
2975029751
nano_nora.menu.USBMode.default=Normal mode (TinyUSB)
2975129752
nano_nora.menu.USBMode.hwcdc=Debug mode (Hardware CDC)
2975229753
nano_nora.menu.USBMode.hwcdc.build.usb_mode=1
29754+
nano_nora.menu.USBMode.hwcdc.debug.executable={build.path}/{build.project_name}.elf
2975329755

2975429756
##############################################################

0 commit comments

Comments
 (0)