forked from platformio/platformio-core
Rename PIO Core Repository
This commit is contained in:
@ -16,7 +16,7 @@ Articles about us
|
||||
|
||||
.. note::
|
||||
If you've written article about PlatformIO and would like it listed on
|
||||
this page, `please edit this page <https://github.com/platformio/platformio/blob/develop/docs/articles.rst>`_.
|
||||
this page, `please edit this page <https://github.com/platformio/platformio-core/blob/develop/docs/articles.rst>`_.
|
||||
|
||||
Here are recent articles/reviews about PlatformIO:
|
||||
|
||||
|
16
docs/faq.rst
16
docs/faq.rst
@ -86,12 +86,12 @@ Installation
|
||||
[Errno 1] Operation not permitted
|
||||
'''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #295 <https://github.com/platformio/platformio/issues/295#issuecomment-143772005>`_.
|
||||
Answered in `issue #295 <https://github.com/platformio/platformio-core/issues/295#issuecomment-143772005>`_.
|
||||
|
||||
Windows AttributeError: 'module' object has no attribute 'packages'
|
||||
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #252 <https://github.com/platformio/platformio/issues/252#issuecomment-127072039>`_.
|
||||
Answered in `issue #252 <https://github.com/platformio/platformio-core/issues/252#issuecomment-127072039>`_.
|
||||
|
||||
.. _faq_troubleshooting_pionotfoundinpath:
|
||||
|
||||
@ -115,12 +115,12 @@ should contain ``/usr/local/bin`` directory.
|
||||
|
||||
**Unix Users**: You can make "symlinks" from ``platformio`` program to the
|
||||
``bin`` directory which is included in ``$PATH``. For example,
|
||||
see `issue #272 <https://github.com/platformio/platformio/issues/272#issuecomment-133626112>`_.
|
||||
see `issue #272 <https://github.com/platformio/platformio-core/issues/272#issuecomment-133626112>`_.
|
||||
|
||||
Windows UnicodeDecodeError: 'ascii' codec can't decode byte
|
||||
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #143 <https://github.com/platformio/platformio/issues/143#issuecomment-88060906>`_.
|
||||
Answered in `issue #143 <https://github.com/platformio/platformio-core/issues/143#issuecomment-88060906>`_.
|
||||
|
||||
PlatformIO: command not found || An error "pkg_resources.DistributionNotFound"
|
||||
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
@ -142,7 +142,7 @@ Miscellaneous
|
||||
Serial does not work with panStampAVR board
|
||||
'''''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #144 <https://github.com/platformio/platformio/issues/144#issuecomment-87388038>`_.
|
||||
Answered in `issue #144 <https://github.com/platformio/platformio-core/issues/144#issuecomment-87388038>`_.
|
||||
|
||||
Building
|
||||
~~~~~~~~
|
||||
@ -151,14 +151,14 @@ ARM toolchain: cc1plus: error while loading shared libraries
|
||||
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
See related answers for
|
||||
`error while loading shared libraries <https://github.com/platformio/platformio/issues?utf8=✓&q=error+while+loading+shared+libraries>`_.
|
||||
`error while loading shared libraries <https://github.com/platformio/platformio-core/issues?utf8=✓&q=error+while+loading+shared+libraries>`_.
|
||||
|
||||
Archlinux: libncurses.so.5: cannot open shared object file
|
||||
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #291 <https://github.com/platformio/platformio/issues/291>`_.
|
||||
Answered in `issue #291 <https://github.com/platformio/platformio-core/issues/291>`_.
|
||||
|
||||
Monitoring a serial port breaks upload
|
||||
''''''''''''''''''''''''''''''''''''''
|
||||
|
||||
Answered in `issue #384 <https://github.com/platformio/platformio/issues/384>`_.
|
||||
Answered in `issue #384 <https://github.com/platformio/platformio-core/issues/384>`_.
|
||||
|
@ -171,7 +171,7 @@ messages which will be shown in output console after build.
|
||||
Nevertheless, you can provide an IntelliSense-friendly definition of problematic
|
||||
GCC constructs and make sure that the GCC will ignore such definitions or
|
||||
disable IntelliSense error reporting at all.
|
||||
See details in `issue #543 <https://github.com/platformio/platformio/issues/543>`_
|
||||
See details in `issue #543 <https://github.com/platformio/platformio-core/issues/543>`_
|
||||
|
||||
.. image:: ../_static/ide-vs-platformio-newproject-9.png
|
||||
:target: http://docs.platformio.org/en/stable/_static/ide-vs-platformio-newproject-9.png
|
||||
|
@ -42,7 +42,7 @@ libOpenCM3, etc.*
|
||||
`Embedded Boards Explorer <http://platformio.org/boards>`_
|
||||
* `Project Examples <https://github.com/platformio/platformio-examples/tree/develop>`_
|
||||
* `Source Code <https://github.com/platformio/platformio>`_ |
|
||||
`Issues <https://github.com/platformio/platformio/issues>`_
|
||||
`Issues <https://github.com/platformio/platformio-core/issues>`_
|
||||
* `Blog <http://www.ikravets.com/category/computer-life/platformio>`_ |
|
||||
`Twitter <https://twitter.com/PlatformIO_Org>`_ |
|
||||
`Facebook <https://www.facebook.com/platformio>`_ |
|
||||
|
@ -67,7 +67,7 @@ System requirements
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
@ -204,11 +204,11 @@ Install the latest PlatformIO from the ``develop`` branch:
|
||||
pip uninstall platformio
|
||||
|
||||
# install the latest development version of PlatformIO
|
||||
pip install -U https://github.com/platformio/platformio/archive/develop.zip
|
||||
pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
|
||||
|
||||
If you want to be up-to-date with the latest ``develop`` version of PlatformIO,
|
||||
then you need to re-install PlatformIO each time if you see the new commits in
|
||||
`PlatformIO GitHub repository (branch: develop) <https://github.com/platformio/platformio/commits/develop>`_.
|
||||
`PlatformIO GitHub repository (branch: develop) <https://github.com/platformio/platformio-core/commits/develop>`_.
|
||||
|
||||
To revert to the latest stable version
|
||||
|
||||
@ -223,7 +223,7 @@ Troubleshooting
|
||||
|
||||
.. note::
|
||||
**Linux OS**: Don't forget to install "udev" rules file
|
||||
`99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_ (an instruction is located in the file).
|
||||
`99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_ (an instruction is located in the file).
|
||||
|
||||
**Windows OS**: Please check that you have correctly installed USB driver
|
||||
from board manufacturer
|
||||
|
@ -49,7 +49,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -55,7 +55,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -337,7 +337,7 @@ base template of ``main.py``.
|
||||
)
|
||||
|
||||
# The source code of "platformio-build-tool" is here
|
||||
# https://github.com/platformio/platformio/blob/develop/platformio/builder/tools/platformio.py
|
||||
# https://github.com/platformio/platformio-core/blob/develop/platformio/builder/tools/platformio.py
|
||||
|
||||
#
|
||||
# Target: Build executable and linkable firmware
|
||||
|
@ -46,7 +46,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -55,7 +55,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -140,7 +140,7 @@ By default, will be used default LD Script for the board where is specified
|
||||
SPIFFS offsets (start, end, page, block). You can override it using
|
||||
:ref:`platform_espressif_customflash`.
|
||||
|
||||
Active discussion is located in `issue #382 <https://github.com/platformio/platformio/issues/382>`_.
|
||||
Active discussion is located in `issue #382 <https://github.com/platformio/platformio-core/issues/382>`_.
|
||||
|
||||
.. _platform_espressif_ota:
|
||||
|
||||
@ -250,7 +250,7 @@ Using Arduino Framework with Staging version
|
||||
4. If you see build errors, then try to build this project using the same
|
||||
``stage`` on Arduino IDE
|
||||
5. If it works with Arduino IDE but doesn't work with PlatformIO, then please
|
||||
`open new issue <https://github.com/platformio/platformio/issues>`_ with
|
||||
`open new issue <https://github.com/platformio/platformio-core/issues>`_ with
|
||||
attached information:
|
||||
|
||||
- test project/files
|
||||
|
@ -40,7 +40,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -43,7 +43,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -40,7 +40,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -43,7 +43,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -49,7 +49,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -40,7 +40,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -40,7 +40,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -58,7 +58,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -49,7 +49,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -46,7 +46,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -46,7 +46,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -931,10 +931,10 @@ This option can be set by global environment variable
|
||||
|
||||
Take a look at the multiple snippets/answers for the user questions:
|
||||
|
||||
- `#462 Split C/C++ build flags <https://github.com/platformio/platformio/issues/462#issuecomment-172667342>`_
|
||||
- `#365 Extra configuration for ESP8266 uploader <https://github.com/platformio/platformio/issues/365#issuecomment-163695011>`_
|
||||
- `#351 Specific reset method for ESP8266 <https://github.com/platformio/platformio/issues/351#issuecomment-161789165>`_
|
||||
- `#247 Specific options for avrdude <https://github.com/platformio/platformio/issues/247#issuecomment-118169728>`_.
|
||||
- `#462 Split C/C++ build flags <https://github.com/platformio/platformio-core/issues/462#issuecomment-172667342>`_
|
||||
- `#365 Extra configuration for ESP8266 uploader <https://github.com/platformio/platformio-core/issues/365#issuecomment-163695011>`_
|
||||
- `#351 Specific reset method for ESP8266 <https://github.com/platformio/platformio-core/issues/351#issuecomment-161789165>`_
|
||||
- `#247 Specific options for avrdude <https://github.com/platformio/platformio-core/issues/247#issuecomment-118169728>`_.
|
||||
|
||||
Custom Uploader
|
||||
'''''''''''''''
|
||||
@ -1090,7 +1090,7 @@ command. To use other programmers see :ref:`atmelavr_upload_via_programmer`.
|
||||
|
||||
|
||||
4. :ref:`platform_ststm32`: Upload firmware using GDB script ``upload.gdb``,
|
||||
`issue #175 <https://github.com/platformio/platformio/issues/175>`_
|
||||
`issue #175 <https://github.com/platformio/platformio-core/issues/175>`_
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
|
@ -128,7 +128,7 @@ Share diagnostics and usage information to help us make PlatformIO better:
|
||||
|
||||
This gives us a sense of what parts of the PlatformIO is most important.
|
||||
|
||||
The source code of telemetry service is `open source <https://github.com/platformio/platformio/blob/develop/platformio/telemetry.py>`_. You can make sure that we DO NOT share PRIVATE information or
|
||||
The source code of telemetry service is `open source <https://github.com/platformio/platformio-core/blob/develop/platformio/telemetry.py>`_. You can make sure that we DO NOT share PRIVATE information or
|
||||
source code of your project. All information shares anonymously.
|
||||
|
||||
Thanks a lot that keep this setting enabled.
|
||||
|
@ -93,7 +93,7 @@ def main():
|
||||
except AttributeError:
|
||||
raise exception.PlatformioException(
|
||||
"Invalid installation of Python `requests` package`. See "
|
||||
"< https://github.com/platformio/platformio/issues/252 >")
|
||||
"< https://github.com/platformio/platformio-core/issues/252 >")
|
||||
|
||||
# handle PLATFORMIO_FORCE_COLOR
|
||||
if str(getenv("PLATFORMIO_FORCE_COLOR", "")).lower() == "true":
|
||||
@ -124,7 +124,7 @@ An unexpected error occurred. Further steps:
|
||||
http://docs.platformio.org/en/stable/faq.html
|
||||
|
||||
* Report this problem to the developers
|
||||
https://github.com/platformio/platformio/issues
|
||||
https://github.com/platformio/platformio-core/issues
|
||||
|
||||
============================================================
|
||||
"""
|
||||
|
@ -35,7 +35,7 @@ def cli():
|
||||
to_develop = not all([c.isdigit() for c in latest if c != "."])
|
||||
cmds = ([
|
||||
"pip", "install", "--upgrade",
|
||||
"https://github.com/platformio/platformio/archive/develop.zip"
|
||||
"https://github.com/platformio/platformio-core/archive/develop.zip"
|
||||
if to_develop else "platformio"
|
||||
], ["platformio", "--version"])
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
# UDEV Rules for PlatformIO supported boards, http://platformio.org/boards
|
||||
#
|
||||
# The latest version of this file may be found at:
|
||||
# https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules
|
||||
# https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules
|
||||
#
|
||||
# This file must be placed at:
|
||||
# /etc/udev/rules.d/99-platformio-udev.rules (preferred location)
|
||||
|
@ -112,7 +112,7 @@ Packages
|
||||
* Ubuntu/Debian users may need to add own "username" to the "dialout"
|
||||
group if they are not "root", doing this issuing a
|
||||
``sudo usermod -a -G dialout yourusername``.
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
* Install "udev" rules file `99-platformio-udev.rules <https://github.com/platformio/platformio-core/blob/develop/scripts/99-platformio-udev.rules>`_
|
||||
(an instruction is located in the file).
|
||||
* Raspberry Pi users, please read this article
|
||||
`Enable serial port on Raspberry Pi <https://hallard.me/enable-serial-port-on-raspberry-pi/>`__.
|
||||
|
@ -117,7 +117,7 @@ def install_platformio():
|
||||
# r = exec_python_cmd(cmd + ["install", "-U", "platformio"])
|
||||
r = exec_python_cmd(cmd + [
|
||||
"install", "-U",
|
||||
"https://github.com/platformio/platformio/archive/develop.zip"
|
||||
"https://github.com/platformio/platformio-core/archive/develop.zip"
|
||||
])
|
||||
assert r['returncode'] == 0
|
||||
except AssertionError:
|
||||
@ -167,7 +167,7 @@ https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platf
|
||||
if is_error:
|
||||
print("The installation process has been FAILED!\n"
|
||||
"Please report about this problem here\n"
|
||||
"< https://github.com/platformio/platformio/issues >")
|
||||
"< https://github.com/platformio/platformio-core/issues >")
|
||||
return
|
||||
else:
|
||||
print("\n ==> Installation process has been "
|
||||
|
Reference in New Issue
Block a user