Getting Started Writing Portable Firmware

Developers who want to reuse software have several challenges to overcome in order to be successful. These challenges include but are not limited to: Endianness Processor architecture Bus width Ambiguous standards Development time and budget Modularity Code coupling Getting started can be overwhelming and lead to more stress and confusion than simply writing very functional … Continue reading Getting Started Writing Portable Firmware

Tips and Tricks – Writing Portable Code using Compiler Intrinsics

All preprocessor directives are not created equal. A developer will have different preprocessor directives available depending on whether GNU C, IAR Embedded Workbench, Keil uVision or any other compiler is used. ANSI-C has a limited number of preprocessor directives that are included in the standard and can be considered portable. Compiler vendors have the ability … Continue reading Tips and Tricks – Writing Portable Code using Compiler Intrinsics