Refactor PLATFORM and FRAMEWORK build variables with PIO prefix
This commit is contained in:
parent
8d9c7ace83
commit
85519bff8a
|
@ -1 +1 @@
|
|||
Subproject commit 3e0f895e23051391789ef7aff389343a01be8119
|
||||
Subproject commit f800c9f7c84ed8c703661ba5c25c867673ab499c
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue