Skip to content

Conversation

@joeker64
Copy link
Contributor

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'

@zephyrbot zephyrbot added platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico) area: Shields Shields (add-on boards) labels Jul 14, 2023
@joeker64 joeker64 force-pushed the add_pico_ups_shield branch from 21285d5 to 0447638 Compare July 14, 2023 08:25
Copy link
Member

Choose a reason for hiding this comment

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

Please add space before {.

Copy link
Member

Choose a reason for hiding this comment

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

Not yet fixed.

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay :))

@joeker64 joeker64 force-pushed the add_pico_ups_shield branch 3 times, most recently from 882f8b3 to b45f159 Compare July 14, 2023 18:38
@joeker64 joeker64 requested a review from soburi July 15, 2023 10:24
Copy link
Member

Choose a reason for hiding this comment

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

Not yet fixed.

Copy link
Member

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.

@joeker64 joeker64 force-pushed the add_pico_ups_shield branch from b45f159 to fc08fc8 Compare July 22, 2023 19:34
soburi
soburi previously approved these changes Jul 24, 2023
Copy link
Member

@erwango erwango left a 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

Comment on lines 3 to 4
Copy link
Member

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

Copy link
Member

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.

@joeker64
Copy link
Contributor Author

joeker64 commented Aug 1, 2023

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

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:

9eb7ee6

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale label Oct 17, 2023
soburi
soburi previously approved these changes Oct 17, 2023
Copy link
Member

@soburi soburi left a 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.

@joeker64 joeker64 force-pushed the add_pico_ups_shield branch from 2ef7b08 to fdf929e Compare October 18, 2023 16:15
@joeker64 joeker64 requested a review from erwango November 1, 2023 14:28
@joeker64
Copy link
Contributor Author

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.

@joeker64
Copy link
Contributor Author

Is there anything I need to do for this to be merged?

@soburi
Copy link
Member

soburi commented Nov 21, 2023

Is there anything I need to do for this to be merged?

Please fix pointing out by @erwango.

#60384 (comment)
#60384 (comment)

Copy link
Member

@soburi soburi left a 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.

@soburi
Copy link
Member

soburi commented Nov 22, 2023

@joeker64

Commit suggestion is not allowed by CI check.
Please rebase and squash these.
And one point, my first correction is wrong.
Please correct it to the correct number of "#".

@joeker64 joeker64 force-pushed the add_pico_ups_shield branch from 29be4f4 to da0120d Compare November 26, 2023 14:08
Adding support for the Waveshare pico ups-b shield with documentation

Signed-off-by: Joseph Yates <[email protected]>
@joeker64 joeker64 force-pushed the add_pico_ups_shield branch from da0120d to 5e8ba6a Compare November 26, 2023 15:46
@soburi
Copy link
Member

soburi commented Nov 26, 2023

@erwango

Could you take a look, again?

@fabiobaltieri fabiobaltieri merged commit 5ae648d into zephyrproject-rtos:main Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Shields Shields (add-on boards) platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants