Changed flashing order
Workaround for a ESP8266 ROM bug that cuases SPI flash erase to sometimes erase an extra sector. See https://github.com/themadinventor/esptool/issues/33
This commit is contained in:
parent
c95369e86c
commit
d4873379a9
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ $(FW_FILE_1) $(FW_FILE_2): $(PROGRAM_OUT) $(FW_BASE)
|
|||
$(ESPTOOL) elf2image $< -o $(FW_BASE)
|
||||
|
||||
flash: $(FW_FILE_1) $(FW_FILE_2)
|
||||
$(ESPTOOL) -p $(ESPPORT) --baud $(ESPBAUD) write_flash $(FW_1) $(FW_FILE_1) $(FW_2) $(FW_FILE_2)
|
||||
$(ESPTOOL) -p $(ESPPORT) --baud $(ESPBAUD) write_flash $(FW_2) $(FW_FILE_2) $(FW_1) $(FW_FILE_1)
|
||||
|
||||
size: $(PROGRAM_OUT)
|
||||
$(Q) $(CROSS)size --format=sysv $(PROGRAM_OUT)
|
||||
|
|
Loading…
Reference in a new issue