# Copyright (c) 2020 HAW Hamburg # 2022 Gunar Schorcht # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. config BOARD default "esp32s3-usb-otg" if BOARD_ESP32S3_USB_OTG config BOARD_ESP32S3_USB_OTG bool default y select BOARD_COMMON_ESP32S3 select CPU_MODEL_ESP32S3_MINI_1X_N8 select HAS_ESP_JTAG select HAS_HIGHLEVEL_STDIO select HAS_PERIPH_ADC select HAS_PERIPH_PWM select HAS_PERIPH_SPI select HAS_PERIPH_UART select HAS_PERIPH_USBDEV select HAS_SDCARD_SPI select HAS_TINYUSB_DEVICE select HAVE_MTD_SDCARD_DEFAULT select HAVE_ST7789 select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT # Only this board has a requirement to use USB_BOARD_RESET with STDIO_USB_SERIAL_JTAG select MODULE_USB_BOARD_RESET if MODULE_STDIO_USB_SERIAL_JTAG select REQUIRES_USB_STDIO if MODULE_USBUS || MODULE_TINYUSB_DEVICE choice STDIO_IMPLEMENTATION default MODULE_STDIO_CDC_ACM if MODULE_USBUS default MODULE_STDIO_TINYUSB_CDC_ACM if MODULE_TINYUSB_DEVICE default MODULE_STDIO_USB_SERIAL_JTAG endchoice source "$(RIOTBOARD)/common/esp32s3/Kconfig"