Skip to content

Commit bac812c

Browse files
[TMP] added esptool in nano nora board definition
1 parent eb098da commit bac812c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boards.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,10 +617,13 @@ nano_nora.build.architecture=esp32s3
617617
# TODO unrecognized command-line option
618618
# nano_nora.build.float-abi=-mfloat-abi=hard
619619
nano_nora.build.extra_flags=
620+
nano_nora.build.extra_ldflags=
620621
nano_nora.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" exit
621622
nano_nora.build.architecture=esp32s3
622623
nano_nora.build.board=nano_nora
623624

625+
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"
626+
nano_nora.tools.esptool_py.erase.pattern_args=--chip {build.mcu} --port "{serial.port}" --before default_reset --after hard_reset erase_flash
624627

625628
nano_nora.vid.0=0x2341
626629
nano_nora.pid.0=0x0070

0 commit comments

Comments
 (0)