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.
Dear Champs,
I am asking this for our customer.
The user wants to move codes and data onto RAM sections of the .cmd file.
But the user thinks
#pragma CODE_SECTION(Timer0IntIsr, ".TI.ramfunc");
#pragma DATA_SECTION(aaa, ".TI.ramfunc");
are too repetitious especially for many functions and ISRs.
Is there any way to put a whole .c file onto RAM sections including both codes and data or at least codes?
Wayne
Hi Wayne,
You can use the pragma SET_CODE_SECTION to set the section for all declarations below the pragma.
For more details, please refer to compiler guide : https://www.ti.com/lit/ug/spru514w/spru514w.pdf
Regards,
Veena