

PlatformIO is a free tool especially for working with microcontroller systems like ESPs or Arduino. Instead I use PlatformIO! What is PlatformIO? Therefore, the Arduino IDE is not enough for me. And I am missing some features in the Arduino development environment that make programming more fun for me. Because this development environment was meant to keep the entry barrier into microcontroller programming as simple as possible and not to overwhelm the newbie with too many functions. Now we can compile and upload this program to the board as described in the previous sections.The Arduino development environment can do nothing, and that’s a good thing. Firstly, we open a default main file named main.cpp in the src_dir folder and replace its content with following: Let’s add some actual code to the project. Processing the selected project may take some time (PlatformIO will download and install all required packages).Īfter that, we have a fully configured project that is ready for developing code with the Arduino framework. Next, we need to select Espressif ESP32 Dev Module as a development board, Arduino as a framework and a path to the project location (or use the default one): Olimex ARM-USB-OCD or Olimex ARM-USB-TINY adapter for debuggingįirst, we need to create a new project using the PlatformIO Home Page (to open this page, just press the Home icon on the toolbar): The goal of this tutorial is to demonstrate how simple it is to use PlatformIO IDE for VSCode to develop, run and debug a simple project with the Arduino framework for the ESP32-DevKitC board.ĭownloaded and installed PlatformIO IDE for VSCode Get started with Arduino and ESP32-DevKitC: debugging and unit testing

Zephyr and Nordic nRF52-DK: debugging, unit testing, project analysis.Arduino and Nordic nRF52-DK: debugging and unit testing.STM32Cube HAL and Nucleo-F401RE: debugging and unit testing.


Get started with ESP-IDF and ESP32-DevKitC: debugging, unit testing, project analysis.Get started with Arduino and ESP32-DevKitC: debugging and unit testing.
