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.

MSPM0G3507: __attribute__ write

Part Number: MSPM0G3507

Tool/software:

Hello, 

I would like to ask how to write data at a specific address in memory. I used:

__attribute__((used)) __attribute__((section (".controllerData"))) const uint32_t powerDef = 19800;
__attribute__((used)) __attribute__((section (".controllerData"))) const uint32_t minFlowDef = 25;
__attribute__((used)) __attribute__((section (".controllerData"))) const uint32_t tempOutOffsDef = 8;
__attribute__((used)) __attribute__((section (".controllerData"))) const uint32_t tempInOffsDef = 10;

But these data are written consecutively in the memory.

I would like to choose exactly which address individual data should be written to. 

Thank you for any support.