如题
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.
你是flash 還是RAM不夠用?RAM不夠可以參考 Increase RAM Size on the CC2640R2F Bluetooth® low energy Wireless MCU.
使用下面代码试试,不过CC2640r2f的ram空间也不大,定义大数组可能影响程序执行
#pragma DATA_SECTION (num, "A");
Uint16 const num[50] =
{
#include "num50.txt"
};
CMD文件中:
SECTIONS
{
A : LOAD = FLASHH, PAGE = 0
RUN = XINTF, PAGE = 0
LOAD_START(_A_loadstart),
LOAD_END(_A_loadend),
RUN_START(_A_runstart)
}