Skip to content

Support custom Usb reenumerate #500

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

Merged
merged 2 commits into from
Apr 18, 2019
Merged

Conversation

xC0000005
Copy link
Contributor

@xC0000005 xC0000005 commented Apr 16, 2019

Summary

This PR fixes/implements the following bugs/features

  • Supports USB custom reenumerate. The Malyan M200 V1 board has a pull up circuit that renders the DP pulldown method unreliable.

making the renumerate function weak allows a variant to override it

Validation

  • Ensure Travis CI build is passed.
    Tested on Malyan M200 V1 rev 1, 3, and 4 (STM32F103) and on Malyan M200 V2 (STM32F070) to make sure it didn't affect others.

Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should not be in the PR:
cores/arduino/stm32/usb/usbd_if.h.gch

One note, it should be better to not pull/merge original master in your fork.
This bring lot of pollution in the PR. You can refers to the contributing guidelines.
Simply fetch origin then push fork master on original master align properly the master then you can easily rebase your branch.

@xC0000005
Copy link
Contributor Author

I'll update it once I've done that, thanks.

Remove unnecessary extern "C" declaration.
Co-Authored-By: xC0000005 <32139633+xC0000005@users.noreply.github.com>
@fpistm fpistm added the enhancement New feature or request label Apr 18, 2019
@fpistm fpistm added this to the 1.6.0 milestone Apr 18, 2019
@fpistm fpistm merged commit f9f4340 into stm32duino:master Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants