compliing error in TWRk60N512 demo

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

compliing error in TWRk60N512 demo

跳至解决方案
1,189 次查看
amleng
Contributor IV

Hello all,

 

Whenever I try to complie TWRk60N512 demo I got the following error

 

#error SEMAPHORE component is currently disabled in MQX kernel. Please set MQX_USE_SEMAPHORES to 1 in user_config.h and recompile kernel.

 

I can not find "MQX_USE_SEMAPHORES" in user_config.h !

 

I already import and rebuild MQX libraries to my workspace. I use MQX 3.8 and CW 10.1

any suggestion?

0 项奖励
回复
1 解答
986 次查看
KJFPE
Contributor III

 

Hi 

 

Just add the line 

 

#define MQX_USE_SEMAPHORES       1

 

to user_config.h and then rebuild

在原帖中查看解决方案

0 项奖励
回复
2 回复数
987 次查看
KJFPE
Contributor III

 

Hi 

 

Just add the line 

 

#define MQX_USE_SEMAPHORES       1

 

to user_config.h and then rebuild

0 项奖励
回复
986 次查看
amleng
Contributor IV

Yes, I got it. however thank you for your reply.

0 项奖励
回复