~/talk

Using C++14 in an Embedded “SuperLoop” Firmware

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

Claims that C++14 is practical in a tightly constrained superloop firmware with concrete limits: deployed Prime Air firmware runs on a hexacopter with six motors, flies >60 mph and carries <5 lb, so the build actually ships and flies. Target hardware is Cortex‑M (no MMU), toolchain is cross‑compiler (arm‑none‑eabi g++ style) with newlib‑nano, heavy warnings and static analyzers. Runtime choices are specific: no heap, no exceptions, placement new only, use ring buffers + DMA, ISR minimization, watchdogs — it works in production.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Primary Drone
  3. 3:21Outline
  4. 5:55Firmware
  5. 7:17Types of Firmware
  6. 9:03Hardware Environment
  7. 16:22Limitations
  8. 18:40Missing Features
  9. 20:49Eliminate Runtime Errors
  10. 24:07Undefined Behavior
  11. 25:27Whats left
  12. 26:34What is this system like
  13. 29:07System assumptions
  14. 31:04ISR
  15. 32:08Memory
  16. 34:59Boot Sequence
  17. 37:07Build Environment
  18. 37:43Data Structures
  19. 39:58State Machines
  20. 40:43Bulk Transfer
  21. 43:10Language Restrictions
  22. 43:23Loop Bounds
  23. 44:29pointers
  24. 44:57exceptions
  25. 48:27Heap withdrawal
  26. 50:02Recommendations
  27. 52:09Basic Types
  28. 53:13References
  29. 53:32Peripherals
  30. 54:37C name spacing
  31. 55:14Keep names simple
  32. 55:50Use previrtual functions
  33. 56:51Keep it simple
  34. 58:17Instantiation
  35. 59:08Inline
  36. 59:29Const
~/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.