Forum : ARM
Original Post
Post Information | Post |
---|---|
July 1, 2008 - 5:14pm
|
Hello to All. I need to allocate variables in RAM of a STM32F103 with a fixed order. How can I do? |
Forum : ARM
Post Information | Post |
---|---|
July 1, 2008 - 5:14pm
|
Hello to All. I need to allocate variables in RAM of a STM32F103 with a fixed order. How can I do? |
Why do you need to do that?
If you explain what you're actually trying to achieve, people may well be able to suggest better approaches and/or avoid making suggestions that conflict with the true requirement...
I don't know whether GCC modifies the order of the allocation. However, if you really need to be sure about the structure of the allocation, the best would be to encapsulate all your variables within a structure.
Given that it's been 3 days with no repsonse at all from the OP, it doesn't seem that it was really that important... :rolleyes: