LilyGo-esp32s2-base
LilyGo-esp32s2-base copied to clipboard
build fails
Build gives an error:
../main/app_main.c:262:5: error: implicit declaration of function 'gpio_pad_select_gpio'; did you mean 'esp_rom_gpio_pad_select_gpio'? [-Werror=implicit-function-declaration]
gpio_pad_select_gpio(POWER_PIN);
^~~~~~~~~~~~~~~~~~~~
esp_rom_gpio_pad_select_gpio
From the bootloader map file both gpio_pad_select_gpio and esp_rom_gpio_pad_select_gpio are there and are the same item. Changed main/app_main.c to use esp_rom_gpio_pad_select_gpio.