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.

[参考译文] CCS/CC1312R:HeapBuf_free ()和 HeapMultiBuf_free ()大小参数问题

Guru**** 2595805 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/964335/ccs-cc1312r-heapbuf_free-and-heapmultibuf_free-size-parameter-question

器件型号:CC1312R

工具/软件:Code Composer Studio

您好!

我在我的项目中使用 HeapBuf 和 HeapMultiBuf、并通过 Memory_alloc 和 Memory_free 来分配和释放它们。

问题是、我们确实需要大小参数值来释放存储器块、如果我要从 HeapMultiBuf 中释放块、必须/可以传递什么值?   

此致、

Dimitar