Better embedded library interfaces with modern C++
summary
Shows how modern C++ features—enum class, namespaces, std::byte, std::array and inline templates—can make a C-style embedded library type-safe and user-friendly without runtime overhead. Presents a template-based pin/IO abstraction that compiles down to the same few clock-cycle operations, with demos (a 12-LED blinky and a small-chip protocol using 5-byte commands), Google Test plus hardware runs for validation, and a published zero-overhead, reusable implementation.
AI-written summary · about
chapters (7)
- 0:00Welcome and introduction
- 9:00Resource constrained programming
- 17:38Modern C++ for embedded systems
- 33:50Library abstraction techniques
- 55:30Pin interface design patterns
- 1:14:16Testing and validation
- 1:24:31Conclusion and Q&A
related talks
01h 11mC++ in the World of Embedded Systems
52mC++ for Embedded Development
01h 08mKeynote: What can C++ do for embedded systems developers?
57mC++ to the RISCue! A Practical Guide for Embedded C++20
01h 09m“Modern C++ in Embedded Systems - The Saga Continues”
01h 00mModern Software Needs Embedded Modern C++ Programming
05mEasing into Modern C++
01h 28mProgramming in Modern C with a Sneak Peek into C23
