Templates/ESP32_Project
Ulysse Cura df3a988ff6 Written READMEs 2025-12-21 22:12:02 +01:00
..
.vscode Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00
src Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00
.gitignore Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00
CMakeLists.txt Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00
README.md Written READMEs 2025-12-21 22:12:02 +01:00
platformio.ini Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00
sdkconfig.esp32thing Added template for ESP32 project using platformio 2025-12-21 20:15:59 +01:00

README.md

ESP32_Project

Description

This is a template for C project for esp32 boards using PlatformIO with the esp-idf framework, better than Arduino but proprietary.

Setup

To make this template work you will need to install PlatformIO. For this use this link : super quick install

During installation select all boards.

Then in the project's platformio.ini change the board id to the one that you can find by using :

pio boards your_board

And finally in the project dir run :

pio project init

Usage

In vscode open your task runner and use the different tasks :

  • Build : Build the current project
  • Build and Upload : Build project and upload to device
  • Clean : Clean build directory

They correspond to calling make with the following :

  • Build : pio run
  • Build and Upload : pio run --target upload
  • Clean : pio run --target clean