Skip to content

PlatformIO — An All-in-One Embedded Development Tool

— Building an all-in-one development environment, replacing Keil / Arduino IDE

PlatformIO

Background

PlatformIO is a robust all-in-one tool. Let's take a look at its features:

  • Cross-platform, requires only a Python environment (meaning it can be used on Windows/MacOS/Linux)
  • Can be used as a plugin within VSCode (finally, you can say goodbye to Keil)
  • Robust ecosystem:
  • Comes with compilation, download, debugging, and serial monitoring functions, supporting a variety of compilers and debuggers
  • Provides a wide range of libraries
  • Features code auto-completion, syntax checking, multi-project management, and theme customization
  • Remote development capabilities (untested)
  • Unit testing (untested)
  • Available in both command-line and GUI environments

In short, it's time to bid farewell to various IDEs like Arduino IDE, Keil, and IAR, and enjoy a one-stop service.

Download and Installation

First, make sure you have VSCode installed (you can refer to this article for VSCode download and installation).

In the Extensions (press Ctrl + Shift + X) section, search for and install Python and PlatformIO IDE.

PlatformIO Installation

After the successful installation of the plugins, click on Reload to start the plugin. Then, grab a cup of coffee and wait for the automatic installation of the core component, platformIO-core (initial installation may take some time).

Once the installation is complete, click on the relevant button in the sidebar to launch PlatformIO.

References and Acknowledgments

Original: https://wiki-power.com/ This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post is translated using ChatGPT, please feedback if any omissions.