Skip to content

Commit 919b70b

Browse files
committed
esp8266: Switch back to flashing combined firmware (single file).
With gap between segments minimized, there's not much padding to flash, so no big speed overhead.
1 parent 8d2bcaf commit 919b70b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp8266/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ $(BUILD)/frozen.c: $(wildcard $(SCRIPTDIR)/*) $(CONFVARS_FILE)
149149

150150
deploy: $(BUILD)/firmware-combined.bin
151151
$(ECHO) "Writing $< to the board"
152-
#$(Q)esptool.py --port $(PORT) write_flash 0 $<
153-
$(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $(BUILD)/firmware.elf-0x00000.bin 0x9000 $(BUILD)/firmware.elf-0x0[1-f]000.bin
152+
$(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $<
153+
#$(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $(BUILD)/firmware.elf-0x00000.bin 0x9000 $(BUILD)/firmware.elf-0x0[1-f]000.bin
154154

155155
reset:
156156
echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)

0 commit comments

Comments
 (0)