mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Revert "boards/stm32f429-disc*: do not use periph_usbdev_hs"
This reverts commit 05160f9c2a
.
This commit is contained in:
parent
8044e578b5
commit
329727784b
@ -36,7 +36,7 @@ extern "C" {
|
|||||||
#define DWC2_USB_OTG_HS_ENABLED
|
#define DWC2_USB_OTG_HS_ENABLED
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Common USB OTG HS configuration with on-chip FS PHY
|
* @brief Common USB OTG FS configuration
|
||||||
*/
|
*/
|
||||||
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[] = {
|
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[] = {
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,7 @@ config BOARD_STM32F429I_DISC1
|
|||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
|
select HAS_PERIPH_USBDEV_HS
|
||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
select HAS_RIOTBOOT
|
select HAS_RIOTBOOT
|
||||||
@ -38,4 +39,6 @@ config BOARD_STM32F429I_DISC1
|
|||||||
select HAVE_I3G4250D
|
select HAVE_I3G4250D
|
||||||
select HAVE_L3GD20
|
select HAVE_L3GD20
|
||||||
|
|
||||||
|
select MODULE_PERIPH_USBDEV_HS if MODULE_PERIPH_USBDEV
|
||||||
|
|
||||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
ifneq (,$(filter periph_usbdev,$(USEMODULE)))
|
||||||
|
USEMODULE += periph_usbdev_hs
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
USEMODULE += saul_gpio
|
USEMODULE += saul_gpio
|
||||||
USEMODULE += l3gxxxx
|
USEMODULE += l3gxxxx
|
||||||
|
@ -8,6 +8,7 @@ FEATURES_PROVIDED += periph_spi
|
|||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
FEATURES_PROVIDED += periph_usbdev_hs
|
||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
|
Loading…
Reference in New Issue
Block a user