mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
platformio.ini OTA cleaned OTA(moved to ota target
This commit is contained in:
12
extra_script.py
Normal file
12
extra_script.py
Normal file
@@ -0,0 +1,12 @@
|
||||
Import("env")
|
||||
script = env.GetProjectOption("_upload_command")
|
||||
|
||||
#env.Replace(
|
||||
# UPLOADER="executable or path to executable",
|
||||
# UPLOADCMD=script
|
||||
#)
|
||||
env.AddCustomTarget(
|
||||
"ota",
|
||||
"$BUILD_DIR/${PROGNAME}.bin",
|
||||
script
|
||||
)
|
||||
Reference in New Issue
Block a user