From d63f6cff080a67095be76f1881e45ce295fa6b05 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 24 Nov 2015 19:58:24 +0200 Subject: [PATCH] Update FAQ & History // Resolve #331 --- HISTORY.rst | 8 +++++++ docs/faq.rst | 67 ++++++++++++++++++++++++++++++---------------------- 2 files changed, 47 insertions(+), 28 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 9f8561b6..40d0c7d8 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,8 +7,16 @@ PlatformIO 2.0 2.3.6 (2015-??-??) ~~~~~~~~~~~~~~~~~~ +* Added support for the new boards: Atmel ATSAMR21-XPRO, Atmel SAML21-XPRO-B, + Atmel SAMD21-XPRO, ST 32F469IDISCOVERY, ST 32L476GDISCOVERY, ST Nucleo F031K6, + ST Nucleo F042K6, ST Nucleo F303K8 and ST Nucleo L476RG +* Added to FAQ explanation of `Can not compile a library that compiles without issue + with Arduino IDE `_ + (`issue #331 `_) * Fixed ESP-12E flash size (`pull #333 `_) +* Fixed configuration for LowPowerLab MoteinoMEGA board + (`issue #335 `_) 2.3.5 (2015-11-18) ~~~~~~~~~~~~~~~~~~ diff --git a/docs/faq.rst b/docs/faq.rst index 9a11def4..be85c3f4 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -132,25 +132,15 @@ Answered in `issue #279 `_. Answered in `issue #295 `_. -.. _faq_troubleshooting_pioblocksprompt: +Windows AttributeError: 'module' object has no attribute 'packages' +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -PlatformIO blocks command execution using user prompt -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -If you are going to run *PlatformIO* from **subprocess**, you **MUST -DISABLE** all prompts. It will allow you to avoid blocking. -There are a few options: - -- using :option:`platformio --force` option before each command -- using environment variable :envvar:`PLATFORMIO_SETTING_ENABLE_PROMPTS=No ` -- disable global setting ``enable_prompts`` via :ref:`cmd_settings` command -- masking under Continuous Integration system via environment variable - :envvar:`CI=true `. +Answered in `issue #252 `_. .. _faq_troubleshooting_pionotfoundinpath: Program ``platformio`` not found in PATH -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +'''''''''''''''''''''''''''''''''''''''' Where is ``platformio`` binary installed? Run this command in Terminal @@ -173,18 +163,12 @@ programs to the ``bin`` directory which is included in ``$PATH``. For example, see `issue #272 `_. Windows UnicodeDecodeError: 'ascii' codec can't decode byte -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Answered in `issue #143 `_. -Serial does not work with panStampAVR board -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Answered in `issue #144 `_. - - -PlatformIO: command not found || An error ``pkg_resources.DistributionNotFound`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +PlatformIO: command not found || An error "pkg_resources.DistributionNotFound" +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Please upgrade *SetupTools* package: @@ -197,18 +181,45 @@ Please upgrade *SetupTools* package: [sudo] pip uninstall platformio [sudo] pip install platformio -Windows AttributeError: 'module' object has no attribute 'packages' -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Miscellaneous +~~~~~~~~~~~~~ -Answered in `issue #252 `_. +.. _faq_troubleshooting_pioblocksprompt: + +PlatformIO blocks command execution using user prompt +''''''''''''''''''''''''''''''''''''''''''''''''''''' + +If you are going to run *PlatformIO* from **subprocess**, you **MUST +DISABLE** all prompts. It will allow you to avoid blocking. +There are a few options: + +- using :option:`platformio --force` option before each command +- using environment variable :envvar:`PLATFORMIO_SETTING_ENABLE_PROMPTS=No ` +- disable global setting ``enable_prompts`` via :ref:`cmd_settings` command +- masking under Continuous Integration system via environment variable + :envvar:`CI=true `. + +Serial does not work with panStampAVR board +''''''''''''''''''''''''''''''''''''''''''' + +Answered in `issue #144 `_. + +Building +~~~~~~~~ + +Can not compile a library that compiles without issue with Arduino IDE +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +* `#298: Unable to use Souliss library `_ +* `#331: Unable to use MySensors library `_ ARM toolchain: cc1plus: error while loading shared libraries -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' See related answers for `error while loading shared libraries `_. Archlinux: libncurses.so.5: cannot open shared object file -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Answered in `issue #291 `_.