mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
noSerial option, DHT fix, 8266 slim to fit Sonoff
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import os
|
||||
Import("env")
|
||||
script = env.GetProjectOption("_upload_command")
|
||||
|
||||
script = env.GetProjectOption("_upload_command")
|
||||
spath = os.path.abspath(script)
|
||||
#env.Replace(
|
||||
# UPLOADER="executable or path to executable",
|
||||
# UPLOADCMD=script
|
||||
@@ -8,5 +10,4 @@ script = env.GetProjectOption("_upload_command")
|
||||
env.AddCustomTarget(
|
||||
"ota",
|
||||
"$BUILD_DIR/${PROGNAME}.bin",
|
||||
script
|
||||
)
|
||||
spath)
|
||||
|
||||
Reference in New Issue
Block a user