forked from platformio/platformio-core
Don't check OS type for ARM mbed-enabled boards and ST STM32 development platform before uploading to disk
This commit is contained in:
@ -7,6 +7,9 @@ PlatformIO 2.0
|
|||||||
2.8.7 (2016-??-??)
|
2.8.7 (2016-??-??)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Don't check OS type for ARM mbed-enabled boards and ST STM32 development
|
||||||
|
platform before uploading to disk
|
||||||
|
(`issue #596 <https://github.com/platformio/platformio/issues/596>`_)
|
||||||
* Fixed broken compilation for Atmel SAMD based boards except Arduino Due
|
* Fixed broken compilation for Atmel SAMD based boards except Arduino Due
|
||||||
(`issue #598 <https://github.com/platformio/platformio/issues/598>`_)
|
(`issue #598 <https://github.com/platformio/platformio/issues/598>`_)
|
||||||
|
|
||||||
|
@ -100,10 +100,7 @@ AlwaysBuild(target_size)
|
|||||||
# Target: Upload by default .bin file
|
# Target: Upload by default .bin file
|
||||||
#
|
#
|
||||||
|
|
||||||
disable_msd = (
|
if "mbed" in env.subst("$FRAMEWORK") and not env.subst("$UPLOAD_PROTOCOL"):
|
||||||
(platform.system() == "Darwin" and platform.release().startswith("14.")) or
|
|
||||||
env.subst("$UPLOAD_PROTOCOL"))
|
|
||||||
if "mbed" in env.subst("$FRAMEWORK") and not disable_msd:
|
|
||||||
upload = env.Alias(["upload", "uploadlazy"],
|
upload = env.Alias(["upload", "uploadlazy"],
|
||||||
target_firm, env.UploadToDisk)
|
target_firm, env.UploadToDisk)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user