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,305件の閲覧回数
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,100件の閲覧回数
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,101件の閲覧回数
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,100件の閲覧回数
lokuate
Contributor III

Thank you Martin!

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

Kindest Regards,

Carlos

0 件の賞賛
返信
1,100件の閲覧回数
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 件の賞賛
返信