- 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 esp32dev --target compiledb