LilyGo-esp32s2-base icon indicating copy to clipboard operation
LilyGo-esp32s2-base copied to clipboard

build fails

Open protectivedad opened this issue 2 years ago • 0 comments

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.

protectivedad avatar Mar 05 '22 17:03 protectivedad