Template with developer experience setup. PlatformIO + Cpp + CI/CD + Linter + Formatter.
If the codebase using this template is not a library, remove the files:
library.json,build_test.cpp,.github/workflows/publish.yml.
- Clone the repository
git clone https://github.com/platformio/esp32.pio.template.git- Install PlatformIO Core (CLI)
pip install platformio- Install PlatformIO IDE (VSCode with PlatformIO Extension)
- Install the recommended extensions
Look at the .vscode/extensions.json file to see the recommended extensions.
When you open the project in VSCode, it will automatically show the extensions to install.
- Run the commands to install the dependencies and build the project
pio install
pio run -e esp32 --target compiledb