diff --git a/HISTORY.rst b/HISTORY.rst index a5f7ac83..e67312d5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,6 +9,8 @@ PlatformIO 3.0 * Improved detecting of ARM mbed media disk for uploading * Improved Project Generator for CLion IDE when source folder contains nested items +* Fixed issue with ``PATH`` auto-configuring for upload tools +* Fixed ``99-platformio-udev.rules`` checker for Linux OS ------- diff --git a/docs/articles.rst b/docs/articles.rst index 06006a51..23540193 100644 --- a/docs/articles.rst +++ b/docs/articles.rst @@ -25,6 +25,7 @@ Here are recent articles/reviews about PlatformIO: * Sep 20, 2016 - **The Linux Foundation** - `21 Open Source Projects for IoT `_ * Sep 19, 2016 - **Doc Walker** - `How to automatically test build Arduino libraries `_ +* Sep 18, 2016 - **Kadda Sahnine** - `LoRaWAN network practice with Objenious, PlatformIO and Node-RED `_ * Sep 12, 2016 - **Pedro Minatel** - `OTA – Como programar o ESP8266 pelo WiFi no platformIO (OTA programming for ESP8266 via Wi-Fi using PlatformIO, Portuguese) `_ * Sep 2, 2016 - **Tinkerman** `ESP8266: Optimizing files for SPIFFS with Gulp `_ * Aug 28, 2016 - **Tom Parker** `Using the BBC micro:bit with PlatformIO `_ diff --git a/platformio/__init__.py b/platformio/__init__.py index 9e4ad77e..71167fe7 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (3, 1, "1a1") +VERSION = (3, 1, "1a2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/builder/tools/pioplatform.py b/platformio/builder/tools/pioplatform.py index 42ad2ef4..2c4d9184 100644 --- a/platformio/builder/tools/pioplatform.py +++ b/platformio/builder/tools/pioplatform.py @@ -31,7 +31,7 @@ def initPioPlatform(name): def PioPlatform(env): variables = {} for key in ("board", "pioframework"): - if key not in env: + if key.upper() not in env: continue variables[key] = env[key.upper()] p = initPioPlatform(env['PLATFORM_MANIFEST']) diff --git a/platformio/builder/tools/pioupload.py b/platformio/builder/tools/pioupload.py index d1c5ff90..9a8ec8c6 100644 --- a/platformio/builder/tools/pioupload.py +++ b/platformio/builder/tools/pioupload.py @@ -118,8 +118,8 @@ def AutodetectUploadPort(*args, **kwargs): # pylint: disable=unused-argument env.Replace(UPLOAD_PORT=_look_for_mbed_disk()) else: if (system() == "Linux" and not any([ - isfile("/etc/udev/99-platformio-udev.rules"), - isfile("/etc/rules.d/99-platformio-udev.rules") + isfile("/etc/udev/rules.d/99-platformio-udev.rules"), + isfile("/lib/udev/rules.d/99-platformio-udev.rules") ])): sys.stderr.write( "\nWarning! Please install `99-platformio-udev.rules` and "