Skip to content

adding missing i2c2 SCL pinmap for DISCO_F407G#1203

Merged
fpistm merged 1 commit into
stm32duino:masterfrom
owennewo:master
Oct 16, 2020
Merged

adding missing i2c2 SCL pinmap for DISCO_F407G#1203
fpistm merged 1 commit into
stm32duino:masterfrom
owennewo:master

Conversation

@owennewo

Copy link
Copy Markdown
Contributor

Summary
DISCO_F407G has a pinmap for i2c2 SDA but the matching i2c2 SCL pinmap is commented. This means i2c2 is unusable as there is not SCL pinmap for i2c2.

Simply uncommenting the line fixes the issue.

Validation
I have this board and have tested that the change allows me to use i2c2 with an AS5600 i2c device.

Closing issues
None

@fpistm fpistm added the enhancement New feature or request label Oct 14, 2020
@fpistm fpistm added this to the 2.0.0 milestone Oct 14, 2020
@fpistm
fpistm self-requested a review October 16, 2020 07:33

@fpistm fpistm 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.

Thanks.
I guess it was commented because the pin is the mic clk.
Anyway it can be used for other stuff if mic is not used.

@fpistm
fpistm merged commit 893062d into stm32duino:master Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants