1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

boards: enable feature tinyusb_device for ESP32 boards

This commit is contained in:
Gunar Schorcht 2022-09-28 23:56:58 +02:00
parent 8696783853
commit 2be7609677
4 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,10 @@ config BOARD_ESP32S2_DEVKIT
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1U
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1R
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1RU
select HAS_TINYUSB_DEVICE if BOARD_VERSION_ESP32S2_DEVKITC_1
select HAS_TINYUSB_DEVICE if BOARD_VERSION_ESP32S2_DEVKITC_1U
select HAS_TINYUSB_DEVICE if BOARD_VERSION_ESP32S2_DEVKITC_1R
select HAS_TINYUSB_DEVICE if BOARD_VERSION_ESP32S2_DEVKITC_1RU
choice
bool "ESP32-S2-DevKit board version"

View File

@ -43,4 +43,5 @@ FEATURES_PROVIDED += arduino
ifneq (,$(filter esp32s2-devkitc-%,$(BOARD_VERSION)))
FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += tinyusb_device
endif

View File

@ -44,6 +44,7 @@ config BOARD_ESP32S3_DEVKIT
select HAS_PERIPH_PWM
select HAS_PERIPH_SPI
select HAS_PERIPH_USBDEV
select HAS_TINYUSB_DEVICE
choice
bool "ESP32-S3-DevKit board version"

View File

@ -39,3 +39,4 @@ FEATURES_PROVIDED += esp_jtag
FEATURES_PROVIDED += arduino
FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += tinyusb_device