This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP430FR2155: What is the best way to allocate the variables stating at a specific RAM address

Part Number: MSP430FR2155

Tool/software: TI C/C++ Compiler

Hi Experts,

I understand that similar questions were posted on the forum but please let me allow to ask the question.

My customer wants to allocate the variables(INT) starting from a specific RAM address. For example, there are 3 variables starting at 0x1000.

var 0 @0x1000

var 1 @0x1002

var 2 @0x1004

Now they add the new variable var 3 and they want to allocate it at the bottom of the variables as below.

var 0 @0x1000

var 1 @0x1002

var 2 @0x1004

var 3 @0x1006

What is the best way to do this?

Regards,

Uchikoshi