From c37d4f768bb15f436794c6a719885f38b5f9506b Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Fri, 29 Jul 2022 11:34:41 -0300 Subject: [PATCH] Fix Makefile --- examples/esp32/uart-bridge/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/esp32/uart-bridge/Makefile b/examples/esp32/uart-bridge/Makefile index d126c4d4..933df536 100644 --- a/examples/esp32/uart-bridge/Makefile +++ b/examples/esp32/uart-bridge/Makefile @@ -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