Tutorial Install Platformio

From Let's Control It
Jump to navigation Jump to search

Atom is an opensource editor, and platformio is a plugin to program for the Arduino platform and support a huge range of hardware. (250 different types of boards including various esp8266's)

Look at http://platformio.org/boards for a overview.

You need this if you want to help us improving ESPEasy.

Install the Atom editor

Download atom.png

  • Start the installer and click through them.
  • If it also installs the .NET platform you may have to reboot and restart the Atom installer.

It might want to install "Clang" for the text highlight in the text editor. It looks nice so you might as well use that even if you do not plan to contribute with any code.

  • Start atom:

Atom first start.png

Now your Atom editor installation is complete.

Install the platformio-ide plugin

Platformio is a plugin for the Atom editor, we're going to install that next.

  • In the Atom editor click on install a package.
  • Click open installer:

Install a package.png

  • Search for platformio
  • Install platformio-ide:

Install platformio-ide.png

  • Install python 2.7 if it asks you, it will take you to the python website:

Install python.png

  • Click download pyton 2.7 and download the correct installer:

Download python.png

  • Download/run the python installer, click through the installer. Default settings are fine:

Run python installer.png

  • After installing python 2.7, go back to Atom and click try a again:

Python try again.png

  • Click reload now to reload now Atom. (first start takes a while):

Reload platformio.png

  • You should now have an Atom editor with Platformio installed and see this screen:

Platformio completed.png

If atom is slughish, hanging and giving errors, then there is probably something wrong with the gcc-linter. I had to remove platformio-* and linter-gcc and reinstall platformio-ide to fix it.