CCS上使用FreeRTOS后,怎么查看还有选择想使用的heap_x.c文件呢
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.
SDK例程默认使用的是heap_3.c,配置方法如下。heap_3.c
SDK default
malloc()
and free()
, FreeRTOS only makes the calls task safe--heap
compiler option and placed in .heap
section in linker command file.请看下面的MCU SDK user guide。
https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_01_00_39/exports/docs/api_guide_am62x/KERNEL_FREERTOS_IMPORTANT_GUIDELINES_PAGE.html#autotoc_md265
可以下载下面的MCU SDK,C:\ti\mcu_plus_sdk_am62x_09_01_00_39\examples目录下有例程。
https://www.ti.com/tool/download/MCU-PLUS-SDK-AM62X
到/source/kernel/freertos/makefile.<device>" 文件里,把 heap_3.c 替换成 heap_4.c.
你好,按照这个方式修改后并使用例程来测试还是一样的结果
我看到e2e工程师建议把/source/kernel/freertos/makefile.<device>" 文件里的 heap_3.c 替换成 heap_4.c.
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1285030/am2434-how-to-modify-the-freertos-from-heap3-to-heap4/4895039
如果还是不行的话,建议到freertos社区论坛咨询一下。
https://forums.freertos.org/