summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-20 23:23:45 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-20 23:23:45 +0300
commit9af73bda33530d4543d81e70be5be34ea398b727 (patch)
tree3e0bf3aed9d757415d7cea420426d0d5175d7c64
parentc1e94b77a4b869b1198176910227d21e87d46664 (diff)
downloadmicropython-9af73bda33530d4543d81e70be5be34ea398b727.tar.gz
micropython-9af73bda33530d4543d81e70be5be34ea398b727.zip
esp8266: Force relinking OTA firmware image if built after normal one.
-rw-r--r--esp8266/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 117ab53f9e..415cf58949 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -201,6 +201,7 @@ $(BUILD)/firmware.elf: $(OBJ)
$(MAKE) LDSCRIPT=esp8266_512k.ld CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_512k.h>"' MICROPY_FATFS=0 MICROPY_PY_BTREE=0
ota:
+ rm -f $(BUILD)/firmware.elf $(BUILD)/firmware.elf*.bin
$(MAKE) LDSCRIPT=esp8266_ota.ld
#MAKE_PINS = boards/make-pins.py