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.
Tool/software: TI C/C++ Compiler
Hello there,
i wanted to ask, if it is possible to use the "pragma DATA_SECTION" to assign different arrays to the same shared RAM, if the sum of the arrays doesn´t exceed the size of the shared RAM.
For example i have an array "Uint16 myArray_0[100]" and "Uint16 myArray_1[100]" and i want them both to be assigned to global shared ram 0 - can i do
#pragma DATA_SECTION(myArray_0,"SHARERAMGS0");
#pragma DATA_SECTION(myArray_1,"SHARERAMGS0");
OR would i have to edit the .cmd file by removing the SHARERAMGS0 definition and replace ist with two custom ram sections (of the size of myArray_x) which boundarys are within the global shared ram 0 ?
THEN i´d do
#pragma DATA_SECTION(myArray_0,"myArray_0_RAMSECTION");
#pragma DATA_SECTION(myArray_1,"myArray_1_RAMSECTION");
best regards,
Justus