summaryrefslogtreecommitdiff
path: root/src/main/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Makefile')
-rw-r--r--src/main/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Makefile b/src/main/Makefile
index 023ef7b..d27d024 100644
--- a/src/main/Makefile
+++ b/src/main/Makefile
@@ -118,7 +118,7 @@ all: $(ELF)
118compile: $(ELF) 118compile: $(ELF)
119.PHONY: compile 119.PHONY: compile
120 120
121$(ELF): $(SRC) $(HDRS) 121$(BIN) $(ELF): $(SRC) $(HDRS)
122 arduino-cli compile -b $(FQBN) $(VFLAG) 122 arduino-cli compile -b $(FQBN) $(VFLAG)
123 @if which arduino-manifest.pl; \ 123 @if which arduino-manifest.pl; \
124 then echo "---> Generating manifest.txt"; \ 124 then echo "---> Generating manifest.txt"; \
@@ -138,7 +138,7 @@ PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime
138PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' 138PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}'
139IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip) 139IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip)
140 140
141ota: 141ota: $(BIN)
142 "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(IOT_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" 142 "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(IOT_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)"
143 143
144clean: 144clean: