I want to use _usr_time_delay in mqx lite but can't

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

I want to use _usr_time_delay in mqx lite but can't

Jump to solution
602 Views
lokuate
Contributor III

It seems I need to set MQX_ENABLE_USER_MODE 1 but can't find where... well I find it's defined and set in mqxlite_cnfg.h but vhanging the value from 0 to 1 doesn't stick...

_usr_time_delay to implement milisecond delays...

Where do I define I want to use USER MODE???

Using CW 10.3 and KL15

Thank you,

Carlos

0 Kudos
1 Solution
397 Views
c0170
Senior Contributor III

Hello Carlos Rodriguez,

I believe the user mode is not supported in MQX lite, not yet.

There is a small description here in the community:

MQXLite + KL25 Freedom board +CW10.3Beta

Regards,

c0170

View solution in original post

0 Kudos
3 Replies
398 Views
c0170
Senior Contributor III

Hello Carlos Rodriguez,

I believe the user mode is not supported in MQX lite, not yet.

There is a small description here in the community:

MQXLite + KL25 Freedom board +CW10.3Beta

Regards,

c0170

0 Kudos
397 Views
lokuate
Contributor III

Thank you Martin!

I came to the same conclusion after switching a lot of #defines.

Kindest Regards,

Carlos

0 Kudos
397 Views
songwei
Contributor II

Hi, Rodriguez!

I use MQX and the time_delay in MQX.

The  time_delay  will make a task pending, but it seems that  the task doesn't go on after that in my project.

Do you know how to configure the user_configure.h and the task code to use the timer in MQX?

0 Kudos