Hi All,
I am pretty new to ESP-IDF development and currently, I am testing the ADC example.
However, I get an error during the compilation "fatal error: esp_adc_cal.h: No such file or directory". But the component is on the esp-idf components folder.
I just need your expert assistance on what and where should I add a line of code to include the directory. Thank you.
fatal error: esp_adc_cal.h: No such file or directory (While Compiling ADC Example)
Re: fatal error: esp_adc_cal.h: No such file or directory (While Compiling ADC Example)
this is the code I have on the CMakeLists.txt of the main folder.
Do I miss anything aside from this?
Code: Select all
idf_component_register(SRCS "adc1_example_main.c"
INCLUDE_DIRS "."
REQUIRES "esp_adc_cal")
Who is online
Users browsing this forum: No registered users and 104 guests