We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6194a commit b01a373Copy full SHA for b01a373
esp8266/Makefile
@@ -148,7 +148,7 @@ $(BUILD)/frozen.c: $(wildcard $(SCRIPTDIR)/*) $(CONFVARS_FILE)
148
deploy: $(BUILD)/firmware-combined.bin
149
$(ECHO) "Writing $< to the board"
150
#$(Q)esptool.py --port $(PORT) write_flash 0 $<
151
- $(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash 0 $(BUILD)/firmware.elf-0x00000.bin 0x10000 $(BUILD)/firmware.elf-0x10000.bin
+ $(Q)esptool.py --port $(PORT) --baud $(BAUD) write_flash --flash_size=8m 0 $(BUILD)/firmware.elf-0x00000.bin 0x10000 $(BUILD)/firmware.elf-0x10000.bin
152
153
reset:
154
echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)
0 commit comments