-
Notifications
You must be signed in to change notification settings - Fork 69
enable dma for USART in stm32f302. added missing hal! implementation #135
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
Conversation
it can build, but failed to run dma serial transfer on my stm32f302r8 device ( transferring garbage data). I think it should not be caused by changes here. I pushed it for reviewing first |
Thanks for your work!
I don't really get how one can help you here. Do you want a review on the working code or help making the DMA work? |
I also think you'll have an easier time finding people willing to review if you made sure all the CI checks pass first. At least speaking for myself, when I see those failing checks I automatically assume this PR is not worth reviewing yet since I would only find the same issues the CI has already found. If you have any specific problems we can help you out with, let us know. But as @strom-und-spiele implied, nobody is going to be able to help you much with figuring out what breaks DMA on your F302, since nobody owns that hardware AFAIK. |
Sure, I'll find the issue myself, I just leave it as a mention. I'll do tests and fix it later. |
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.
Looks reasonable, just a few style requests.
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.
LGTM. Can you also add a changelog entry?
They are different PRs, Should I merge them into one with some text? |
No, just remove the second entry for #132 from the changelog. It's already there (two lines above). |
I have dropped my last commit and forcely pushed |
Hm, now the diff contains changes from other PRs too, that are actually already in master. Not sure what went wrong here. Let me try if I can fix it once I'm back at a PC. |
Because I merge from the upstream, or else, github will not allow merge. |
Sorry, I meant to push my fixup changes to your branch but pushed my master branch instead. This caused an empty diff on this PR, which lead Github to automatically close it. As long as the PR is closed I cannot push to your branch to fix my mistake and as long as the diff is empty I cannot re-open the PR. I took the simple solution of opening a new PR with these changes. Please check out #139. If it looks good to you, I will merge it. |
I think it is fine to me |
enable DMA for USARTs for stm32f302, stm32f334
added missing implementation of USART3 for stm32f302, stm32f334
added missing implementation of USART4, 5 for stm32f303xb/c/d/e, stm32f302xb/c/d/e, stm32f358, stm32f398