Skip to content

Correct stm32g4 comparator register offsets. - #335

Merged
bors[bot] merged 1 commit into
stm32-rs:masterfrom
lynaghk:master
Feb 12, 2020
Merged

bors[bot] merged 1 commit into
stm32-rs:masterfrom
lynaghk:master

Conversation

@lynaghk

@lynaghk lynaghk commented Feb 12, 2020 •

Copy link
Copy Markdown
Contributor

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.

@adamgreig adamgreig left a comment

Copy link
Copy Markdown
Member

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

bors Bot commented Feb 12, 2020

Copy link
Copy Markdown
Contributor

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.

2 participants