请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS570LS1224 主题中讨论的其他器件:HALCOGEN
工具/软件:Code Composer Studio
大家好、
我想在使用 halcogen 创建新应用时发现了一个问题。
当我使用 FreeRTOS 模板创建应用程序时、我进行了更改
#define CONFIGUSE_互 斥量 1.
(在文件 FreeRTOSConfig.h 中)
编译过程中出错:
未解析的符号 xQueueCreateMutexStatic、首先在./source/os_mpu_wrappers.obj AirBroSuspensepFreeRTOS 中引用 C/C++问题
请将#ifdef configSUPPORT_static_allocation 添加到模板中的文件 OS_MPU_wraper.c 中:
#ifdef configSUPPORT_static_Allocation
QueueHandle_t MPU_xQueueCreateMutexStatic (const uint8_t ucQueueType、StaticQueue_t *pxStaticQueue)
{
QueueStaticHandle_t xReturn;
BaseType_t xRunPrivileged = prvRaisePrivilege ();
#xRunQueuueN (#xReturnitle()
;#xRuxQueuueQueuueN )
谢谢你。