Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Yohannfra/esp-idf-template

Repository files navigation

esp-idf-template

This is a template application to start an ESP-IDF project.

Features

  • 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

Requirements

Get started

  1. Clone this repository
  2. Configure ESP-IDF for your needs with make config or by editing the sdkconfig.default
  3. Build with make
  4. Flash with make flash

Add ESP-ADF

Just uncomment this line in the CMakeLists.txt, same in the tests directory

# include($ENV{ADF_PATH}/CMakeLists.txt)

Run the test firmware

  1. Go to the tests directory
  2. Build with make
  3. Flash and watch tests logs with make flash_and_monitor

About

Full featured template project for esp-idf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /