Skip to content
CEC Semenster Undefined

Writing Reusable C Code for Embedded Systems

Gary Stringham -
November 12,
2012
Introduction, Myths & Why
Much is written about reusable C++ code. But most embedded systems code is still written in C. Embedded systems add additional impact to reusability. ToDay's course will discuss myths and reasons for reusable code, along with the topics covered this week on writing reusable code in C.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
November 13,
2012
Writing Code That Is Reusable Through Commonality
One approach to reusability is to require that the domain of the code and its adjacent modules conform to a specification. ToDay's course will discuss the pros and cons, and give tips, techniques, and examples of this approach for code written to be common across implementations.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
November 14,
2012
Writing Code That Is Reusable Through Flexibility
Another approach to reusability is to structure the code so that it can easily be adapted to the specific requirements of the product. ToDay's course will discuss pros, cons, tips, techniques, limitations, and examples of this approach to writing flexible code.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
November 15,
2012
Additional Approaches to Support Code Reusability
ToDay's course will discuss other tips and techniques for reusability. One such area is how hardware can support software reusability.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
November 16,
2012
Reusable Code Tests & Concluding Remarks
Code written to support a variety of products requires additional testing to ensure correct behavior when instantiated for future configurations that may or may not occur. ToDay's course will discuss these tests, give a review of the week, and make final remarks on reusability.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
Instructor
Gary Stringham