Skip to content
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

h7: fix vcp on cold boot & dfu reset #6912

Merged

Conversation

bkleiner
Copy link
Collaborator

@bkleiner bkleiner commented May 2, 2021

H7 needs to have usb voltage detect explicitly enabled
reference in betaflight https://github.com/betaflight/betaflight/blob/master/src/main/drivers/serial_usb_vcp.c#L266
should fix the usb not coming up on a cold boot.

Fixes the address given to the bootloader check

was returning the stack addr instead of the table itself
@bkleiner bkleiner changed the title h7: enable usb voltage detection h7: fix vcp on cold boot & dfu reset May 2, 2021
@DzikuVx
Copy link
Member

DzikuVx commented May 3, 2021

Awesome, will try to test as soon as possile!

@DzikuVx DzikuVx added this to the 3.0 milestone May 3, 2021
@DzikuVx
Copy link
Member

DzikuVx commented May 3, 2021

Tested, works like expected! Thanks a lot!

@DzikuVx DzikuVx added this to Done in H7 Support May 3, 2021
@DzikuVx DzikuVx merged commit 18755bd into iNavFlight:master May 3, 2021
@DzikuVx DzikuVx mentioned this pull request May 3, 2021
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants