Skip to content

Conversation

keith-packard
Copy link
Contributor

Switch rpi_pico, trusted-firmware-m and cmsis_6 to use picolibc instead of newlib.

Copy link

github-actions bot commented Jul 21, 2025

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

Name Old Revision New Revision Diff
trusted-firmware-m zephyrproject-rtos/trusted-firmware-m@cc80026 (main) zephyrproject-rtos/trusted-firmware-m#134 zephyrproject-rtos/trusted-firmware-m#134/files

DNM label due to: 1 project with PR revision

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

- tee
- name: trusted-firmware-m
revision: 021e2bbd50c215e41710a72e05abce3224f074a7
revision: pull/134/head
Copy link
Contributor

Choose a reason for hiding this comment

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

This is queued for merging but not yet upstream.

Does this mean that you have submitted the changes upstream? (if so please link to that in the TF-M PR commits)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to the Zephyr repository (shown in the revision above). I suppose I should attempt to figure out how to submit upstream to tf-m.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, that looks extremely complicated. Can we get some review here first and see if this change is reasonable?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure. I can also submit the changes upstream for you if needed.
Though I'm not qualified to review the changes in zephyrproject-rtos/trusted-firmware-m#134. I mentioned the PR to upstream maintainers so I hope they can also chime in to tell their opinions. (cc @Anton-TF @adeaarm)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you're willing to shepherd the change upstream, that would be helpful (especially given their email-based submission process).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, the trusted-firmware-m changes are actually passing tests with both Zephyr SDK version 0.17 (+ a few patches) and SDK version 0.18 (alpha4 + a few patches). I think they're ready for review.

Copy link
Contributor

Choose a reason for hiding this comment

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

I still find the commit message (This is queued for merging but not yet upstream.) a tad confusing, please update it when you make changes to the PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

tf-m isn't email based, but uses Gerrit, which admittedly will be kind of foreign to people not using it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the tf-m changes were split out to #94367 and are now passing all tests. I've updated the commit messages in the module to clarify what they do.

@keith-packard keith-packard force-pushed the picolibc-modules branch 2 times, most recently from 452d9a8 to aa05949 Compare July 27, 2025 23:39
@zephyrbot zephyrbot requested a review from ajf58 July 27, 2025 23:39
@soburi
Copy link
Member

soburi commented Aug 1, 2025

@keith-packard

I don't think there's any particular problem. Please rebase.

soburi
soburi previously approved these changes Aug 1, 2025
@keith-packard
Copy link
Contributor Author

@keith-packard

I don't think there's any particular problem. Please rebase.

I'm waiting for SDK 0.17.3 to be used for CI as that is required for this series to actually build.

@wearyzen
Copy link
Contributor

wearyzen commented Aug 7, 2025

@keith-packard the CMSIS_6 PR is merged so you can update the west.yml to point to latest commit.

@zephyrbot zephyrbot added the size: XS A PR changing only a single line of code label Sep 4, 2025
Copy link

sonarqubecloud bot commented Sep 4, 2025

@keith-packard
Copy link
Contributor Author

Split into #94367 #94768 #94358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Flash area: Samples Samples area: Settings Settings subsystem area: TF-M ARM Trusted Firmware-M (TF-M) DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-cmsis_6 manifest-hal_rpi_pico manifest-psa-arch-tests manifest-trusted-firmware-m platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico) size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants