/* Changes for the ESP32-S3-USB-OTG Development Board More information can be found at the bottom of this file. */ #include "driver/gpio.h" static const char *USB_ADDITIONS_TAG = "ESP32-S3-USB-ADDITIONS"; #define DEV_VBUS_EN GPIO_NUM_12 // DEV_VBUS_EN: High level to enable DEV_VBUS power supply. (power the board from the device port by connecting to a computer) #define BOOST_EN GPIO_NUM_13 // BOOST_EN: High level to enable Boost boost circuit. Low to enable USB_DEV as the power source #define IDEV_LIMIT_EN GPIO_NUM_17 // LIMIT_EN: Enable current limiting IC, high level enable. #define USB_SEL GPIO_NUM_18 // USB_SEL: Used to switch the USB interface. When high level, the USB_HOST interface is enabled. When low level, the USB_DEV interface is enabled. #define GPIO_OUTPUT_PIN_SEL ((1ULL<