1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: enable feature tinyusb_device for nRF52 boards

Since tinyUSB is not compatible with periph_usbdev, it can only be used on nRF52 boards that don't use highlevel_stdio.
This commit is contained in:
Gunar Schorcht 2022-09-26 09:57:56 +02:00
parent e26d8523a4
commit 4d1f4347d9
8 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ config BOARD_NRF52840_MDK
select HAS_PERIPH_SPI
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
select HAS_TINYUSB_DEVICE
select HAS_VDD_LC_FILTER_REG1
select HAVE_SAUL_GPIO

View File

@ -8,5 +8,6 @@ FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += vdd_lc_filter_reg1
# Various other features (if any)
FEATURES_PROVIDED += tinyusb_device
include $(RIOTBOARD)/common/nrf52/Makefile.features

View File

@ -14,6 +14,7 @@ config BOARD_NRF52840DK
select CPU_MODEL_NRF52840XXAA
select HAS_PERIPH_PWM
select HAS_PERIPH_USBDEV
select HAS_TINYUSB_DEVICE
select HAS_VDD_LC_FILTER_REG0
select HAVE_MTD_SPI_NOR

View File

@ -5,4 +5,5 @@ include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
# Various other features (if any)
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += tinyusb_device
FEATURES_PROVIDED += vdd_lc_filter_reg0

View File

@ -16,6 +16,7 @@ config BOARD_REEL
select HAS_PERIPH_SPI
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
select HAS_TINYUSB_DEVICE
select HAS_VDD_LC_FILTER_REG1
select HAVE_MMA8X5X

View File

@ -8,5 +8,6 @@ FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += vdd_lc_filter_reg1
# Various other features (if any)
FEATURES_PROVIDED += tinyusb_device
include $(RIOTBOARD)/common/nrf52/Makefile.features

View File

@ -19,6 +19,7 @@ config BOARD_WAVESHARE_NRF52840_EVAL_KIT
select HAS_PERIPH_SPI
select HAS_PERIPH_UART
select HAS_PERIPH_USBDEV
select HAS_TINYUSB_DEVICE
select HAVE_SAUL_GPIO
select HAVE_SDCARD_SPI

View File

@ -12,3 +12,4 @@ FEATURES_PROVIDED += periph_usbdev
# Other features
FEATURES_PROVIDED += arduino
FEATURES_PROVIDED += arduino_pwm
FEATURES_PROVIDED += tinyusb_device