mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/b-u585i-iot002a: add USB OTG FS support
This commit is contained in:
parent
db10337b11
commit
6f793c6901
@ -17,6 +17,10 @@ config BOARD_B_U585I_IOT02A
|
|||||||
select HAS_PERIPH_I2C
|
select HAS_PERIPH_I2C
|
||||||
select HAS_PERIPH_TIMER
|
select HAS_PERIPH_TIMER
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
select HAS_PERIPH_USBDEV
|
||||||
|
|
||||||
|
# Put other features for this board (in alphabetical order)
|
||||||
|
select HAS_TINYUSB_DEVICE
|
||||||
|
|
||||||
# Clock configuration
|
# Clock configuration
|
||||||
select BOARD_HAS_LSE
|
select BOARD_HAS_LSE
|
||||||
|
@ -5,5 +5,7 @@ CPU_MODEL = stm32u585ai
|
|||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
#include "clk_conf.h"
|
#include "clk_conf.h"
|
||||||
#include "cfg_timer_tim5.h"
|
#include "cfg_timer_tim5.h"
|
||||||
|
#include "cfg_usb_otg_fs_u5.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
Reference in New Issue
Block a user