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.

c6678中,利用#pragma DATA_SECTION怎么实现在不同的核将全局变量分配到不同的存储空间?



c6678中,利用#pragma DATA_SECTION怎么实现在不同的核将全局变量分配到不同的存储空间?大家见我的程序。例如,我想让数组a在核0运行时指向0x80000000的地址,在核1运行时指向0x90000000,在核2运行时指向0xA0000000,请问,利用#pragma DATA_SECTION怎样实现上述功能,谢谢。

memory.rar