MQX never go to idle because of Shell

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

MQX never go to idle because of Shell

612 次查看
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 回复

346 次查看
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 项奖励