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.

F28377d 大数组存入flash

您好:

由于ram空间不足,但要存储一个超大数组以便在程序运行中查找数组中的数据,遂想将这个超大数组直接定义到FLash里,并在程序运行中读取数组,现有问题请教各位大神:

1、将数组直接定义到FLash里的方法,类似将数据定义到指定ram里的方法是否可行?如 用#pragma DATA_SECTION(),还是用API函数写入?

2、定义在Flash里的数组能直接用吗,还是要用指针读取?