Skip to content

west.yaml: update hal_rpi_pico to be based on Pico SDK 2.1.0 #84204

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

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

ajf58
Copy link
Collaborator

@ajf58 ajf58 commented Jan 19, 2025

This should not be merged until zephyrproject-rtos/hal_rpi_pico#8 has been approved .

Summary

  • Update hal_rpi_pico to the 2.1.0 release. This brings in a number of bugfixes and improvements.
  • Correct rpi_pico_timer. Updating the HAL to use a newer version of the SDK brings in a bugfix in the SDK, which in turn exposes a bug in the rpi_pico_timer. Fix the bug and extend the test coverage to confirm and verify this.

This PR supersedes #82680

Testing

Locally tested against the Raspberry Pico 2, with no regressions identified. Build-only testing for a couple of RP2040-based boards with no issues found.

Fixes #82452

@zephyrbot
Copy link
Collaborator

zephyrbot commented Jan 19, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_rpi_pico zephyrproject-rtos/hal_rpi_pico@79ee0f9 zephyrproject-rtos/hal_rpi_pico@7b57b24 (zephyr) zephyrproject-rtos/hal_rpi_pico@79ee0f9e..7b57b245

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_rpi_pico DNM This PR should not be merged (Do Not Merge) labels Jan 19, 2025
nordic-krch
nordic-krch previously approved these changes Jan 22, 2025
@soburi
Copy link
Member

soburi commented Jan 22, 2025

@ajf58
hal_rpi_pico update has been merged. Please update the hash.

@carlescufi
Copy link
Member

This should not be merged until zephyrproject-rtos/hal_rpi_pico#8 has been approved .

@ajf58 thanks for the note, but FYI this is handled automatically by the Manifest GitHub action, which will add a DNM label until the PR points to a SHA (which implies that the module PR has been merged).

carlescufi
carlescufi previously approved these changes Jan 23, 2025
@ajf58 ajf58 dismissed stale reviews from carlescufi and nordic-krch via 2be2514 January 23, 2025 18:59
@ajf58 ajf58 force-pushed the update_rpi_pico_sdk branch from e5254b5 to 2be2514 Compare January 23, 2025 18:59
soburi and others added 2 commits January 23, 2025 19:00
This version of the HAL is based on the 2.1.0 release of the Raspberry
Pi Pico SDK.

Update `modules/hal_rpi_pico/CMakeLists.txt` to add the new include
directories to the build. See https://github.com/raspberrypi/pico-sdk/releases/tag/2.1.0
for more information.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Changes introduced in 293b9a1 didn't
verify correct behaviour when running `TIMER1` with `TIMER0` is paused,
and was reporting the wrong tick counter being incremented. Correct this
and extend the testing to verify correct behaviour.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
@ajf58 ajf58 force-pushed the update_rpi_pico_sdk branch from 2be2514 to 7a89fd7 Compare January 23, 2025 19:00
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Jan 23, 2025
@ajf58
Copy link
Collaborator Author

ajf58 commented Jan 23, 2025

Latest push is a rebase off an updated main as well as updating the west manifest now that zephyrproject-rtos/hal_rpi_pico#8 has been approved and merged.

@soburi soburi self-assigned this Jan 23, 2025
@kartben kartben merged commit 48e179e into zephyrproject-rtos:main Jan 23, 2025
26 of 27 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.

Update hal_rpi_pico to be based on SDK v2.1
6 participants