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.

const 大数组存储到Flash固定地址



 由于要用OAD,导致IMAGB maxize后Flash空间仍然不够,不过可以现在可以省去IMAGB中的const数组,共用IMAGEA中相同的const数组。

使用方式如:

#pragma location=0x68000
const int beta[] = {1,2};

但是由于真实的数据长度太大,结果报错:

Error[e133]: The output format intel-extended cannot handle multiple address spaces. Use format variants (-y -O) to specify which address space is wanted

请问这个问题怎么解决?