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.
工具/软件:Code Composer Studio
#pragma data_section(符号,"节名")
如何为地址范围指定分区名称?
我对编程很陌生,如果答案很明显,我很抱歉。
提前感谢您的参与。
维斯瓦纳思。
在我回答之前,您需要一些背景知识。 请阅读文章 链接器命令文件入门中的第一部分。 清楚地了解输入部分如何来自目标文件,如何组合到输出部分,以及如何将这些输出部分分配到内存范围。
data_section pragma是告诉编译器对特定全局变量或静态变量使用哪个输入节的方法。
谢谢,此致,
-George