esp8266: Force relinking OTA firmware image if built after normal one.

This commit is contained in:
Paul Sokolovsky 2016-12-20 23:23:45 +03:00
parent c1e94b77a4
commit 9af73bda33
1 changed files with 1 additions and 0 deletions

View File

@ -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