FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(usb): integrate PluggableUSB-based USB stack for STM32 by Aymane-ST · Pull Request #2919 · stm32duino/Arduino_Core_STM32 · GitHub

feat(usb): integrate PluggableUSB-based USB stack for STM32 - #2919

Draft
Aymane-ST wants to merge 5 commits into
stm32duino:mainfrom
Aymane-ST:PluggableUSB
Draft

feat(usb): integrate PluggableUSB-based USB stack for STM32#2919
Aymane-ST wants to merge 5 commits into
stm32duino:mainfrom
Aymane-ST:PluggableUSB

Conversation

Aymane-ST commented Mar 2, 2026
edited by fpistm
Loading

Copy link
Copy Markdown
Contributor

Summary

This PR integrates an Arduino-like PluggableUSB architecture into the STM32duino core USB stack, based on the work from Levi--G/USBLibrarySTM32.

The goal is to provide a PluggableUSB-compatible USB stack directly in the core.
This work follows and implements the ideas discussed in:

/cc @Levi--G

Aymane-ST requested a review from fpistm March 2, 2026 12:42
Aymane-ST added enhancement New feature or request on going Currently work on this labels Mar 2, 2026
Co-authored-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
…lict

Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>

Rename and update includes for the builtin STM32 mouse library to `Mouse_STM32` to avoid name
conflicts with the official Arduino `Mouse` library
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Aymane-ST and others added 2 commits March 3, 2026 14:01
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>

pschatzmann commented Jul 7, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Hallo, I was adding USB class 2 audio support to my AudioTools library which is based on TinyUSB.

I was considering to add support for the STM32 USB API, but I noticed that there is no clean extension mechanism. Could you please give me a quick status of your work ? Is there a particular reason why this is stuck ?

Copy link
Copy Markdown
Contributor Author

Hallo, I was adding USB class 2 audio support to my AudioTools library which is based on TinyUSB.

I was considering to add support for the STM32 USB API, but I noticed that there is no clean extension mechanism. Could you please give me a quick status of your work ? Is there a particular reason why this is stuck ?

Hi, thanks for your message.
We are currently studying the possibility of moving to TinyUSB instead of the current ST USB stack, as it could provide a cleaner and lighter integration path.
At the moment, the work is still under analysis, so there is no final decision yet.

pschatzmann commented Jul 8, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

My 5 cents on this: I would suggest to go ahead with this and just add a bit of documentation that highlights that TinyUSB can be used by setting USB Support to NONE. It took me quite a while to figure that one out.

This gives the best of both worlds and frees you from being dependent on the release cycle of TinyUSB...

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request on going Currently work on this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL