Skip to content
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

New shield Waveshare Pico Shields #184

Merged
merged 23 commits into from
Jan 16, 2024
Merged

New shield Waveshare Pico Shields #184

merged 23 commits into from
Jan 16, 2024

Conversation

rexut
Copy link
Member

@rexut rexut commented Jan 14, 2024

New shield support for:

Also some minor fixes applied to increase the compatibility between boards and shields. In preparation of the upcoming "led-panel" driver, the color order for all WS8212 digital RGB LED definitions in device tree are now RGB (no GRB as before). All WS2812 animations in the Bridle documentation were renewed with a size optimized version.

Some improvements were made, for example on all RP2040 systems the on-chip clock-controller was enabled but not properly configured. Now, the systems will come up with a default configuration without any clock connection to the outside (empty pinmux group).

Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@rexut
Copy link
Member Author

rexut commented Jan 14, 2024

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

The new shield documentation is pre-rendered here:

Short notes for the first time test is here:

@rexut rexut marked this pull request as draft January 16, 2024 06:47
rexut added 18 commits January 16, 2024 08:11
As unpredictable crashes were repeatedly observed, the stack size
of the most important core functions has been increased (doubled).
The previous use of printk() has been replaced by LOG_INF().

Signed-off-by: Stephan Linz <[email protected]>
rexut added 5 commits January 16, 2024 08:11
Tested with Zephyr upstream sample `zephyr/samples/drivers/led_ws2812'
on wollowing boards:

* Raspberry Pi Pico
* Raspberry Pi Pico W
* Waveshare RP2040-Plus
* Waveshare RP2040-LCD-0.96

Signed-off-by: Stephan Linz <[email protected]>
This sample application periodically measures the
ambient temperature and air pressure from the LPS22HB
and the chip temperature, acceleration, angular velocity
and the terrestrial magnetism from the MPU-9250 (ICM-20948).

The result is written to the console.

Signed-off-by: Stephan Linz <[email protected]>
supported:

* TP: LPS22HB
* DOF: MPU-9250

Signed-off-by: Stephan Linz <[email protected]>
@rexut rexut marked this pull request as ready for review January 16, 2024 11:28
@rexut rexut changed the title New shield Waveshare Pico RGB LED New shield Waveshare Pico Shields Jan 16, 2024
Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

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

LGTM, many thanks

@rexut rexut merged commit 76586bf into main Jan 16, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HW] Waveshare Pico 10-DOF IMU Sensor [HW] Waveshare Pico RGB LED
2 participants