Real-Time C++
Freecompanion bare-metal code to Real-Time C++ book.
About Real-Time C++
This repository provides companion source code for the book 'Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming', 4th Edition, by Christopher Kormanyos. It is intended for educational and exploratory use. The code includes a reference application (with a microcontroller abstraction layer, multitasking scheduler, LED toggle, benchmarks, and watchdog service), examples from the book, and code snippets. The reference application is portable across a wide range of microcontroller targets (e.g., ARM, AVR, RISC-V, Renesas, STM32, Raspberry Pi) and is compatible with C++14/17/20/23. The project relies on GNU/GCC cross compilers and related tools available in a separate toolchains repository.
Key Features
Pros & Cons
- Highly portable across many microcontroller families
- Actively maintained with 798 stars and frequent updates
- Covers multiple C++ standards for modern embedded development
- Well-documented with clear reference application structure
- Primarily useful for readers of the specific Real-Time C++ book
- Requires familiarity with embedded C++ and microcontroller concepts
- Limited to microcontroller targets; not for general-purpose or desktop software