From d9c5fd5cfa300b32a608b10ce3d1578be8a857f9 Mon Sep 17 00:00:00 2001 From: Sprite_tm Date: Wed, 15 Apr 2015 17:30:13 +0200 Subject: [PATCH] Added blankflash: make target to flash blank.bin into esp --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 4569567..7b591ff 100644 --- a/Makefile +++ b/Makefile @@ -181,6 +181,9 @@ else $(Q) cd html; find | ../espfs/mkespfsimage/mkespfsimage > ../webpages.espfs; cd .. endif +blankflash: + $(Q) $(ESPTOOL) --port $(ESPPORT) --baud $(ESPBAUD) write_flash 0x7E000 $(SDK_BASE)/bin/blank.bin + espfs/mkespfsimage/mkespfsimage: espfs/mkespfsimage/ $(Q) $(MAKE) -C espfs/mkespfsimage USE_HEATSHRINK="$(USE_HEATSHRINK)" GZIP_COMPRESSION="$(GZIP_COMPRESSION)"