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

Fix SPI DMA #1

Merged

Conversation

jannic
Copy link

@jannic jannic commented Feb 19, 2024

This fixes the on-target tests.
But we still have to check that we don't have the same issue in other places, where it's not covered by the tests.

The bug is dangerous as there is no warning if we cast &&SSPDR instead of &SSPDR to *const _, but of course the resulting address will be nonsense. This can happen wherever we take the address of some register.

@AkiyukiOkayasu AkiyukiOkayasu merged commit c6d24bc into AkiyukiOkayasu:update-pac-v06 Feb 20, 2024
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