Skip to main content

Firmware Coding in the C++ and Script Languages

  • Chapter
  • First Online:
Building Embedded Systems

Abstract

To continue where we left off, this chapter demonstrates how C++ can be applied to embedded systems. Script languages are also examined in this chapter.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For all practical purposes, this calling convention can be seen as the way that the stack frame is formed, which includes the order that parameters are pushed onto the stack (from left to right or from right to left). There are two kinds of calling conventions: stdcall and cdecl. The default calling convention for your C and C++ compilers might be different.

  2. 2.

    In its simplest form, the markup language can be a certain format convention or some predefined tags.

References

  1. Real-Time C++, Efficient Object-Oriented and Template Microcontroller Programming. Chris Michael Kormanyos, Springer-Verlag Berlin Heidelberg, 2013

    Google Scholar 

  2. STL Tutorial and Reference Guide, C++ Programming with the Standard Template Library. David R. Musser, Gillmer J.Derge and Atul Saini, Addison-Wesley, 1996

    Google Scholar 

  3. C++ Templates: The Complete Guide. David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, November, 2002

    Google Scholar 

  4. TclDoc Info Page ( http://th-labs.de/tcldoc/TclDocInfoPage.html )

  5. perlpod—the Plain Old Documentation format ( http://perldoc.perl.org/perlpod.html )

  6. Doxygen ( http://www.stack.nl/~dimitri/doxygen/index.html )

  7. Docstring conventions ( https://www.python.org/dev/peps/pep-0257/ )

  8. The Python Library Reference, Release 3.6.0a0. Guido van Rossum and the Python development team, Python Software Foundation

    Google Scholar 

  9. SPHINX Python Documentation Generator ( http://sphinx-doc.org/ )

  10. reStructuredText Primer ( https://docs.python.org/3.1/documenting/rest.html )

  11. Docutils: Documentation Utilities ( http://docutils.sourceforge.net/ )

  12. The C++ Programming Language, 4th Edition. Bjarne Stroustrup, Addison-Wesley, 2013

    Google Scholar 

  13. Effective Modern C++, 42 Specific Ways to Improve Your Use of C++11 and C++14. Scott Meyers, O’Reilly Media, 2015

    Google Scholar 

  14. C++11: Create 0 to N constexpr array in C++, Stackoverflow http://stackoverflow.com/questions/19019252/c11-create-0-to-n-constexpr-array-in-c

  15. Generating Lookup Table Constant Expressions in C++11, Joshua Napoli’s blog, The Critical Section, Agile software development and C++ syntactic delights, http://joshuanapoli.com/blog/2012/12/generating-lookup-table-constant-expressions-in-c11/

  16. Programming: Principles and Practice Using C++ (2nd Edition). Bjarne Stroustrup, Addison-Wesley, May, 2014

    Google Scholar 

  17. Practical Programming in Tcl and Tk (4th Edition). Brent B. Welch, Ken Jones with Jeffrey Hobbs, Prentice Hall PTR, 2003

    Google Scholar 

  18. Exploring Expect. Don Libes, O’Reilly Media, December, 1994

    Google Scholar 

  19. GITHUB: Construct a C++11 constant expression array table of generated values. Joshua Napoli, https://github.com/joshuanapoli/table

  20. Object-Oriented Programming with ANSI-C. Axel-Tobias Schreiner, December, 1994

    Google Scholar 

  21. “Portable Inheritance and Polymorphism in C.” Miro Samek, Embedded Systems Programming, December, 1997

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Changyi Gu

About this chapter

Cite this chapter

Gu, C. (2016). Firmware Coding in the C++ and Script Languages. In: Building Embedded Systems. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1919-5_7

Download citation

Publish with us

Policies and ethics