This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help with memory mapping

Hi,
I have 2 different projects. The first on includes the main function, startup code and a few other functions. The second project includes a few C-files with functions who is called from main.
What I want to do is to compile my first project to a object file and then include that in my second project. In that project i want to specify were the different C-files should be placed in the memory. I want to use the flash memory and the following addresses:
For the main.obj = 0x10020000 with the size 0x1FFFF
For the other C-files = 0x10040000 with the size 0x1FFFF
For RAM = 0x20000000 and the size 0xFFFF.
Can anyone tell me how to do this? I'm using the RV-MDK for ARM.

0