unable to include .h files from ESP-IDF components directory
Posted: Tue Feb 11, 2020 1:14 am
Hi,
I would like to add among other new ADC functions in the machine_adc.c. For that, I want to use esp_adc_cal.h include in my esp-idf/components directory.
If I build the Micropython for ESP32 without modifications, everything is OK, it works.
But as soos as I add the line #include "esp_adc_cal.h" in the machine_adc.c file, the build doesn't work. Make command return : fatal error: esp_adc_cal.h: No such file or directory. It's the same with all other files includes in my components directory.
IDF_PATH is well declared.
Is there something else to do for that ?
Many thanks
I would like to add among other new ADC functions in the machine_adc.c. For that, I want to use esp_adc_cal.h include in my esp-idf/components directory.
If I build the Micropython for ESP32 without modifications, everything is OK, it works.
But as soos as I add the line #include "esp_adc_cal.h" in the machine_adc.c file, the build doesn't work. Make command return : fatal error: esp_adc_cal.h: No such file or directory. It's the same with all other files includes in my components directory.
IDF_PATH is well declared.
Is there something else to do for that ?
Many thanks