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

How to fix the local variables

I hava a need to fix one C file's local variables to some settled address in DATA area, how to do it, thanks very much.

Parents Reply Children
  • "I don't want to use _at_ keyword."

    So why didn't you say that in the first place?
    The more information you provide in your question, the more likely you are to get relevant and useful replies!

    Your original post gave no indication that you had even considered the _at_ keyword, so that was the obvious answer based on the information provided.

    "My question is that when enter the RSA.c file it can use all the internal ram, as other file would'n run at this time."

    The Ovelraying should take care of this.

    "So how can I set the Keil to make the RSA.c file can use all the IRAM ?"

    That is, in fact, a completely different quesion to your original post!

    Note that no file can use all the IRAM, since some will be required for the stack...

  • Yes, thanks your answer.
    I am sorry that I didn't decribe my question very clearly.

    Thanks again.