Skip to content

Commit 044f4d1

Browse files
authored
Merge pull request #2676 from Okarss/fsdev_documentation
[FSDEV] Update the STM32 documentation
2 parents 906c84d + 822ff7b commit 044f4d1

File tree

4 files changed

+39
-17
lines changed

4 files changed

+39
-17
lines changed

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ Following CPUs are supported, check out `Supported Devices`_ for comprehensive l
151151
+--------------+------------------------------------------------------------+
152152
| Sony | CXD56 |
153153
+--------------+------------------------------------------------------------+
154-
| ST STM32 | F0, F1, F2, F3, F4, F7, H5, H7, G0, G4, L0, L1, L4, L4+, |
155-
| | U5, WB |
154+
| ST STM32 | F0, F1, F2, F3, F4, F7, G0, G4, H5, H7, |
155+
| | |
156+
| | L0, L1, L4, L4+, L5, U5, WB |
156157
+--------------+------------------------------------------------------------+
157158
| TI | MSP430, MSP432E4, TM4C123 |
158159
+--------------+------------------------------------------------------------+

docs/reference/supported.rst

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,33 @@ Supported MCUs
104104
| +-----------------------+--------+------+-----------+-------------------+--------------+
105105
| | F7 || || dwc2 | |
106106
| +-----------------------+--------+------+-----------+-------------------+--------------+
107-
| | H7 || | | dwc2 | |
107+
| | G0 || | | stm32_fsdev | |
108108
| +-----------------------+--------+------+-----------+-------------------+--------------+
109109
| | G4 |||| stm32_fsdev | |
110110
| +-----------------------+--------+------+-----------+-------------------+--------------+
111-
| | L0, L1 |||| stm32_fsdev | |
111+
| | H5 || || stm32_fsdev | |
112+
| +-----------------------+--------+------+-----------+-------------------+--------------+
113+
| | H7 || || dwc2 | |
114+
| +-----------------------+--------+------+-----------+-------------------+--------------+
115+
| | L0 |||| stm32_fsdev | |
116+
| +-----------------------+--------+------+-----------+-------------------+--------------+
117+
| | L1 |||| stm32_fsdev | |
112118
| +----+------------------+--------+------+-----------+-------------------+--------------+
113119
| | L4 | 4x2, 4x3 |||| stm32_fsdev | |
114120
| | +------------------+--------+------+-----------+-------------------+--------------+
115-
| | | 4x5, 4x6 || | | dwc2 | |
121+
| | | 4x5, 4x6 || | | dwc2 | |
116122
| +----+------------------+--------+------+-----------+-------------------+--------------+
117-
| | L4+ || | | dwc2 | |
118-
| +-----------------------+--------+------+-----------+-------------------+--------------+
119-
| | U5 || || dwc2 | |
123+
| | L4+ || || dwc2 | |
120124
| +-----------------------+--------+------+-----------+-------------------+--------------+
121-
| | WBx5 || | | stm32_fsdev | |
125+
| | L5 |||| stm32_fsdev | |
126+
| +----+------------------+--------+------+-----------+-------------------+--------------+
127+
| | U5 | 535, 545 || || stm32_fsdev | |
128+
| | +------------------+--------+------+-----------+-------------------+--------------+
129+
| | | 575, 585 || || dwc2 | |
130+
| | +------------------+--------+------+-----------+-------------------+--------------+
131+
| | | 59x,5Ax,5Fx,5Gx || || dwc2 | |
132+
| +----+------------------+--------+------+-----------+-------------------+--------------+
133+
| | WBx5 |||| stm32_fsdev | |
122134
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
123135
| TI | MSP430 |||| msp430x5xx | |
124136
| +-----------------------+--------+------+-----------+-------------------+--------------+
@@ -129,19 +141,22 @@ Supported MCUs
129141
| ValentyUSB | eptri |||| eptri | |
130142
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
131143
| WCH | CH32F20x || || ch32f205 | |
144+
| +-----------------------+--------+------+-----------+-------------------+--------------+
132145
| | CH32V20x || || ch32v20x | |
146+
| +-----------------------+--------+------+-----------+-------------------+--------------+
133147
| | CH32V307 || || ch32v307 | |
134148
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+
135149

136150

137151
Table Legend
138152
------------
139153

140-
= ===================
141-
✔ Supported
142-
⚠ WIP/partial support
143-
✖ Not supported
144-
= ===================
154+
========= =========================
155+
✔ Supported
156+
⚠ Partial support
157+
✖ Not supported by hardware
158+
\[empty\] Unknown
159+
========= =========================
145160

146161
Supported Boards
147162
================

src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,20 @@
3737
* It also should work with minimal changes for any ST MCU with an "USB A"/"PCD"/"HCD" peripheral. This
3838
* covers:
3939
*
40-
* F04x, F072, F078, 070x6/B 1024 byte buffer
40+
* F04x, F072, F078, F070x6/B 1024 byte buffer
4141
* F102, F103 512 byte buffer; no internal D+ pull-up (maybe many more changes?)
4242
* F302xB/C, F303xB/C, F373 512 byte buffer; no internal D+ pull-up
4343
* F302x6/8, F302xD/E2, F303xD/E 1024 byte buffer; no internal D+ pull-up
44+
* G0 2048 byte buffer; 32-bit bus; host mode
45+
* G4 1024 byte buffer
46+
* H5 2048 byte buffer; 32-bit bus; host mode
4447
* L0x2, L0x3 1024 byte buffer
4548
* L1 512 byte buffer
4649
* L4x2, L4x3 1024 byte buffer
47-
* G0 2048 byte buffer
50+
* L5 1024 byte buffer
51+
* U0 1024 byte buffer; 32-bit bus
52+
* U535, U545 2048 byte buffer; 32-bit bus; host mode
53+
* WB35, WB55 1024 byte buffer
4854
*
4955
* To use this driver, you must:
5056
* - If you are using a device with crystal-less USB, set up the clock recovery system (CRS)

src/portable/st/stm32_fsdev/fsdev_stm32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190

191191
#else
192192
#error You are using an untested or unimplemented STM32 variant. Please update the driver.
193-
// This includes L1x0, L1x1, L1x2, L4x2 and L4x3, G1x1, G1x3, and G1x4
193+
// This includes U0
194194
#endif
195195

196196
// This checks if the device has "LPM"

0 commit comments

Comments
 (0)