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/CC3220MOD:xQueueGenericCreateStatic 和 xTaskCreateStatic 未定义符号

Guru**** 2553260 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/873217/ccs-cc3220mod-xqueuegenericcreatestatic-and-xtaskcreatestatic-undefined-symbols

器件型号:CC3220MOD

工具/软件:Code Composer Studio

大家好

我需要您的帮助来解决以下问题:

我正在使用 CCS 9.2 w/FreeRTOS、当我尝试构建项目时(我正在使用静态分配并设置 #define CONFIGSUPPORT_STATIC_allocation = 1) 、会显示:

l"ti/devices/cc32xx/driverlib/ccs/Release/driverlib.a"-llibc.a


未定义的首次引用
符号
------ --------
xQueueGenericCreateStatic ./1. application/main.obj
xTaskCreateStatic ./1。 application/main.obj

错误#10234-D:未解析的符号仍然存在
错误#10010:链接期间遇到错误;未生成"BoxToNet.out"

我使用空项目启动我的项目、它包含所有 FreeRTOS_Build 依赖项、因此我不知道这些符号为何未定义。

佩德罗

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

    您好、Pedro、

    是否可以确认您使用新的配置设置重建了 FreeRTOS 内核项目? 如果您确实这样做了、您的最佳方法是在 FreeRTOS 论坛上发布问题: https://forums.freertos.org/ 

    Todd