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.

[参考译文] TMS570LC4357:FreeRTOS 问题:(

Guru**** 2390755 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1421334/tms570lc4357-freertos-problems

器件型号:TMS570LC4357

工具与软件:

我使用 FreeRTOS 头文件中的跟踪。  使用该指令、我 会在 char 缓冲区中添加这些事件、而不是通过 UART 将这些数据传输到我的接口。 在使用 FreeRTOS 时、我想为此使用队列、我可以将数据添加到队列  中、但当我尝试在 DataEntry 或 PrefetchEntry 中接收所有数据时、我的代码残桩。 我漏掉了什么东西? 有人能帮忙吗?

此外,我虽然这也许我误解了一般性 ,也许我需要创建静态队列,以将数据复制到特定的堆栈区域, 但当我尝试在 freertosconfig.h 中设置 configSUPPORT_STATIC_allocation 1时,它给了我错误,"未定义的声明 statictask_t"。  但在 FreeRTOS.h 它是定义的,当我点击这个 statictask_t 它被 IDE 识别(或无论它是初学者,请原谅我^^). 这可能是什么问题?

谢谢你。