-
Notifications
You must be signed in to change notification settings - Fork 2k
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
boards/blxxxpill: configure usbdev_fs #17812
Conversation
Are you aware of the wrong pull resistor strength bug of some early bluepill boards? Most USB hosts just worked anyway, but if you have such a board and a nitpicky machine, you might have to replace two resistors on the board. |
My first guess (without a proper look on datasheet) would be it needs some clock configuration to enable this IP. |
Well I do get some interrupts (just The USB interface works pretty much immediately with this minimal example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see inline
1238f23
to
5051feb
Compare
Murdock results✔️ PASSED d3d89aa boards/blxxxpill: configure usbdev_fs
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
2312b3e
to
da2473c
Compare
let's drop da2473c for now |
da2473c
to
8e9ba4b
Compare
Doesn't it work or what is the reason for that? Using the USB connector for the console would make the life much easier. |
No it works fine. The problem is that it pushes some apps past the limit on the smaller boards and there was also a Kconfig issue remaining. I simply dropped the default STDIO change to get this in before the feature freeze, then provide it in a follow up PR. |
Please extend the Makefile.ci as required and squash. Compile test can be skipped this time. |
8e9ba4b
to
d3d89aa
Compare
This fixes incorrect module selection for STM32F1 boards with feature periph_usbdev, a regression introduced by RIOT-OS#17812
This fixes incorrect module selection for STM32F1 boards with feature periph_usbdev, a regression introduced by RIOT-OS#17812
This fixes incorrect module selection for STM32F1 boards with feature periph_usbdev, a regression introduced by RIOT-OS#17812
Contribution description
This attempts to enable the
usbdev_fs
module on STM32F1.Unfortunately this does not work yet - It builds, but it looks like something else needs to be enabled on this platform.
Nothing shows up in
dmesg
when the USB test code is run (also no errors).I don't know where to start looking for what it could be, but looking for some pointers to get USB support for this popular board.
Testing procedure
Flash e.g.
tests/usbus_hid
ortests/usbus_cdc_acm_stdio
on a bluepill or blackpill board.Issues/PRs references