在CCS提供的C6678.cmd文件中有一段代码
#ifdef CORE0
.text > CORE0_L2_SRAM
.stack > CORE0_L2_SRAM
.bss > CORE0_L2_SRAM
.cio > CORE0_L2_SRAM
......
#endif
意思是针对不同的core分配不同的LL2空间,但是为什么使用的时候程序还是分配在msm中。
请问#ifdef CORE0是如何生效的?编译器又是如何识别CORE0的?
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.
在CCS提供的C6678.cmd文件中有一段代码
#ifdef CORE0
.text > CORE0_L2_SRAM
.stack > CORE0_L2_SRAM
.bss > CORE0_L2_SRAM
.cio > CORE0_L2_SRAM
......
#endif
意思是针对不同的core分配不同的LL2空间,但是为什么使用的时候程序还是分配在msm中。
请问#ifdef CORE0是如何生效的?编译器又是如何识别CORE0的?