summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-03 15:48:46 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-03 15:48:46 +0300
commit919b70b7ecd2e18a04d6174f5eaab22fae9d433c (patch)
treebb2899ebb3297082c9828cd107357468c4a69aad /esp8266
parent8d2bcaf3cdf5f908dd44bf822b65d807c8215bcc (diff)
downloadmicropython-919b70b7ecd2e18a04d6174f5eaab22fae9d433c.tar.gz
micropython-919b70b7ecd2e18a04d6174f5eaab22fae9d433c.zip
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.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/Makefile4
1 files 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)