~/talk

Raspberry Pi Pico with C++OS: Coroutines and std::execution in Embedded Systems

Talkat ACCU 2023 · 2023-04-19..04-22· [embedded-and-hardware, c-and-cpp]
links:none on file
slides:none on file

Build uses an RP2040 with nearly 300 KB RAM and two Cortex‑M0+ cores: core 0 runs I/O and an exit (preemptive) executor, core 1 runs a single‑context decoder. C++OS implements parts of the C++ standard concurrency API on bare metal including mutex and condition_variable, partial atomics behind a single spinlock, event‑based lock‑free queues and a preview std::execution style executor model. Opus decoding pipeline (UART→Opus queue→PCM queue→I2S DMA) runs on the two cores and produces audio (rough but functional); Wi‑Fi modem integration fails due to poor docs. Coroutines and a coroutine event loop are prototyped but not yet finished.

AI-written summary · about

  1. 0:00Introduction & Concept
  2. 27:01Demo & Setup
  3. 34:25Hardware & Synchronization
  4. 52:01Queue Implementation
  5. 56:50Multicore & Atomics
  6. 1:07:18Final Speaker Demo
  7. 1:12:37Future Work & Conclusion
~/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.