Skip to content

Instantly share code, notes, and snippets.

@FloStar3000
Created November 25, 2021 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FloStar3000/d8de273731779790a6013e518c5e2679 to your computer and use it in GitHub Desktop.
Save FloStar3000/d8de273731779790a6013e518c5e2679 to your computer and use it in GitHub Desktop.
ESP-IDF with VSCode. Get rid of warning when importing ESP-IDF specific components like FreeRTOS
## Fix Red Marking of ESP-IDF Includes (Header files)
e.g. `#include "freertos/FreeRTOS.h"`
Right click on the red marked line, click quick fixes, add include path
Add the esp-idf components path to the "include paths" of the C/C++ Extenstions. Something like /home/user/esp/esp-idf/components/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment