Merge pull request #1680 from cesanta/esp8266

Expanded Makefile
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2022-08-20 00:27:09 +01:00
commit 060f43839d
1 file changed
+18
+18
View File
@@ -20,6 +20,24 @@ flash: CMD = python /esp/components/esptool_py/esptool/esptool.py \
flash: DA = --device $(PORT)
flash: build
buildall:
buildall: CMD = make -C src all
buildall: build
flashall:
flashall: CMD = python /esp/components/esptool_py/esptool/esptool.py \
--chip esp8266 --port $(PORT) --baud 115200 --before default_reset \
--after hard_reset write_flash -z --flash_mode dio --flash_freq 40m \
--flash_size 2MB 0x0 $(THISDIR)/src/build/bootloader/bootloader.bin \
0x10000 $(THISDIR)/src/build/mongoose-example.bin \
0x8000 $(THISDIR)/src/build/partitions_singleapp.bin
flashall: DA = --device $(PORT)
flashall: build
monitor:
monitor: CMD = /esp/tools/idf_monitor.py --port $(PORT) $(THISDIR)/src/build/mongoose-example.elf
monitor: build
.PHONY: build
clean: