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.

用#pragma DATA_SECTION能把某个文件中的所有变量放到一个段里么?



专家好

我想单独建立一个文件,将该文件中的所有初始化和未初始化的变量都放到一个段中,然后在cfg中将该段指点地址。

请问专家能实现么?谢谢