Skip to content

use portable-atomic & exclude alloc::sync::Arc where it is not available#71

Open
stepkun wants to merge 1 commit into
thomcc:mainfrom
stepkun:main
Open

use portable-atomic & exclude alloc::sync::Arc where it is not available#71
stepkun wants to merge 1 commit into
thomcc:mainfrom
stepkun:main

Conversation

@stepkun
Copy link
Copy Markdown

@stepkun stepkun commented May 1, 2026

I added the conditional compilations to exclude the implementations for 'alloc::sync::Arc' for embedded targets where this Arc is not available (e.g. thumbv6m-none-eabi & riscv32imac-unknown-none-elf)

I also changed to use the crate 'portable-atomic' for atomics, which allows to use 'arcstr' in hopefully all the embedded platforms supported by embassy.

I tested the compile for all the targets and verified proper execution on old pi pico and some other MCU's.

Closes #70

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.

Compile for some embedded targets fails

1 participant