Browse Source

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

pull/2711/head
Paul Sokolovsky 8 years ago
parent
commit
9af73bda33
  1. 1
      esp8266/Makefile

1
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 $(MAKE) LDSCRIPT=esp8266_512k.ld CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_512k.h>"' MICROPY_FATFS=0 MICROPY_PY_BTREE=0
ota: ota:
rm -f $(BUILD)/firmware.elf $(BUILD)/firmware.elf*.bin
$(MAKE) LDSCRIPT=esp8266_ota.ld $(MAKE) LDSCRIPT=esp8266_ota.ld
#MAKE_PINS = boards/make-pins.py #MAKE_PINS = boards/make-pins.py

Loading…
Cancel
Save