Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yunqingabc
rt-thread
提交
574e11f6
R
rt-thread
项目概览
yunqingabc
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
574e11f6
编写于
10月 25, 2021
作者:
G
guo
提交者:
GitHub
10月 25, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5183 from tfx2001/tinyusb_stm32
[bsp][stm32] add TinyUSB support
上级
df634978
c1d3d874
变更
14
显示空白变更内容
内联
并排
Showing
14 changed file
with
20 addition
and
13 deletion
+20
-13
bsp/stm32/libraries/STM32F0xx_HAL/SConscript
bsp/stm32/libraries/STM32F0xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32F1xx_HAL/SConscript
bsp/stm32/libraries/STM32F1xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32F2xx_HAL/SConscript
bsp/stm32/libraries/STM32F2xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32F3xx_HAL/SConscript
bsp/stm32/libraries/STM32F3xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32F4xx_HAL/SConscript
bsp/stm32/libraries/STM32F4xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32F7xx_HAL/SConscript
bsp/stm32/libraries/STM32F7xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32G4xx_HAL/SConscript
bsp/stm32/libraries/STM32G4xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32H7xx_HAL/SConscript
bsp/stm32/libraries/STM32H7xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32L0xx_HAL/SConscript
bsp/stm32/libraries/STM32L0xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32L1xx_HAL/SConscript
bsp/stm32/libraries/STM32L1xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32L4xx_HAL/SConscript
bsp/stm32/libraries/STM32L4xx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
+1
-1
bsp/stm32/libraries/STM32WBxx_HAL/SConscript
bsp/stm32/libraries/STM32WBxx_HAL/SConscript
+1
-1
components/drivers/Kconfig
components/drivers/Kconfig
+7
-0
未找到文件。
bsp/stm32/libraries/STM32F0xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -42,7 +42,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_spi_ex.c'
]
src
+=
[
'STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_spi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd.c'
]
src
+=
[
'STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32F1xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -33,7 +33,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c'
]
src
+=
[
'STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c'
]
src
+=
[
'STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c'
]
src
+=
[
'STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c'
]
...
...
bsp/stm32/libraries/STM32F2xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -28,7 +28,7 @@ if GetDepend(['RT_USING_I2C']):
if
GetDepend
([
'RT_USING_SPI'
]):
src
+=
[
'STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_spi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pccard.c'
]
src
+=
[
'STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pcd.c'
]
src
+=
[
'STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32F3xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -37,7 +37,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi.c'
]
src
+=
[
'STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi_ex.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd.c'
]
src
+=
[
'STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pcd_ex.c'
]
src
+=
[
'STM32F3xx_HAL_Driver/Src/stm32f3xx_ll_usb.c'
]
...
...
bsp/stm32/libraries/STM32F4xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -36,7 +36,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c'
]
src
+=
[
'STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pccard.c'
]
src
+=
[
'STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c'
]
src
+=
[
'STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32F7xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -41,7 +41,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_spi_ex.c'
]
src
+=
[
'STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pcd.c'
]
src
+=
[
'STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pcd_ex.c'
]
src
+=
[
'STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_hcd.c'
]
...
...
bsp/stm32/libraries/STM32G4xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -37,7 +37,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_spi.c'
]
src
+=
[
'STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_pccard.c'
]
src
+=
[
'STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_pcd.c'
]
src
+=
[
'STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32H7xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -41,7 +41,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi.c'
]
src
+=
[
'STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
# src += ['STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pccard.c']
src
+=
[
'STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c'
]
src
+=
[
'STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32L0xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -38,7 +38,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi_ex.c'
]
src
+=
[
'STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_hcd.c'
]
src
+=
[
'STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pcd.c'
]
src
+=
[
'STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32L1xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -34,7 +34,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32L1xx_HAL_Driver/Src/stm32L1xx_hal_spi.c'
]
src
+=
[
'STM32L1xx_HAL_Driver/Src/stm32L1xx_ll_spi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32L1xx_HAL_Driver/Src/stm32L1xx_hal_pcd.c'
]
src
+=
[
'STM32L1xx_HAL_Driver/Src/stm32L1xx_hal_pcd_ex.c'
]
src
+=
[
'STM32L1xx_HAL_Driver/Src/stm32L1xx_ll_usb.c'
]
...
...
bsp/stm32/libraries/STM32L4xx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -41,7 +41,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c'
]
src
+=
[
'STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_hcd.c'
]
src
+=
[
'STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd.c'
]
src
+=
[
'STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32MPxx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -35,7 +35,7 @@ if GetDepend(['RT_USING_SERIAL']):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_uart.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_uart_ex.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_pccard.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_pcd.c'
]
src
+=
[
'STM32MP1xx_HAL_Driver/Src/stm32mp1xx_hal_pcd_ex.c'
]
...
...
bsp/stm32/libraries/STM32WBxx_HAL/SConscript
浏览文件 @
574e11f6
...
...
@@ -42,7 +42,7 @@ if GetDepend(['RT_USING_SPI']):
src
+=
[
'STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_spi_ex.c'
]
src
+=
[
'STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_qspi.c'
]
if
GetDepend
([
'RT_USING_USB
_HOST'
])
or
GetDepend
([
'RT_USING_USB_DEVICE
'
]):
if
GetDepend
([
'RT_USING_USB'
]):
# src += ['STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_hcd.c']
src
+=
[
'STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pcd.c'
]
src
+=
[
'STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pcd_ex.c'
]
...
...
components/drivers/Kconfig
浏览文件 @
574e11f6
...
...
@@ -623,9 +623,14 @@ menuconfig RT_USING_WIFI
endif
menu "Using USB"
config RT_USING_USB
bool
default n
config RT_USING_USB_HOST
bool "Using USB host"
default n
select RT_USING_USB
if RT_USING_USB_HOST
config RT_USBH_MSTORAGE
...
...
@@ -648,6 +653,8 @@ menu "Using USB"
config RT_USING_USB_DEVICE
bool "Using USB device"
default n
select RT_USING_USB
if RT_USING_USB_DEVICE || RT_USING_USB_HOST
config RT_USBD_THREAD_STACK_SZ
int "usb thread stack size"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录