Skip to content

Commit

Permalink
Fix firmware flash. (#2381)
Browse files Browse the repository at this point in the history
Use the computed "chip".
  • Loading branch information
floitsch authored Jun 3, 2024
1 parent 0d8b372 commit 08540e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/firmware.toit
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ flash parsed/cli.Parsed -> none:
code := pipe.run-program esptool + [
"--port", port,
"--baud", "$baud",
"--chip", parsed["chip"],
"--chip", chip,
"--before", flashing["extra_esptool_args"]["before"],
"--after", flashing["extra_esptool_args"]["after"]
] + [ "write_flash" ] + flashing["write_flash_args"] + partition-args
Expand Down

0 comments on commit 08540e7

Please sign in to comment.