Porting FreeRTOS based application to SDK 1.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting FreeRTOS based application to SDK 1.2

484 Views
ashishpatel
Contributor I

Hello friends,

I am new to Freescale and MQX RTOS developments.

I am using following environments,

Development board - FRDM-K22F120M
GT 202 MQX PDK,

SDK v1.2

IAR v7.20

Till now I have successfully compiled/built throughput_demo (sample application) as per GT-202_MQX_PDK_QSR.pdf.

My queries are,

1. Does MQX supports dynamic task creation like FreeRTOS supports?

2. How to know MQX RTOS type whether lite or something else ?

0 Kudos
1 Reply

249 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

1. Yes, in MQX,  any task can create another task by calling _task_create(), _task_create_at() or _task_create_blocked. and passing the processor number, a task template index, and a task-creation index, it is very similar to xTaskCreate() in FreeRTOS

2. In KSDK1.2, in file mqx_sdk_config.h, there is a macro, MQX_COMMON_CONFIG, it can set to MQX_LITE_CONFIG. -for lower memory usage, less features

Best regards

Daniel

0 Kudos