diff --git a/HISTORY.rst b/HISTORY.rst index ad3dd7cc..66b266ac 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,6 +7,7 @@ PlatformIO 2.0 2.3.2 (2015-09-??) ~~~~~~~~~~~~~~~~~~ +* Allowed PlatformIO to be run within Cygwin environment * Allowed to use ST-Link uploader for mbed-based projects * Explained how to use ``lib`` directory from the PlatformIO based project in ``readme.txt`` which will be automatically generated using diff --git a/platformio/__init__.py b/platformio/__init__.py index 9a611cc9..35c90956 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (2, 3, "2.dev2") +VERSION = (2, 3, "2.dev3") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/util.py b/platformio/util.py index 6fb9597e..69184943 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -114,6 +114,8 @@ def singleton(cls): def get_systype(): data = uname() systype = data[0] + if "cygwin" in systype.lower(): + systype = "windows" if data[4]: systype += "_" + data[4] return systype.lower()