Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
Posted: Wed Jun 15, 2022 12:34 am
In building "https://github.com/manuelbl/ttn-esp32" examples I have run across symbol or field could not be resolved errors. The programs seem to execute correctly so it appears this is an indexer issue. A particular symbol is "max_transfer_sz." It is found in C:/Espressif/frameworks/esp-idf-v4.4.1/components/driver/include/driver/spicommon.h but not in the project/esp_idf_components directory.
The errors go away when I enable "Index source and header files opened in editor" and open the spicommon.h file above.
I have not found an option to include this for the indexer nor can I get it to work by adding the directory to the include directories.
I'm not sure if this is a bug, or I just need to find the correct options.
This is on Windows 11
ESP IDE Version: 2.4.2 Build id: 20220308-1406
Eclipse C/C++ Development Tools Version: 10.5.0.202112012329 Build id: 20211201-2329
The errors go away when I enable "Index source and header files opened in editor" and open the spicommon.h file above.
I have not found an option to include this for the indexer nor can I get it to work by adding the directory to the include directories.
I'm not sure if this is a bug, or I just need to find the correct options.
This is on Windows 11
ESP IDE Version: 2.4.2 Build id: 20220308-1406
Eclipse C/C++ Development Tools Version: 10.5.0.202112012329 Build id: 20211201-2329