You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../components/rotary-encoder/include/rotary_encoder.h:47:10: fatal error: driver/gpio.h: No such file or directory
47 | #include "driver/gpio.h"
In Ver5, driver component is not included by target components anymore. Applications using driver shall now explicitly require it in their CMakeLists.txt file.
../components/rotary-encoder/rotary_encoder.c:223:9: error: implicit declaration of function 'gpio_pad_select_gpio'; did you mean 'esp_rom_gpio_pad_select_gpio'? [-Werror=implicit-function-declaration]
223 | gpio_pad_select_gpio(info->pin_a);
| ^~~~~~~~~~~~~~~~~~~~
| esp_rom_gpio_pad_select_gpio
Thank you for publishing the library.
esp-idf v4.4 added support for ESP32-C3.
Along with this, gpio_pad_select_gpio() has changed to gpio_reset_pin().
Some GPIOs are not initialized properly when using gpio_pad_select_gpio().
https://github.com/espressif/esp-idf/blob/master/examples/get-started/blink/main/blink_example_main.c#L63
The text was updated successfully, but these errors were encountered: