Skip to content

Fix bit offset for RMVF in STM32l0x2 and STM32l0x3 #566

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

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

lulf
Copy link
Contributor

@lulf lulf commented Jun 3, 2021

According to the reference manuals for STM32L0x{2, 3}, the RCC_CSR
register RMVF has the offset 23 and not 24. Offset 24 is occupied by a
Firewall reset which is also added in this change

Page 219 in the STM32L0x2 release manual can be used to verify.

According to the reference manuals for STM32L0x{2, 3}, the RCC_CSR
register RMVF has the offset 23 and not 24. Offset 24 is occupied by a
Firewall reset which is also added in this change
@github-actions
Copy link

github-actions bot commented Jun 3, 2021

Memory map comparison

@richardeoin
Copy link
Member

The change itself looks good, thanks! Once small regression - you've accidentally over-written the _modify: section immediately above that's also for the CSR register. If you just delete the _modify line you added then the two sections will be combine and all will be dandy.

@lulf
Copy link
Contributor Author

lulf commented Jul 8, 2021

@richardeoin Thanks, pushed a fix.

@github-actions
Copy link

github-actions bot commented Jul 8, 2021

Memory map comparison

Copy link
Member

@richardeoin richardeoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

bors r+

@bors bors bot merged commit 0996ce1 into stm32-rs:master Jul 8, 2021
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