[WIP] Added support for AT32F415#1
Open
HorrorTroll wants to merge 1 commit into
Open
Conversation
zhaqian12
reviewed
Apr 18, 2024
| OTG1_GLOBAL->gccfg_bit.pwrdown = TRUE; | ||
| OTG1_GLOBAL->gccfg_bit.vbusig = TRUE; | ||
| OTG1_GLOBAL->gccfg_bit.avalidsesen = FALSE; | ||
| OTG1_GLOBAL->gccfg_bit.bvalidsesen = FALSE; |
There was a problem hiding this comment.
Enable this, and then test it.
Suggested change
| OTG1_GLOBAL->gccfg_bit.bvalidsesen = FALSE; | |
| OTG1_GLOBAL->gccfg_bit.bvalidsesen = TRUE; |
Author
There was a problem hiding this comment.
I've just tried, but it still just giving me USB not recognized error after waiting 5 or 10 seconds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm tried to added support AT32F415 on TinyUSB, it just for in case if there are people want something to choose between CherryUSB.
I've try follow everything, it did get compiled the example of CDC_MSC firmware out. But flashing to the MCU doesn't seem to work, since it just sending error about USB not recognized. If you have some free time, could you take a look for review. Thanks
Notes:
Your project of CherryUF2 is really good and it work great. Oh btw, can I reuse
UF2_FAMILY_IDon your CherryUF2?