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
boards: shields: Adding support for the waveshare pico ups-b shield #60384
boards: shields: Adding support for the waveshare pico ups-b shield #60384
Conversation
21285d5
to
0447638
Compare
*/ | ||
|
||
&pinctrl{ | ||
i2c1_default: i2c1_default{ |
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.
Please add space before {
.
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.
Not yet fixed.
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.
Offtopic: Please don't push the Resolve conversation
button.
Reviewers usually forget "What I said in yesterday".
It is important sign to remind that pointed out by themselves.
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.
Okay :))
882f8b3
to
b45f159
Compare
*/ | ||
|
||
&pinctrl{ | ||
i2c1_default: i2c1_default{ |
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.
Not yet fixed.
*/ | ||
|
||
&pinctrl{ | ||
i2c1_default: i2c1_default{ |
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.
Offtopic: Please don't push the Resolve conversation
button.
Reviewers usually forget "What I said in yesterday".
It is important sign to remind that pointed out by themselves.
b45f159
to
fc08fc8
Compare
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 this contribution, but this doesn't fit to a shield description.
A correct shield description should be compatible with several boards through the use of a common connector.
I don't see a connector in use here, so this can only be compatible with a unique board and hence doesn't match shield definiton.
See https://docs.zephyrproject.org/latest/hardware/porting/shields.html#board-compatibility
Waveshare Pico UPS-B shield | ||
################################# |
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.
Please fix under line lenght
}; | ||
}; | ||
|
||
pico_i2c1: &i2c1 {}; |
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.
This is a board setting. This definition may likely not fit on all boards.
The common connector would be I2C? The pico can support having multiple I2C devices with I2C0 & I2C1. The shield is setup to use the I2C1 pins. I was going to add support for I2C1 in the default pico_dts but found this commit so I included it in the shield overlay: |
fc08fc8
to
4e70ebe
Compare
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
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.
Please fix pointing out by @erwango.
No additional comments from me.
4e70ebe
to
2ef7b08
Compare
2ef7b08
to
fdf929e
Compare
I added in back support for I2C1 but set it too disabled as default. This was so I didn't have to write i2c1 device logic in the board overlay in the shield directory. |
Is there anything I need to do for this to be merged? |
Please fix pointing out by @erwango. |
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.
Section header underline must be same as title length.
|
29be4f4
to
da0120d
Compare
Adding support for the Waveshare pico ups-b shield with documentation Signed-off-by: Joseph Yates <joeyatessecond@gmail.com>
da0120d
to
5e8ba6a
Compare
Could you take a look, again? |
Adding documentation and support for the Waveshare pico ups-b shield. I have also added a alternate nodelabel for the Raspberry Pi Pico i2c 'pico_i2c'