-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Composite USB on STM32 SDIO boards (experimental) #17222
Add support for Composite USB on STM32 SDIO boards (experimental) #17222
Conversation
If composite USB is enabled then use the composite USB drivers for the onboard SD card. This is in preparation for USB composite changes to ST's STM32 library. Tested on STEVAL board.
Thanks, sorry to bother but this could add sd hosting capabilities to skr pro 1.1? |
Will this conflict with existing SKR Mini * USB composite support that was added separately? |
@thisiskeithb — I don't think so. New code is added that depends on |
FYI - the SD card is available to both Marlin and the PC at the same time. I tried making them mutually exclusive but couldn't figure out how to restart either. |
@thisiskeithb - I just downloaded the SKR Mini schematic. It uses a SPI interface to the SD card so the SDIO changes do not affect it. |
@Keltere - the skr pro 1.1 uses a SPI interface for the SD card so this change does not affect this board. |
39fe6ef
to
7aed32d
Compare
This PR provides the Marlin support for the (hopefully) upcoming USB composite feature (SD card and CDC USB) in the ST STM32 library.
The STM32 library changes are in PR 586.
The changes needed to support the new feature are:
This has been tested on a STEVAL board and a BLACK STM32F407 board.
It has been tested on 16G SD cards.
My 4G SD card does not work with the SDIO interface. I need to look into that.