mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Fix Makefile
This commit is contained in:
parent
a4b003b7ac
commit
c37d4f768b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user