Skip to main content

Optimized C++ Programming for Microcontrollers

  • Chapter
  • First Online:
  • 3247 Accesses

Abstract

Embedded systems software, possibly even more than other kinds of software, is time critical and has cost-sensitive size constraints. Literally every bit of the microcontroller software costs precious code space and cycles. Even the most minute software weakness can lead to system-debilitating resource problems. Writing efficient C++ code for microcontrollers mandates command of the language and solid development practices. This chapter aids this endeavor by providing a selection of helpful tips for optimized C++ microcontroller programming.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Free Software Foundation, Invoking GCC: 3.10 Options that Control Optimization (2015), http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

  2. ISO/IEC, ISO/IEC 13818 Parts 1–10: Information Technology—Generic Coding of Moving Pictures and Associated Audio Information: Systems (International Organization for Standardization, Geneva, 2010)

    Google Scholar 

  3. W. van Hagen, The Definitive Guide to GCC (Apress, Berkeley, 2006)

    Google Scholar 

  4. Wikipedia, Cyclic redundancy check (2015), http://en.wikipedia.org/wiki/Cyclic_redundancy_check

  5. Wikipedia, MPEG program stream (2015), http://en.wikipedia.org/wiki/MPEG_program_stream

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Christopher Kormanyos .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Kormanyos, C. (2015). Optimized C++ Programming for Microcontrollers. In: Real-Time C++. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-47810-3_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-47810-3_6

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-47809-7

  • Online ISBN: 978-3-662-47810-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics