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.
This commit is contained in:
parent
8d2bcaf3cd
commit
919b70b7ec
@ -149,8 +149,8 @@ $(BUILD)/frozen.c: $(wildcard $(SCRIPTDIR)/*) $(CONFVARS_FILE)
|
|||||||
|
|
||||||
deploy: $(BUILD)/firmware-combined.bin
|
deploy: $(BUILD)/firmware-combined.bin
|
||||||
$(ECHO) "Writing $< to the board"
|
$(ECHO) "Writing $< to the board"
|
||||||
#$(Q)esptool.py --port $(PORT) write_flash 0 $<
|
$(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $<
|
||||||
$(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
|
#$(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
|
||||||
|
|
||||||
reset:
|
reset:
|
||||||
echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)
|
echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)
|
||||||
|
Loading…
Reference in New Issue
Block a user