diff options
author | Steven <steven.vasilogianis@gmail.com> | 2021-09-30 16:22:33 -0400 |
---|---|---|
committer | Steven <steven.vasilogianis@gmail.com> | 2021-09-30 16:22:33 -0400 |
commit | b931713a134dc10a81a5a93f0139daa306535bea (patch) | |
tree | 0adb03893aea5e115ffd4d52e9dd9dadb49a1f6b /src/main | |
parent | 4d2c1e3093706bb59f08304fa3b96b7e650bec99 (diff) |
Rename iot name just mush
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/Makefile | 4 |
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 ----- |
71 | FQBN ?= esp8266:esp8266:espmxdevkit | 71 | FQBN ?= esp8266:esp8266:espmxdevkit |
72 | IOT_NAME ?= esp8266-mush | 72 | IOT_NAME ?= mush |
73 | OTA_PORT ?= 8266 | 73 | OTA_PORT ?= 8266 |
74 | OTA_PASS ?= | 74 | OTA_PASS ?= |
75 | # ----- setup for Arduino Uno | 75 | # ----- setup for Arduino Uno |
@@ -136,7 +136,7 @@ upload: | |||
136 | 136 | ||
137 | PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.platform.path' | awk -F= '{print $$2}' | 137 | PLAT_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.platform.path' | awk -F= '{print $$2}' |
138 | PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' | 138 | PY_PATH != arduino-cli compile -b "$(FQBN)" --show-properties | grep '^runtime.tools.python3.path' | awk -F= '{print $$2}' |
139 | IOT_IP != getent ahostsv4 esp8266-mush.local | (read ip _; echo $$ip) | 139 | IOT_IP != getent ahostsv4 mush.local | (read ip _; echo $$ip) |
140 | 140 | ||
141 | ota: | 141 | ota: |
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)" |