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

Correct stm32g4 comparator register offsets. #335

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Conversation

lynaghk
Copy link
Contributor

@lynaghk lynaghk commented Feb 12, 2020

Thanks for all your work on this project, it's really cool to be able to write Rust on microcontrollers!

In my YAML patch I quoted the offsets so they're written out as hex in the generated SVD to match section 23.6.2 in STM reference manual RM440:

image

I've verified that the patch works to correct COMP6 on an stm32g474 nucleo board.

I've quoted the offsets so they're written in hex in the generated SVD.
This matches section 23.6.2 in STM reference manual RM440.
Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the patch!

bors r+

bors bot added a commit that referenced this pull request Feb 12, 2020
335: Correct stm32g4 comparator register offsets. r=adamgreig a=lynaghk

Thanks for all your work on this project, it's really cool to be able to write Rust on microcontrollers!

In my YAML patch I quoted the offsets so they're written out as hex in the generated SVD to match section 23.6.2 in STM reference manual RM440:

![image](https://user-images.githubusercontent.com/147919/74368849-41526a80-4d89-11ea-9c80-9ceb40c3d52d.png)

I've verified that the patch works to correct COMP6 on an stm32g474 nucleo board.

Co-authored-by: Kevin J. Lynagh <kevin@keminglabs.com>
@bors
Copy link
Contributor

bors bot commented Feb 12, 2020

Build succeeded

@bors bors bot merged commit 2e65ff6 into stm32-rs:master Feb 12, 2020
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.

None yet

2 participants