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

board/stm32f723e-dsico: enable internal UMTI USB HS PHY feature

This commit is contained in:
Gunar Schorcht 2022-10-09 17:06:04 +02:00
parent 658d6b69b5
commit f1bc9af67f
4 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,7 @@ config BOARD_STM32F723E_DISCO
select HAS_PERIPH_UART
select HAS_PERIPH_UART_HW_FC
select HAS_PERIPH_USBDEV
select HAS_PERIPH_USBDEV_HS_UTMI
# Put other features for this board (in alphabetical order)
select HAS_TINYUSB_DEVICE

View File

@ -11,6 +11,7 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_uart_hw_fc
FEATURES_PROVIDED += periph_usbdev
FEATURES_PROVIDED += periph_usbdev_hs_utmi
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += tinyusb_device

View File

@ -28,4 +28,10 @@ Use the `term` target to open a terminal:
make BOARD=stm32f723e-disco -C examples/hello-world term
### USB OTG Peripheral Device Driver
By default, the USB OTG FS port is used. To use the USB OTG HS port with the
internal UTMI+ HS PHY, enable the module `periph_usbdev_hs_utmi`:
make BOARD=stm32f723e-disco USEMODULE=periph_usbdev_hs_utmi -C examples/usbus_minimal
*/

View File

@ -35,7 +35,11 @@
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_rtt_default.h"
#if defined(MODULE_PERIPH_USBDEV_HS_UTMI)
#include "cfg_usb_otg_hs_phy_utmi.h"
#else
#include "cfg_usb_otg_fs.h"
#endif
#ifdef __cplusplus
extern "C" {