Skip to content

Commit

Permalink
fix: remove "programmer.default" from Nano ESP32 (#9665)
Browse files Browse the repository at this point in the history
Setting programmer.default has unfortunately multiple effects:
- sets the tick by default in the Tool menu in the IDE (which was the
  expected behavior),
- forces the CLI to use the specified programmer every time an upload is
  attempted (which is confusing users).

For this reason, it is better to remove the "programmer.default" setting
from the board definition and let the user choose the programmer in the
IDE menus, as it was before.
  • Loading branch information
pillo79 committed May 22, 2024
1 parent f364155 commit 5e19e08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26048,7 +26048,6 @@ nano_nora.debug.additional_config=debug_config.nano_nora
nano_nora.tools.esptool_py.program.pattern_args=--chip {build.mcu} --port "{serial.port}" --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} {build.bootloader_addr} "{build.path}/{build.project_name}.bootloader.bin" 0x8000 "{build.path}/{build.project_name}.partitions.bin" 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0xf70000 "{build.variant.path}/extra/nora_recovery/nora_recovery.ino.bin" 0x10000 "{build.path}/{build.project_name}.bin"
nano_nora.tools.esptool_py.erase.pattern_args=--chip {build.mcu} --port "{serial.port}" --before default_reset --after hard_reset erase_flash

nano_nora.programmer.default=esptool
nano_nora.debug.executable=

nano_nora.menu.PartitionScheme.default=With FAT partition (default)
Expand Down

0 comments on commit 5e19e08

Please sign in to comment.