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 card 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 cards is not supported, for example.
- Deviot, the Sublime Text 3 PlatformIO package for PC recycled under 32-bit Linux
- Install the IDE PlatformIO extension for Visual Studio Code (VSCode): Windows, 32-bit Linux
- Getting start programming the ESP32 with the PlatformIO IDE
- Start with PlatformIO, the alternative IDE for Arduino, ESP8266, ESP32 and other microcontrollers