Abstract
Starting in this chapter, I will delve into the softer side of embedded systems. The next three chapters cover C/C++, the build process, and a little bit of embedded OS.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
ISOCPP stands for C++ Standards Committee, the international standardization working group for C++.
- 2.
TYPE_ALIGNMENT is defined differently in Ref [5] as FIELD_OFFSET( struct { char x; t test; }, test ). The side effect of this implementation is that compiler will give out warnings if it is used together with C_ASSERT.
- 3.
Refer to your computer science text book if you want to find a more pedantic definition of “critical section”.
- 4.
Sometimes people also put the build number or OEM ID as the third part of the version number.
References
C++ for Kernel Mode Drivers: Pros and Cons, WinHEC 2004 Version, Microsoft Corporation, April 10, 2004
“Why don’t we rewrite the Linux kernel in C++?” (The Linux kernel mailing list FAQ http://www.tux.org/lkml/#s15-3 ) or ( http://harmful.cat-v.org/software/c++/linus )
Object-Orientated Programming with ANSI-C, Axel-Tobias Schreiner, December, 1994
Portable Inheritance and Polymorphism in C, by Miro Samek, Embedded Systems Programming, December, 1997
Porting Your Driver to 64-Bit Windows, MSDN Library, September 7, 2011
Catching errors early with compile-time assertions, by Dan Saks, Embedded Systems Programming, July, 2005
Intro to GNU Assembly Language on Intel Processors, Prof. Godfrey C. Muganda, North Central College, February 29, 2004
Place Volatile Accurately, by Dan Saks, Embedded Systems Programming, November, 2005
Modern Control Systems (10th Edition). Richard C. Dorf and Robert H. Bishop, Pearson Education, Inc., 2005
The Principles of Project Management, Meri Williams, SitePoint Pty. Ltd., February, 2008
The Embedded Finite State Machine. Bo Berry, Dr. Dobb’s Journal, May 13, 2009
UNIX SYSTEMS Programming, Communication, Concurrency, and Threads. Kay A. Robbins, & Steven Robbins, Prentice Hall PTR, 2003
Modern Operating Systems (3rd Edition). Andrew S. Tanenbaum, Pearson Education, December, 2007
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Changyi Gu
About this chapter
Cite this chapter
Gu, C. (2016). Firmware Coding in C. In: Building Embedded Systems. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1919-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1919-5_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1918-8
Online ISBN: 978-1-4842-1919-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)