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.

cc2640芯片什么什么函数申请大内存

我想申请10个2048byte大小的内存空间,存储传感器获取到的数据,使用什么函数申请?

我测试,直接声明数组是不行的,编译不过去,但是不知道什么函数可以,malloc可以吗?