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

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

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

跳至解决方案
1,302 次查看
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 项奖励
回复
1 解答
1,097 次查看
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 项奖励
回复
3 回复数
1,098 次查看
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 项奖励
回复
1,097 次查看
lokuate
Contributor III

Thank you Martin!

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

Kindest Regards,

Carlos

0 项奖励
回复
1,097 次查看
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 项奖励
回复