This post will discuss developing a coding style guide and how to automatically enforce it to help you improve software quality and reduce time to market. Continue reading
Read More >>>Category Archives: C Concepts
5 Tips for Designing an Interface in C
An everyday activity for an embedded software developer is designing an interface for the software component they are working on. An interface describes the interactions...
Read More >>>3 Tips for Successfully Transitioning Away From C
There’s little question about it; when it comes to embedded systems programming languages, C is...
Read More >>>5 Recommendations for Selecting the Right Embedded Programming Langauge
Over the past few years, the number of programming languages used for embedded development has...
Read More >>>Firmware Error Handling using Do while Loops
An interesting area of a code base to examine is error handling. I’ve found that many firmware and embedded software projects don’t do an excellent...
Read More >>>4 Tactics to Unit Test RTOS Tasks
More than 50% of all embedded software projects use Real-time Operating Systems (RTOS). Unfortunately, using an RTOS can pose several problems to developers looking to...
Read More >>>A Simple Script to Automate C Module Creation
During development, a very common activity is to create new C modules. Creating a new C module often comes with a bunch of repetitive work....
Read More >>>The Ternary Operator Revisited
Several years ago, I wrote a blog post entitled Ternary Operator vs. if/else, which was supposed to be an interesting comparison between the two, except...
Read More >>>3 Tips for Speeding Up Interrupt Handlers
Embedded software developers today are a bit spoiled. Many microcontrollers come with an ecosystem that includes peripheral drivers, an RTOS, middleware and even example application...
Read More >>>There is No Hardware
My favorite line from the Matrix is that “there is no spoon”, and today that is a wise statement for embedded software developers to take to heart. Embedded software developers traditionally are hardware centric, believing...
Read More >>>3 Strategies for Handling Errors in Embedded Software
It’s very tempting to assume that a system is going to behave as perfectly in the field as it does on the engineering bench. During...
Read More >>>3 Explicit Programming Tips C Developers Should Follow
You know what they say when you ASSUME, you make an ASS out of U and ME. That’s exactly what developers are doing when they...
Read More >>>