-
Notifications
You must be signed in to change notification settings - Fork 1k
Support for NUCLEO-F031K6 variant #974
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
Conversation
ran astyle for this single file
Hi @N0rbert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @N0rbert ,
Thank you for this PR.
Great Job.
Just few remarks about some pins
Co-Authored-By: Alexandre Bourdiol <50730894+ABOSTM@users.noreply.github.com>
uncommented lines according to review process
I have committed all the stuff. Also I have tested SPI via SD card. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update.
Summary
As it was recommended in #722 (comment) I have added new variant for my NUCLEO-F031K6 board.
This is my first stm32duino variant. I tested it with 1.8.0 and then rebased to master branch.
This PR fixes/implements the following features
The I2C bus is located on D4 (SDA) and D5 (SCL).
I have done some validation - tested the following functionality:
I have not yet tested the SPI bus, but I believe that it will operate normally on D10 (SPI_NSS), D11 (SPI_MOSI), D12 (SPI_MISO) and D13 (SPI_CLK).
Finally I formated the code with Astyle.
I hope that this variant will be useful for somebody. Testers are also welcome.