From a14dec70c2476ffa7a0bc002bab5ca75ecc06711 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 15 Sep 2016 01:28:41 +0300 Subject: [PATCH] Simplify ESP8266-stage using --- docs/installation.rst | 2 ++ docs/platforms/espressif8266_extra.rst | 21 +++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 81af129a..22717b4b 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -167,6 +167,8 @@ For upgrading ``platformio`` to the latest version: pip install -U platformio +.. _installation_develop: + Development Version ~~~~~~~~~~~~~~~~~~~ diff --git a/docs/platforms/espressif8266_extra.rst b/docs/platforms/espressif8266_extra.rst index 9855c687..4c3f58b9 100644 --- a/docs/platforms/espressif8266_extra.rst +++ b/docs/platforms/espressif8266_extra.rst @@ -220,20 +220,21 @@ Demo Using Arduino Framework with Staging version -------------------------------------------- -1. Install ``stage`` version of Espressif 8266 development platform +1. Install :ref:`installation_develop` of PlatformIO +2. Set :ref:`projectconf_env_platform` to ``espressif8266-stage`` in + :ref:`projectconf`. For example, - .. code-block:: bash + .. code-block:: ini - # uninstall existing (if you have it) - platformio platform uninstall espressif8266 + [env:nodemcuv2] + platform = espressif8266-stage + board = nodemcuv2 + framework = arduino - # install from ``stage`` branch - platformio platform install https://github.com/platformio/platform-espressif8266.git#feature/stage - -2. Try to build project -3. If you see build errors, then try to build this project using the same +3. Try to build project +4. If you see build errors, then try to build this project using the same ``stage`` on Arduino IDE -4. If it works with Arduino IDE but doesn't work with PlatformIO, then please +5. If it works with Arduino IDE but doesn't work with PlatformIO, then please `open new issue `_ with attached information: