~/talk

Using Both Cores of Raspberry Pi Pico with C++OS

Talkat emBO++ 2023 · 2023-03-23..03-25· [embedded-and-hardware, concurrency]
links:none on file
slides:none on file

C++OS now runs both cores of the RP2040 and uses C++20 coroutines plus custom executors and event-based queues to synchronize non‑SMP hardware. Implementation avoids the Pico SDK by generating headers from the SVD, uses spinlock atomics and the RP2040 CPU spinlocks and FIFO for intercore signaling, connects an ISR-to-decoder pipeline with a queue with 16 entries, decodes Opus on the second core (decoder runs on core 1), and falls back to UART fallback for audio input; the system works for demos but contains debugging bugs.

AI-written summary · about

  1. 0:00Start
  2. 5:16Standard Library
  3. 8:00Execution Contexts
  4. 19:39Overview
  5. 22:49Synchronization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.