Merge branch 'develop' into feature/pio-remote

* develop:
  Fix "99-platformio-udev.rules" checker for Linux OS
  Fix issue with "PATH" auto-configuring for upload tools
  New article by Kadda Sahnine
This commit is contained in:
Ivan Kravets
2016-10-04 01:26:19 +03:00
5 changed files with 7 additions and 4 deletions

View File

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

View File

@ -25,6 +25,7 @@ Here are recent articles/reviews about PlatformIO:
* Sep 20, 2016 - **The Linux Foundation** - `21 Open Source Projects for IoT <https://www.linux.com/comment/16265>`_
* Sep 19, 2016 - **Doc Walker** - `How to automatically test build Arduino libraries <http://4-20ma.io/2016/09/19/howto-automatically-test-build-arduino-libraries/>`_
* Sep 18, 2016 - **Kadda Sahnine** - `LoRaWAN network practice with Objenious, PlatformIO and Node-RED <http://blog.inovia-conseil.fr/?p=262>`_
* Sep 12, 2016 - **Pedro Minatel** - `OTA Como programar o ESP8266 pelo WiFi no platformIO (OTA programming for ESP8266 via Wi-Fi using PlatformIO, Portuguese) <http://pedrominatel.com.br/esp8266/ota-como-programar-o-esp8266-pelo-wifi-no-platformio/>`_
* Sep 2, 2016 - **Tinkerman** `ESP8266: Optimizing files for SPIFFS with Gulp <http://tinkerman.cat/optimizing-files-for-spiffs-with-gulp/>`_
* Aug 28, 2016 - **Tom Parker** `Using the BBC micro:bit with PlatformIO <http://www.lshift.net/blog/2016/08/28/using-the-bbc-microbit-with-platformio/>`_

View File

@ -14,7 +14,7 @@
import sys
VERSION = (3, 1, "1a1")
VERSION = (3, 1, "1a2")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -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'])

View File

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