Refactor PLATFORM and FRAMEWORK build variables with PIO prefix

This commit is contained in:
Ivan Kravets 2016-07-17 16:08:03 +03:00
parent 8d9c7ace83
commit 85519bff8a
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3e0f895e23051391789ef7aff389343a01be8119
Subproject commit f800c9f7c84ed8c703661ba5c25c867673ab499c

View File

@ -164,7 +164,7 @@ AlwaysBuild(target_size)
# Target: Upload by default .bin file
#
if "mbed" in env.subst("$FRAMEWORK") and not env.subst("$UPLOAD_PROTOCOL"):
if "mbed" in env.subst("$PIOFRAMEWORK") and not env.subst("$UPLOAD_PROTOCOL"):
upload = env.Alias(["upload", "uploadlazy"], target_firm, env.UploadToDisk)
else:
upload = env.Alias(["upload", "uploadlazy"], target_firm, "$UPLOADCMD")