How to write configurable Embedded C code which can run on multihardware platform
- by Adnan
Hello all ,
What are the techniques used to write an embedded C software which has multi features. Features can be configurable for multi-hardware platform.
I have developed a firmware based on a RTOS for ARM7. Now i want to make it a baseline firmware which can be used with similar, more or less features (configurable) on different microcontrollers, like MSP, or AVR etc.
Being more specific, if i want to change different features of firmware for one hardware and others for the second. What technique should i adopt and is there any study material available.
Regards