compliing error in TWRk60N512 demo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

compliing error in TWRk60N512 demo

Jump to solution
552 Views
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 Kudos
1 Solution
349 Views
KJFPE
Contributor III

 

Hi 

 

Just add the line 

 

#define MQX_USE_SEMAPHORES       1

 

to user_config.h and then rebuild

View solution in original post

0 Kudos
2 Replies
350 Views
KJFPE
Contributor III

 

Hi 

 

Just add the line 

 

#define MQX_USE_SEMAPHORES       1

 

to user_config.h and then rebuild

0 Kudos
349 Views
amleng
Contributor IV

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

0 Kudos