Hi all !
I'm working on a big embedded project including RTOS, USB stack etc.
I'm working with Renesas microcontroller and E2studio IDE.
To architecture this software and to ensure a good maintainability, I would like to use libraries.
No problem to compile a lib and link it in the main project.
My problem is :
I would like to create 2 or more level of libraries. For example :
1- Low Level Driver Libraries(eg, one for UART, one for PWM driver etc.)
2- Abstraction layer library. The idea is to link this lib with Low Level ones and provide unique function in READ,WRITE style with id for each media.
3 - Applicative Layer / Main project
My question is :
How can i link Abstraction Library to others low level libraries in a way that I can change low level ones without recompile Abstraction layer lib ?
Not sure it is very clear but it's not esy to explain.
Thanks in advance for your answer.
I'm working on a big embedded project including RTOS, USB stack etc.
I'm working with Renesas microcontroller and E2studio IDE.
To architecture this software and to ensure a good maintainability, I would like to use libraries.
No problem to compile a lib and link it in the main project.
My problem is :
I would like to create 2 or more level of libraries. For example :
1- Low Level Driver Libraries(eg, one for UART, one for PWM driver etc.)
2- Abstraction layer library. The idea is to link this lib with Low Level ones and provide unique function in READ,WRITE style with id for each media.
3 - Applicative Layer / Main project
My question is :
How can i link Abstraction Library to others low level libraries in a way that I can change low level ones without recompile Abstraction layer lib ?
Not sure it is very clear but it's not esy to explain.
Thanks in advance for your answer.