Skip to content

m-profile: Support picolibc startup mechanism#5

Merged
wearyzen merged 1 commit intozephyrproject-rtos:mainfrom
keith-packard:picolibc
Aug 7, 2025
Merged

m-profile: Support picolibc startup mechanism#5
wearyzen merged 1 commit intozephyrproject-rtos:mainfrom
keith-packard:picolibc

Conversation

@keith-packard
Copy link
Copy Markdown

We don't need to use __cmsis_start when using picolibc; we can call main directly.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 11, 2025

Test Results

   264 files     264 suites   0s ⏱️
    56 tests     54 ✅     2 💤 0 ❌
14 292 runs  12 124 ✅ 2 168 💤 0 ❌

Results for commit 5eb9063.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Collaborator

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

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

If this seems good to upstream let's create an upstream PR now? 🙃

@wearyzen
Copy link
Copy Markdown
Collaborator

wearyzen commented Aug 1, 2025

coming back to this, @keith-packard do you plan to upstream the change first?

@keith-packard
Copy link
Copy Markdown
Author

coming back to this, @keith-packard do you plan to upstream the change first?

Hrm. A complete change would involve additional code and some way to test it all. Maybe just this partial fix which makes it possible to use with external support would be accepted though?

@keith-packard
Copy link
Copy Markdown
Author

ARM-software#246

@tomi-font
Copy link
Copy Markdown
Collaborator

ARM-software#246

Nice. I saw it's already merged. Let's git cherry-pick -x to have the commit hash? unless if @wearyzen wants to do it some other way

@wearyzen
Copy link
Copy Markdown
Collaborator

wearyzen commented Aug 4, 2025

ARM-software#246

Nice. I saw it's already merged. Let's git cherry-pick -x to have the commit hash? unless if @wearyzen wants to do it some other way

I am ok with git cherry-pick -x for now

Use picolibc's _start function instead of providing our own.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit e902f86)
@wearyzen wearyzen merged commit 30a859f into zephyrproject-rtos:main Aug 7, 2025
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants