|
|
||
|---|---|---|
| .. | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
| platformio.ini | ||
| sdkconfig.esp32thing | ||
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