We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Now, I build a project which have main.c source file, then I compile and link it. Then, I want to add the RSA.c to this project, and the new file will take much more memory, so can't I affect the already memory map and make the RSA.c use the RAM memory as there isn't the main.c, How can I do it ? Thanks very much.
If using _at_ keyword in RSA.c file, then when it build with main.c and the ram unit used in RSA.c can't be allocated to main.c file.
So, now, I give a example to explain my question. First, a project has the main.c and app.c file, and after building the app.c file's variables are allocated from 27H to 7BH in ram. Then, I have a new RSA.c file to add to this project, and this file must have much more ram space to store the message, key and so on. And I want to say that the app.c file and RSA.c file don't be called by each other, and in RSA.c file it wants to use a large continuous ram, such as can I allocate the var in RSA.c from 27H to 7BH, and then when both app.c and RSA.c build all, the allocation in app.c is the same as before when the project has only main.c and app.c, to achieve this purpose, how can I do it ?
Thanks very much.
You already have a thread on exctly this question - don't start it all over again here!
Go back to the original thread, read the comment about Overlaying, then look-up Overlaying in the Manual.
Then Try it.