mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
board/stm32f723e-dsico: enable internal UMTI USB HS PHY feature
This commit is contained in:
parent
658d6b69b5
commit
f1bc9af67f
@ -22,6 +22,7 @@ config BOARD_STM32F723E_DISCO
|
|||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
select HAS_PERIPH_UART_HW_FC
|
select HAS_PERIPH_UART_HW_FC
|
||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
|
select HAS_PERIPH_USBDEV_HS_UTMI
|
||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
select HAS_TINYUSB_DEVICE
|
select HAS_TINYUSB_DEVICE
|
||||||
|
@ -11,6 +11,7 @@ FEATURES_PROVIDED += periph_timer
|
|||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
FEATURES_PROVIDED += periph_uart_hw_fc
|
FEATURES_PROVIDED += periph_uart_hw_fc
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
FEATURES_PROVIDED += periph_usbdev_hs_utmi
|
||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += tinyusb_device
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
@ -28,4 +28,10 @@ Use the `term` target to open a terminal:
|
|||||||
|
|
||||||
make BOARD=stm32f723e-disco -C examples/hello-world term
|
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
|
||||||
*/
|
*/
|
||||||
|
@ -35,7 +35,11 @@
|
|||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
#include "clk_conf.h"
|
#include "clk_conf.h"
|
||||||
#include "cfg_rtt_default.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"
|
#include "cfg_usb_otg_fs.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
Reference in New Issue
Block a user