This is a template application to start an ESP-IDF project.
- Boilerplate blinking code that uses a custom led component
- Full-featured Makefile to use idf.py faster
- sdkconfig.default file to configure ESP-IDF
- test directory with basic Unity firmware that tests the led component
- The CMakeLists.txt generate a compile_commands.json by default and add -fdiagnostics-color=always to print all build errors with colors
- Install ESP-IDF
- Install ESP_ADF (optional)
- Clone this repository
- Configure ESP-IDF for your needs with make config or by editing the sdkconfig.default
- Build with make
- Flash with make flash
Just uncomment this line in the CMakeLists.txt, same in the tests directory
# include($ENV{ADF_PATH}/CMakeLists.txt)
- Go to the tests directory
- Build with make
- Flash and watch tests logs with make flash_and_monitor