"gpio.h" 2 differents files
Posted: Thu Oct 19, 2017 7:21 am
If found two files with the name gpio.h which are located
1) ~esp-idf\components\driver\include\driver\gpio.h
2) ~esp\esp-idf\components\esp32\include\rom\gpio.h
In the SDK the two of them are clearly identify. e.g. in ~esp\esp-idf\components\driver\sdmmc_host.c
I found it however very dangerous. Maybe the less used should be renamed.
1) ~esp-idf\components\driver\include\driver\gpio.h
2) ~esp\esp-idf\components\esp32\include\rom\gpio.h
In the SDK the two of them are clearly identify. e.g. in ~esp\esp-idf\components\driver\sdmmc_host.c
Code: Select all
#include "rom/gpio.h"
#include "driver/gpio.h"