mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 18:52:44 +01:00
boards: enable feature tinyusb_device for ESP32 boards
This commit is contained in:
parent
8696783853
commit
2be7609677
@ -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_1U
|
||||||
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1R
|
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1R
|
||||||
select HAS_PERIPH_USBDEV if BOARD_VERSION_ESP32S2_DEVKITC_1RU
|
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
|
choice
|
||||||
bool "ESP32-S2-DevKit board version"
|
bool "ESP32-S2-DevKit board version"
|
||||||
|
@ -43,4 +43,5 @@ FEATURES_PROVIDED += arduino
|
|||||||
|
|
||||||
ifneq (,$(filter esp32s2-devkitc-%,$(BOARD_VERSION)))
|
ifneq (,$(filter esp32s2-devkitc-%,$(BOARD_VERSION)))
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
endif
|
endif
|
@ -44,6 +44,7 @@ config BOARD_ESP32S3_DEVKIT
|
|||||||
select HAS_PERIPH_PWM
|
select HAS_PERIPH_PWM
|
||||||
select HAS_PERIPH_SPI
|
select HAS_PERIPH_SPI
|
||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
|
select HAS_TINYUSB_DEVICE
|
||||||
|
|
||||||
choice
|
choice
|
||||||
bool "ESP32-S3-DevKit board version"
|
bool "ESP32-S3-DevKit board version"
|
||||||
|
@ -39,3 +39,4 @@ FEATURES_PROVIDED += esp_jtag
|
|||||||
|
|
||||||
FEATURES_PROVIDED += arduino
|
FEATURES_PROVIDED += arduino
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
Loading…
Reference in New Issue
Block a user