Merge pull request #1650 from cesanta/esp32-uart

Fix Makefile
This commit is contained in:
Sergey Lyubka 2022-07-30 07:57:37 +01:00 committed by GitHub
commit 43d53b0616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,8 @@ flash: CMD = flash
flash: DA = --device $(PORT)
flash: build
.PHONY: flash
bridge.hex: build
esputil mkhex \
0x8000 build/partition_table/partition-table.bin \
@ -23,8 +25,8 @@ bridge.hex: build
0x100000 build/mongoose-esp32-example.bin > $@
flash2: bridge.hex
esputil -b 921600 -fp 0x220 flash bridge.hex
esputil monitor
esputil -p $(PORT) -b 921600 -fp 0x220 flash bridge.hex
esputil -p $(PORT) monitor
clean:
rm -rf build