Skip to content

Add portable-atomic feature for thumbv6m support - #24

Open
orielhaim wants to merge 1 commit into
trussed-dev:mainfrom
orielhaim:fix/thumbv6m-atomics
Open

orielhaim wants to merge 1 commit into
trussed-dev:mainfrom
orielhaim:fix/thumbv6m-atomics

Conversation

@orielhaim

@orielhaim orielhaim commented Nov 1, 2026 •

Copy link
Copy Markdown

Adds optional portable-atomic support for targets without native atomic RMW operations, including Cortex-M0/M0+ (RP2040) and RISC-V

These targets don't support operations like compare_exchange and fetch_add, causing compilation errors

With the feature enabled, the atomic types come from portable-atomic instead of core, with critical-section support where needed

Default and loom builds remain unchanged

This branch has not been deployed

No deployments
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.

1 participant