Difference between revisions of "Tutorial Install Platformio"

From Let's Control It
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
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.
  
= Installing Atom and platformio on Windows =
 
  
 
== Install the Atom editor ==
 
== Install the Atom editor ==
 +
  
 
* Download the Atom installer from the site https://atom.io :
 
* Download the Atom installer from the site https://atom.io :
 
[[File:Download atom.png]]
 
[[File:Download atom.png]]
 +
  
 
* Start the installer and click through them.
 
* Start the installer and click through them.
 
* If it also installs the .NET platform you may have to reboot and restart the Atom installer.
 
* 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:
 
* Start atom:
 
[[File:Atom first start.png]]
 
[[File:Atom first start.png]]
 +
  
 
Now your Atom editor installation is complete.
 
Now your Atom editor installation is complete.
Line 19: Line 28:
 
Platformio is a plugin for the Atom editor, we're going to install that next.
 
Platformio is a plugin for the Atom editor, we're going to install that next.
  
* In the Atom editor click on install a package:
+
* In the Atom editor click on ''install a package.''
 +
* Click ''open installer'':
 
[[File:Install a package.png]]
 
[[File:Install a package.png]]
  
  
Click open installer
+
* Search for ''platformio''
Search for platformio
+
* Install ''platformio-ide'':
Install platformio-ide.
+
[[File:Install platformio-ide.png]]
 +
 
 +
 
 +
* Install python 2.7 if it asks you, it will take you to the python website:
 +
[[File:Install python.png]]
 +
 
 +
 
 +
* Click download pyton 2.7 and download the correct installer:
 +
[[File:Download python.png]]
 +
 
 +
 
 +
* Download/run the python installer, click through the installer. Default settings are fine:
 +
[[File:Run python installer.png]]
 +
 
 +
 
 +
* After installing python 2.7, go back to Atom and click try a again:
 +
[[File:Python try again.png]]
 +
 
 +
 
 +
* Click reload now to reload now Atom. (first start takes a while):
 +
[[File:Reload platformio.png]]
 +
 
  
Install python 2.7 if it asks you, it will take you to the python website
+
* You should now have an Atom editor with Platformio installed and see this screen:
Click download pyton 2.7 and download the correct installer
+
[[File:Platformio completed.png]]
Run the pyhton installer, click through the installer. Default settings are fine.
 
  
After installing python 2.7, go back to Atom and click try a again.
+
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.
  
Click reload now to reload now Atom. (first start takes a while)
+
* Now go to the next tutoral: [[Tutorial_preparing_to_work_with_github]]
You should now have an Atom editor with Platformio installed.
 

Latest revision as of 13:58, 10 July 2017

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.