Part Number:MSP430FR5969
Tool/software: Code Composer Studio
I have some questions about saving data to an specific memory.
I know how to save data in a location I want for the whole program.
If I change the linker command file which is lnk_msp430fr5969 for my program, I could select where to save
But I would like to save each function in other space.
For example, If there are func1, func2, func3, func4 in my program,
There will be an .bss, .data, .stack space for each function.
When I change an lnk_msp430fr5969 file below,
.bss : {} > RAM /* Global & static vars */
.data : {} > RAM /* Global & static vars */
.TI.noinit : {} > RAM /* For #pragma noinit */
.stack : {} > RAM (HIGH) /* Software system stack */
.bss for the all functions will be saved in SRAM.
but what if I would like to save .bss for func1 and func2 to SRAM and .bss for func3, func4 for FRAM?
How can I set the data location for each function?