ESP32 project template with build pipeline, enhanced VS Code support and more.
- ESP-IDF: v5.3
- GitHub Workflows: 🚀
- Development: Sonar Cloud integration when building the component.
- Release: packages the component and generates release notes.
- Testing: 🧪
- VSCode tasks for tests (requires ESP-IDF extension).
- Watchdogs disabled when testing.
- Helper macros with TAG added for:
- Logging.
- Assertions.
- Configuration: sample Kconfig file for component configuration through menuconfig.
- Newlib nano formatting enabled for
printf/scanf
:- Binary size reduction (25KB~50KB) as they are already in ESP32 ROM.
- Stack usage reduction for functions that call string formatting functions.
- Increased performance as functions in ROM run faster than functions from flash.
- Functions in ROM can run when flash instruction cache is disabled.
-
Clone the repository (or download the latest release):
git clone "https://github.com/gfurtadoalmeida/esp32-project-template.git" --depth=1 --branch=master rm -rf esp32-project-template/.git
-
Rename the project:
.\Rename-Project.ps1 "C:\projects\github\awesome_component_folder" awesome_component_name
-
Delete the script:
Delete the Rename-Project.ps1 script as it has no more use.
Everything is at the docs folder.
To contribute to this project make sure to read our CONTRIBUTING.md file.