rtic
rtic copied to clipboard
rtic-monotonics v2.0.2 not compiling
rtic-monotonics v2.0.2 fails to compile with this error:
error[E0599]: no method namedfetch_addfound for structportable_atomic::AtomicU32in the current scope
at rtic-monotonics-2.0.2\src\systick.rs:106:25 and rtic-monotonics-2.0.2\src\systick.rs:126:25
This project has the following config: ` [build] target = "thumbv6m-none-eabi"
[unstable] build-std = ["core"] `
Hi @MikeGstefan
Have you enabled the feature on portable-atomic to emulate CAS instructions for thumbv6?
I just ran into this. I was able to hack around it by adding portable-atomic to my project and enabling critical-section since rtic-monotonics provides no way to enable this feature.
I ran into this as well. Might be useful to add some docs for this?
See https://github.com/rtic-rs/rtic/pull/977