MQX never go to idle because of Shell

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX never go to idle because of Shell

1,067件の閲覧回数
paczkaexpres
Contributor II

Hi,

I am working with Freescale MQX and I try to implement CLU load measurement. I have got big problem because one of my task (standard MQX shell task) consume all CPU (program never goes to idle task).

Do You know how to change it ? Maybe Shell task could work in interrupts ?

I am working with 3.7 version of MQX.

I would be very grateful for any help.

タグ(6)
0 件の賞賛
返信
1 返信

801件の閲覧回数
RadekS
NXP Employee
NXP Employee

Please use interrupt version of serial interface e.g. ittya instead of ttya:

In user_config.h file:

#define BSPCFG_ENABLE_TTYA           0

#define BSPCFG_ENABLE_ITTYA          1

#define BSP_DEFAULT_IO_CHANNEL    "ittya:"

I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信