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.

[参考译文] TM4C1294NCPDT:TI/RTOS -动态任务创建-任务内的动态内存分配。

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/957600/tm4c1294ncpdt-ti-rtos---dynamic-task-creation---dynamic-memory-allocation-within-task

器件型号:TM4C1294NCPDT

尊敬的团队:

动态创建任务时、其堆栈会分配到堆上。 如果任务内有任何动态分配、那么它将使用任务堆栈还是需要额外的堆? 我知道我可以通过在实际硬件上使用示例代码进行尝试来找到答案。 但由于当前的情况、存在某些限制。 我想我会在论坛上得到快速解答。

谢谢、此致

Abhijit