platformio.ini OTA cleaned OTA(moved to ota target

This commit is contained in:
2021-12-26 14:34:33 +03:00
parent 12fe7ea71e
commit 2779c9f7d5
11 changed files with 80 additions and 28 deletions

12
extra_script.py Normal file
View 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
)