Hi Iki,
There are some possibilities you can use.
@keyword or #pragma can be used to do that.
for instance:
unsigned int fiboCount@0x002000; /* define the fiboCount at 0x002000 */
#pragma DATA_SEG my_data_test /* my_data_test is defined in the prm file which is using the RAM_TEST memory section */
unsigned int counter;
#pragma DATA_SEG DEFAULT_RAM
unsigned fib1, fib2, fibo; /* the default memory is used */
Attached you will find an example.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------