Hi,
I am using M52259 CW7.2 and MQX3.8. right now i want to use Mutex in my applcation. I would like to know if i need to enable anything before I start using mutexes.
According to MQX user manual section 3.6.6 , the Mutex component is not compiled in the MQX kernel by default. so I should enable it in (config.h ?) and re-build the whole MQX before i use it in my application . But i have not done anything in config.h, and the the mutex works well so far.
could anybody advise?
Thank you,
Weining
Solved! Go to Solution.
By default MQX is set up to use Mutexes in the source look for MQX_USE_MUTEXES
By default MQX is set up to use Mutexes in the source look for MQX_USE_MUTEXES
Thank you KJFPE.
this answer solves my problem.
And could you please advise where I can find the key word MQX_USE_MUTEXES? I searched the whole MQX folder but did not find it
C:\Program Files\Freescale\Freescale MQX 3.X\mqx\source\include
C:\Program Files\Freescale\Freescale MQX 3.X\mqx\source\mutex
in the C:\Program Files\Freescale\Freescale MQX 3.X\mqx\source\include have a look in mqx_cnfg.h
Thanks KJFPE again, I really appreciate your quick help.