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.

[FAQ] TMS320F280049: 将一个 .c 文件放入 RAM 一次

Part Number: TMS320F280049

问:用户希望将代码和数据移动到 .cmd 文件的 RAM 部分。

但用户认为  

#pragma CODE_SECTION(Timer0IntIsr, ".TI.ramfunc");

#pragma DATA_SECTION(aaa, ".TI.ramfunc");

重复性太强,尤其是对于许多函数和 ISR。

是否可以将整个 .c 文件放到 RAM 部分(包含代码和数据或至少包含代码)?