Hello
I'm a graduate student and I have to program a microcontroller. I have to write some drivers to let the system work.
Because the school is interested in using my code for other projects, some teachers asked me to make the code platform independent.
They told me to do some reasearch about it so I in the best case they can take some parts from the wall and make it a plug and play system around my microcontroller.
For example: now I have a GPS, a GPRS and a debug UART programmed on it. If they want to use another GPS, they want to modify a minimum of code to let the system work.
My question is where I have start my search for such problems/solutions. The code is C and I make it all with seperate .c and .h files. I really don't know how I have to make it more independent. I looked on the interent and I found some information about PIM (platform independent modulating), but I think it's only interesting with a RTOS, is it?
Thank you
Genji
I'm a graduate student and I have to program a microcontroller. I have to write some drivers to let the system work.
Because the school is interested in using my code for other projects, some teachers asked me to make the code platform independent.
They told me to do some reasearch about it so I in the best case they can take some parts from the wall and make it a plug and play system around my microcontroller.
For example: now I have a GPS, a GPRS and a debug UART programmed on it. If they want to use another GPS, they want to modify a minimum of code to let the system work.
My question is where I have start my search for such problems/solutions. The code is C and I make it all with seperate .c and .h files. I really don't know how I have to make it more independent. I looked on the interent and I found some information about PIM (platform independent modulating), but I think it's only interesting with a RTOS, is it?
Thank you
Genji