Tool/software: TI C/C++ Compiler
Hi,
I already posted a similar but less detailed question in StarterWare forum but the more I think about it the more it seems to be a compiler thingy for me.
I want to extend my barem-metal application by some kind of rudimentary shared library function. This is what I think how it could work:
- the main application loads a second application to a fixed address in RAM
- this second application provides some functions ad fixed addresses
- now the main application from time to time jumps to one of these addresses which return after they have done whatever
My questions here:
- is this possible in such a way?
- if yes: how can I allocate RAM at a fixed address or how else should I load the second application to a fixed address?
- how can I compile this second application in a way where some functions are located at predefined adresses/address offsets? Some tricks with a linker command file?
Thanks!