Quantcast
Viewing all articles
Browse latest Browse all 4922

SDK • Re: Atomics on Pico 2

As of SDK 2.1.0 (well SDK 2.0.0 but there was a stupid bug for cross core use) C/C++ atomics should be fully supported.

On RP2350 for sizes <= 32 bits this is provided by the compiler (so you should check their documentation for that). For RP2040 (and RP2350 for exotically sized atomics incl 64 bits) a spin lock is used.
Does GCC __atomic_test_and_set() work now?

Statistics: Posted by carlk3 — Fri Dec 06, 2024 8:25 pm



Viewing all articles
Browse latest Browse all 4922

Trending Articles