Allow PlatformIO to be run within Cygwin environment

This commit is contained in:
Ivan Kravets
2015-09-10 19:35:32 +03:00
parent ed10ecd142
commit 4338bade5b
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
VERSION = (2, 3, "2.dev2")
VERSION = (2, 3, "2.dev3")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -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()