In the introductory article to the PlatformIO IDE, we installed PIO with the Open Source text editor of GitHub Atom. Like many projects, Atom is no longer available for older Intel x86 32-bit processors. If you want to recycle an old PC into a development platform under Linux (Ubuntu for example), Atom is not the solution. Fortunately, PlatformIO is primarily a software toolbox that has been integrated with many other code editors: CLion, CodeBlocks, Eclipse, Emacs, NetBeans, Qt Creator, VIM, Visual Studio and Sublime Text. As a recycled PC is limited in power, I propose here to install the Deviot package for Sublime Text 3.
Install Sublime Text 3 on Lubuntu 32-bits
Go to this page to download the 32-bit version of Sublime Text 3 for Linux.
Sublime Text 3 requires no installation to operate. Just uncompress the archive in the destination folder. After decompression, launch Sublime Text and go to the Tools menu and then Install Package Control …
This option will enable package support
Then go to the Preferences menu and choose the Package Control option. In the input field, type install and choose Install Package from the list that appears
Find deviot in the search field and select the module from the list
The installation of the Deviot plugin as well as the PlatformIO development tools starts immediately. At the end of the installation, a new menu is added to the menu bar of Sublime Text 3. Everything is close to encode!
How to use PlatformIO with Deviot
The Deviot menu strongly resembles the PlatformIO menu under Atom (detailed presentation here). It is available in French, English, Spanish, Chinese and Korean from the language option. A re-start of Sublime Text is required.
With Deviot, it is possible to maintain the structure of the Arduino IDE or to use the structure of the PIO projects. If you’ve gotten used to working on Atom, it’s a bit confusing. This is even annoying if you use multiple board types because the platformio.ini configuration file is global to all projects. To reactivate the PIO structure, go to Options >> Use PlatformIO Structure. You must activate the option before creating a new sketch.
For the rest, the operation is almost identical to PIO on Atom. Deviot, however, is less talkative than Atom.
Limitations for 32-bit Linux
On 32-bit Linux, you will have some limitations related to support for 32-bit microprocessors. The Espressive SDK for ESP32 boards is not supported, for example.
- Develop IoT projects with PlatformIO. Problems and solutions
- Platformio.ini, tips and useful settings. data_dir, monitor_speed, upload_port …
- Migrate a project from the Arduino IDE to PlatformIO. ESP32, ESP8266 or other
- ESP8266. Upload the data folder (SPIFFS or LittleFS) from PlatformIO
- Convert Arduino code into ESP Easy Mega plugin for ESP8266 / ESP32
- Getting started with PlatformIO IDE on VSCode (Windows, macOS, Raspbian, Linux)