Don't check OS type for ARM mbed-enabled boards and ST STM32 development platform before uploading to disk
This commit is contained in:
@@ -100,10 +100,7 @@ AlwaysBuild(target_size)
|
||||
# Target: Upload by default .bin file
|
||||
#
|
||||
|
||||
disable_msd = (
|
||||
(platform.system() == "Darwin" and platform.release().startswith("14.")) or
|
||||
env.subst("$UPLOAD_PROTOCOL"))
|
||||
if "mbed" in env.subst("$FRAMEWORK") and not disable_msd:
|
||||
if "mbed" in env.subst("$FRAMEWORK") and not env.subst("$UPLOAD_PROTOCOL"):
|
||||
upload = env.Alias(["upload", "uploadlazy"],
|
||||
target_firm, env.UploadToDisk)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user