Skip to content

Commit 9af73bd

Browse files
committed
esp8266: Force relinking OTA firmware image if built after normal one.
1 parent c1e94b7 commit 9af73bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

esp8266/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ $(BUILD)/firmware.elf: $(OBJ)
201201
$(MAKE) LDSCRIPT=esp8266_512k.ld CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_512k.h>"' MICROPY_FATFS=0 MICROPY_PY_BTREE=0
202202

203203
ota:
204+
rm -f $(BUILD)/firmware.elf $(BUILD)/firmware.elf*.bin
204205
$(MAKE) LDSCRIPT=esp8266_ota.ld
205206

206207
#MAKE_PINS = boards/make-pins.py

0 commit comments

Comments
 (0)