More than a decade ago there was a constant debate and anticipation as to when C++ would finally eclipse C and become the dominant embedded...
Read More >>>Tag Archives: C
CEC – Transitioning from C to C++
The C Programming language has been a dominate tool in embedded systems since its inception but as compiler and microcontroller technologies have advanced, more modern...
Read More >>>Tips and Tricks – 5 Tips for Developing Real-time C++ Applications
Object-oriented programming has become a very popular and critical programming methodology for developing applications. While...
Read More >>>10 Questions for a Successful Code Review
Over the years I’ve noticed a number of common gotchas when reviewing code. They’re there no matter what the size the company or how mature...
Read More >>>Tools – Partitioning Flash Space with the Linker
The linker is probably the least talked about tool available to embedded software developers. For many, the linker is ignored for most if not the...
Read More >>>Ternary Operator versus the if/else statement …
When I’m teaching “C Programming for Embedded Systems”, I’m often asked whether the ternary operator should be used or an if/else statement. Hidden behind the...
Read More >>>It’s the end of C as we know it!
The C programming language has been with embedded software developers since its creation in 1972. Ever since then C has been a blazing constant, surviving...
Read More >>>Embedded Basics – 10 Qualities of Portable Firmware
Portable Firmware …. is modular is loosely coupled has high cohesion is ANSI-C compliant has a clean interface has a Hardware Abstraction Layer (HAL) is...
Read More >>>Tips and Tricks – Learning to write portable code using ANSI-C
Embedded software engineers should be interested in writing production software that is portable and reusable. ...
Read More >>>Embedded Basics – The difference of ‘ ‘ and ” “
Embedded software developers commonly interface with low level sensors and have a good understanding of...
Read More >>>Tools – Open Source Circular Buffers
Circular buffers are a critical component to have in the embedded software engineers’ toolbox. Over the years there have been many different implementations and examples of...
Read More >>>Embedded Basics – 5 Tips for using portable types
In order to reuse and port embedded software it is absolutely imperative that the code be written without any ambiguity. In a previous post, “Understanding...
Read More >>>