Using UART0 pins as GPIO on ESP32-S3
Posted: Thu May 04, 2023 9:42 am
I am trying use the UART0 pins (GPIO43&44) on an ESP32-S3 board as GPIO pins. I have configured it to not use UART for the console using menuconfig and have tried
but the pin still does not go high like I expect. What am I missing?
Code: Select all
#define FLASH_PIN 44
...
gpio_reset_pin(FLASH_PIN);
gpio_set_direction(FLASH_PIN, GPIO_MODE_OUTPUT);
gpio_set_level(FLASH_PIN, 1);