From 919b70b7ecd2e18a04d6174f5eaab22fae9d433c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 3 Apr 2016 15:48:46 +0300 Subject: [PATCH] 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. --- esp8266/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp8266/Makefile b/esp8266/Makefile index 6790d5f744..156b8304a1 100644 --- a/esp8266/Makefile +++ b/esp8266/Makefile @@ -149,8 +149,8 @@ $(BUILD)/frozen.c: $(wildcard $(SCRIPTDIR)/*) $(CONFVARS_FILE) deploy: $(BUILD)/firmware-combined.bin $(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 $(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 $< + #$(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: echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)