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.
有没有什么办法可以解决CC2540的RAM不够用的情况啊
数据多,读写次数多,可以考虑外扩fram
程序优化,去掉一些冗余的变量;
把一些不需要改变的变量设置为只读,这样只会占用FLASH而不会占用静态RAM;
减小堆的内存分配空间,但要保证运行时充足;
把一些不必要的Profile统统删掉~包括原工程自带的那些simpleGATTprofile、simplekey、devinfoservice等等,保留自己需要的Profile就可以了~