Table of contents

  1. Front Matter
    Pages i-xxviii
  2. Language Technologies for Real-Time C++

    1. Front Matter
      Pages 1-1
    2. Christopher Kormanyos
      Pages 3-18
    3. Christopher Kormanyos
      Pages 19-32
    4. Christopher Kormanyos
      Pages 33-49
    5. Christopher Kormanyos
      Pages 51-74
    6. Christopher Kormanyos
      Pages 75-101
    7. Christopher Kormanyos
      Pages 103-130
  3. Components for Real-Time C++

    1. Front Matter
      Pages 131-131
    2. Christopher Kormanyos
      Pages 133-142
    3. Christopher Kormanyos
      Pages 143-156
    4. Christopher Kormanyos
      Pages 157-184
    5. Christopher Kormanyos
      Pages 185-197
    6. Christopher Kormanyos
      Pages 199-210
  4. Mathematics and Utilities for Real-Time C++

    1. Front Matter
      Pages 211-211
    2. Christopher Kormanyos
      Pages 213-239
    3. Christopher Kormanyos
      Pages 241-262
    4. Christopher Kormanyos
      Pages 263-279
    5. Christopher Kormanyos
      Pages 281-297
    6. Christopher Kormanyos
      Pages 299-313
    7. Christopher Kormanyos
      Pages 315-318
  5. Back Matter
    Pages 319-378

About this book


With this book, Christopher Kormanyos delivers a highly practical guide to programming real-time embedded microcontroller systems in C++. It is divided into three parts plus several appendices. Part I provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming and optimization. Next, part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++’s most powerful language elements, such as class types, templates and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc.  Finally, part III describes mathematical methods and generic utilities that can be employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment and instructions for building GNU GCC cross-compilers and a microcontroller circuit.

For this second edition, the most recent specification of C++14 in ISO/IEC 14882:2014 is used throughout the text. Several sections on new C++14 functionality have been added, and various others reworked to reflect changes in the standard. Also two new sample projects are introduced, and various user suggestions have been incorporated. To facilitate portability, no libraries other than those specified in the language standard itself are used. Efficiency is always in focus and numerous examples are backed up with real-time performance measurements and size analyses that quantify the true costs of the code down to the very last byte and microsecond.

The target audience of this book mainly consists of students and professionals interested in real-time C++. Readers should be familiar with C or another programming language and will benefit most if they have had some previous experience with microcontroller electronics and the performance and size issues prevalent in embedded systems programming.


C++ Embedded Systems Low-level Programming Microcontroller Programming Object-Oriented Programming Real-time Programming System Performance

Authors and affiliations

  • Christopher Kormanyos
    • 1
  1. 1.Independent Researcher ReutlingenGermany

Bibliographic information

  • DOI
  • Copyright Information Springer-Verlag Berlin Heidelberg 2015
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Computer Science
  • Print ISBN 978-3-662-47809-7
  • Online ISBN 978-3-662-47810-3
  • Buy this book on publisher's site
Industry Sectors
Chemical Manufacturing
IT & Software
Energy, Utilities & Environment
Oil, Gas & Geosciences