Merge pull request #2676 from Okarss/fsdev_documentation

[FSDEV] Update the STM32 documentation
This commit is contained in:
Ha Thach
2024-06-21 20:45:44 +07:00
committed by GitHub
4 changed files with 39 additions and 17 deletions

View File

@@ -151,8 +151,9 @@ Following CPUs are supported, check out `Supported Devices`_ for comprehensive l
+--------------+------------------------------------------------------------+ +--------------+------------------------------------------------------------+
| Sony | CXD56 | | Sony | CXD56 |
+--------------+------------------------------------------------------------+ +--------------+------------------------------------------------------------+
| ST STM32 | F0, F1, F2, F3, F4, F7, H5, H7, G0, G4, L0, L1, L4, L4+, | | ST STM32 | F0, F1, F2, F3, F4, F7, G0, G4, H5, H7, |
| | U5, WB | | | |
| | L0, L1, L4, L4+, L5, U5, WB |
+--------------+------------------------------------------------------------+ +--------------+------------------------------------------------------------+
| TI | MSP430, MSP432E4, TM4C123 | | TI | MSP430, MSP432E4, TM4C123 |
+--------------+------------------------------------------------------------+ +--------------+------------------------------------------------------------+

View File

@@ -104,21 +104,33 @@ Supported MCUs
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
| | F7 | ✔ | | ✔ | dwc2 | | | | F7 | ✔ | | ✔ | dwc2 | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
| | H7 | ✔ | | | dwc2 | | | | G0 | ✔ | | | stm32_fsdev | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
| | G4 | ✔ | ✖ | ✖ | stm32_fsdev | | | | G4 | ✔ | ✖ | ✖ | stm32_fsdev | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
| | L0, L1 | ✔ | | ✖ | stm32_fsdev | | | | H5 | ✔ | | ✖ | stm32_fsdev | |
| +-----------------------+--------+------+-----------+-------------------+--------------+
| | H7 | ✔ | | ✔ | dwc2 | |
| +-----------------------+--------+------+-----------+-------------------+--------------+
| | L0 | ✔ | ✖ | ✖ | stm32_fsdev | |
| +-----------------------+--------+------+-----------+-------------------+--------------+
| | L1 | ✔ | ✖ | ✖ | stm32_fsdev | |
| +----+------------------+--------+------+-----------+-------------------+--------------+ | +----+------------------+--------+------+-----------+-------------------+--------------+
| | L4 | 4x2, 4x3 | ✔ | ✖ | ✖ | stm32_fsdev | | | | L4 | 4x2, 4x3 | ✔ | ✖ | ✖ | stm32_fsdev | |
| | +------------------+--------+------+-----------+-------------------+--------------+ | | +------------------+--------+------+-----------+-------------------+--------------+
| | | 4x5, 4x6 | ✔ | | | dwc2 | | | | | 4x5, 4x6 | ✔ | | | dwc2 | |
| +----+------------------+--------+------+-----------+-------------------+--------------+ | +----+------------------+--------+------+-----------+-------------------+--------------+
| | L4+ | ✔ | | | dwc2 | | | | L4+ | ✔ | | | dwc2 | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
| | U5 | ✔ | | | dwc2 | | | | L5 | ✔ | | | stm32_fsdev | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +----+------------------+--------+------+-----------+-------------------+--------------+
| | WBx5 | ✔ | | | stm32_fsdev | | | | U5 | 535, 545 | ✔ | | | stm32_fsdev | |
| | +------------------+--------+------+-----------+-------------------+--------------+
| | | 575, 585 | ✔ | | ✖ | dwc2 | |
| | +------------------+--------+------+-----------+-------------------+--------------+
| | | 59x,5Ax,5Fx,5Gx | ✔ | | ✔ | dwc2 | |
| +----+------------------+--------+------+-----------+-------------------+--------------+
| | WBx5 | ✔ | ✖ | ✖ | stm32_fsdev | |
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+ +--------------+-----------------------+--------+------+-----------+-------------------+--------------+
| TI | MSP430 | ✔ | ✖ | ✖ | msp430x5xx | | | TI | MSP430 | ✔ | ✖ | ✖ | msp430x5xx | |
| +-----------------------+--------+------+-----------+-------------------+--------------+ | +-----------------------+--------+------+-----------+-------------------+--------------+
@@ -129,7 +141,9 @@ Supported MCUs
| ValentyUSB | eptri | ✔ | ✖ | ✖ | eptri | | | ValentyUSB | eptri | ✔ | ✖ | ✖ | eptri | |
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+ +--------------+-----------------------+--------+------+-----------+-------------------+--------------+
| WCH | CH32F20x | ✔ | | ✔ | ch32f205 | | | WCH | CH32F20x | ✔ | | ✔ | ch32f205 | |
| +-----------------------+--------+------+-----------+-------------------+--------------+
| | CH32V20x | ✔ | | ✖ | ch32v20x | | | | CH32V20x | ✔ | | ✖ | ch32v20x | |
| +-----------------------+--------+------+-----------+-------------------+--------------+
| | CH32V307 | ✔ | | ✔ | ch32v307 | | | | CH32V307 | ✔ | | ✔ | ch32v307 | |
+--------------+-----------------------+--------+------+-----------+-------------------+--------------+ +--------------+-----------------------+--------+------+-----------+-------------------+--------------+
@@ -137,11 +151,12 @@ Supported MCUs
Table Legend Table Legend
------------ ------------
= =================== ========= =========================
✔ Supported Supported
WIP/partial support Partial support
✖ Not supported Not supported by hardware
= =================== \[empty\] Unknown
========= =========================
Supported Boards Supported Boards
================ ================

View File

@@ -37,14 +37,20 @@
* It also should work with minimal changes for any ST MCU with an "USB A"/"PCD"/"HCD" peripheral. This * It also should work with minimal changes for any ST MCU with an "USB A"/"PCD"/"HCD" peripheral. This
* covers: * covers:
* *
* F04x, F072, F078, 070x6/B 1024 byte buffer * F04x, F072, F078, F070x6/B 1024 byte buffer
* F102, F103 512 byte buffer; no internal D+ pull-up (maybe many more changes?) * F102, F103 512 byte buffer; no internal D+ pull-up (maybe many more changes?)
* F302xB/C, F303xB/C, F373 512 byte buffer; no internal D+ pull-up * F302xB/C, F303xB/C, F373 512 byte buffer; no internal D+ pull-up
* F302x6/8, F302xD/E2, F303xD/E 1024 byte buffer; no internal D+ pull-up * F302x6/8, F302xD/E2, F303xD/E 1024 byte buffer; no internal D+ pull-up
* G0 2048 byte buffer; 32-bit bus; host mode
* G4 1024 byte buffer
* H5 2048 byte buffer; 32-bit bus; host mode
* L0x2, L0x3 1024 byte buffer * L0x2, L0x3 1024 byte buffer
* L1 512 byte buffer * L1 512 byte buffer
* L4x2, L4x3 1024 byte buffer * L4x2, L4x3 1024 byte buffer
* G0 2048 byte buffer * L5 1024 byte buffer
* U0 1024 byte buffer; 32-bit bus
* U535, U545 2048 byte buffer; 32-bit bus; host mode
* WB35, WB55 1024 byte buffer
* *
* To use this driver, you must: * To use this driver, you must:
* - If you are using a device with crystal-less USB, set up the clock recovery system (CRS) * - If you are using a device with crystal-less USB, set up the clock recovery system (CRS)

View File

@@ -190,7 +190,7 @@
#else #else
#error You are using an untested or unimplemented STM32 variant. Please update the driver. #error You are using an untested or unimplemented STM32 variant. Please update the driver.
// This includes L1x0, L1x1, L1x2, L4x2 and L4x3, G1x1, G1x3, and G1x4 // This includes U0
#endif #endif
// This checks if the device has "LPM" // This checks if the device has "LPM"