Page 1 of 1

gpio.h conflict

Posted: Thu Nov 22, 2018 3:13 pm
by brp80000
In my program, I get conflict between
1...\esp\esp-idf\components\driver\include\driver\gpio.h
2...\esp\esp-idf\components\esp32\include\rom\gpio.h

gpio_set_direction - described in 1
gpio_matrix_in - described in 2
gpio_pad_select_gpio - described in 2

two of the same header with different content do not work together. Where's my error I don't understand?

Re: gpio.h conflict

Posted: Thu Nov 22, 2018 3:16 pm
by brp80000
inside
1...\esp\esp-idf\components\driver\include\driver\gpio.h
we have
#include "rom/gpio.h" to
2...\esp\esp-idf\components\esp32\include\rom\gpio.h

Re: gpio.h conflict

Posted: Fri Nov 23, 2018 6:56 pm
by brp80000
I've been sitting here all day, Eclipse is annoying. Helped "project" > "C/C++ indexes" > rebuild