Skip to content

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

bkleiner added 2 commits May 2, 2021 23:55
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 merged commit 18755bd into iNavFlight:master May 3, 2021
@DzikuVx DzikuVx mentioned this pull request May 3, 2021
13 tasks
@bkleiner bkleiner deleted the bkleiner_h7_enable_usb_voltage_detect branch September 17, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants