For example, if I have
Code: Select all
#include "esp_log.h"
I have tried searching online for this error, and have tried altering the flycheck-clang-include-path variable to include, for example "~/esp/esp-idf/components/log/include" (which, as far as I can tell, is where esp_log.h is located), but the errors remains the same. (This is also the case if I use the absolute path, no symlinks.)
Installing esp-idf, including the export.sh, compiling & flashing all work OK (on the command line inside an emacs shell, in my case). My only problem is getting flycheck-mode to work with this setup.
If there's anyone who knows how to get flycheck-mode working in this development environment, I'd much appreciate your help.