Today I would like to show you PlatformIO IDE. It is easy to use and in my opinion much nicer and more sophisticated alternative to Arduino Studio. Maybe it is not so easy to use as it needs some configuration at first but it is a basic process that everybody can do. Also I have noticed that platformio is really working on improving whole environment.
What is the PlatformIO
PlatformIO IDE is the next-generation integrated development environment for IoT:
C/C++ Intelligent Code Completionand Smart Code Linter for rapid professional development
Multi-projects workflow with multiple panes and Themes support with dark and light colors
Built-in Terminal with PlatformIO CLI tool and powerful Serial Port Monitor
PlatformIO IDE is a IDE build on Atom “A hackable text editor” which you can find more about on their homepage : https://atom.io .
It supports number of boards and especially useful for us it supports all ESP8266 boards I know about. I am using it with my ESP6288-01 and Nodemcu ESP8266-12E boards.
What you need to do to install it? Just download platformio installation from: http://platformio.org/get-started and it is done. But if you will end-up with some errors which unfortunately I did twice on my laptop. Just reinstall it again it should help.
List of supported boards: http://platformio.org/boards
Probably from the begging you will miss some libraries but don’t be worry PlatformIO has hundreds libraries in their repository.
To find the right one you should run Library Manager (from menu) they console will popup. Then you need to type:
platformio lib search <name_of_missing_library>
platformio lib search 1-wire
After that you will see list of libraries which are consistent with your search.
When you want to install one of found libraries you need to type:
platformio lib install <library_id>
platformio lib install 1
Platformio has large number of possible settings we can customize. But most important is platformio.ini file which contains settings of your project.
Settings I am using for my Nodemcu are:
platform = espressif
framework = arduino
board = nodemcuv2
upload_speed = 115200
#upload_port = COM5
Platformio.ini configuration: http://docs.platformio.org/en/latest/projectconf.html#upload-speed
You can find there much more settings you can choose it is a bit lecture bit it also mean that everybody will be well served by PlatformIO IDE.
Give it a try. I am sure you will like it as I did.
Github repository: https://goo.gl/ii9xsz
Be positive and stay calm!