mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/stm32f429-disc*: do not use periph_usbdev_hs
The board uses the USB OTG HS peripheral together with the on-hip FS PHY. Using the `periph_usbdev_hs` module increases the EP data size for the CDC ECM bulk endpoint to 512 bytes, which does not work for the FS interface. Module `periph_usbdev_hs` is therefore not used.
This commit is contained in:
parent
a7c857dd60
commit
05160f9c2a
@ -36,7 +36,7 @@ extern "C" {
|
||||
#define DWC2_USB_OTG_HS_ENABLED
|
||||
|
||||
/**
|
||||
* @brief Common USB OTG FS configuration
|
||||
* @brief Common USB OTG HS configuration with on-chip FS PHY
|
||||
*/
|
||||
static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[] = {
|
||||
{
|
||||
|
@ -20,7 +20,6 @@ config BOARD_STM32F429I_DISC1
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_PERIPH_USBDEV_HS
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
select HAS_RIOTBOOT
|
||||
@ -39,6 +38,4 @@ config BOARD_STM32F429I_DISC1
|
||||
select HAVE_I3G4250D
|
||||
select HAVE_L3GD20
|
||||
|
||||
select MODULE_PERIPH_USBDEV_HS if MODULE_PERIPH_USBDEV
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -1,7 +1,3 @@
|
||||
ifneq (,$(filter periph_usbdev,$(USEMODULE)))
|
||||
USEMODULE += periph_usbdev_hs
|
||||
endif
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
USEMODULE += l3gxxxx
|
||||
|
@ -8,7 +8,6 @@ FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_usbdev
|
||||
FEATURES_PROVIDED += periph_usbdev_hs
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += riotboot
|
||||
|
Loading…
Reference in New Issue
Block a user