MQX never go to idle because of Shell

cancel
Showing results for 
Search instead for 
Did you mean: 

MQX never go to idle because of Shell

392 Views
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.

0 Kudos
1 Reply

126 Views
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 Kudos