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 readable and maintainable is simple uses encapsulation and abstract data types is well documented How well do the characteristics of your software match the qualities of portable firmware?
Writing software that is reusable, portable and will stand the test of time is critical to embedded software developers. Below are 7 tips for creating and using portable types in C. Tip #1 – Use stdint.h The use of built-in data types can result in portability issues between different compilers. The C standard does not specify … Continue reading Tips and Tricks – 7 Tips for creating and using portable types