summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven <steven.vasilogianis@gmail.com>2021-09-30 16:22:33 -0400
committerSteven <steven.vasilogianis@gmail.com>2021-09-30 16:22:33 -0400
commitb931713a134dc10a81a5a93f0139daa306535bea (patch)
tree0adb03893aea5e115ffd4d52e9dd9dadb49a1f6b
parent4d2c1e3093706bb59f08304fa3b96b7e650bec99 (diff)
Rename iot name just mush
-rw-r--r--src/main/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Makefile b/src/main/Makefile
index 8b136e6..5da579d 100644
--- a/src/main/Makefile
+++ b/src/main/Makefile
@@ -69,7 +69,7 @@ MAKE_DIR := $(PWD)
69# 69#
70# ----- setup wor Wemos D1 mini ----- 70# ----- setup wor Wemos D1 mini -----
71FQBN ?= esp8266:esp8266:espmxdevkit 71FQBN ?= esp8266:esp8266:espmxdevkit
72IOT_NAME ?= esp8266-mush 72IOT_NAME ?= mush
73OTA_PORT ?= 8266 73OTA_PORT ?= 8266
74OTA_PASS ?= 74OTA_PASS ?=
75# ----- setup for Arduino Uno 75# ----- setup for Arduino Uno
@@ -136,7 +136,7 @@ upload:
136 136
137PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.platform.path' | awk -F= '{print $$2}' 137PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.platform.path' | awk -F= '{print $$2}'
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 esp8266-mush.local | (read ip _; echo $$ip) 139IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip)
140 140
141ota: 141ota:
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)"