Porting FreeRTOS based application to SDK 1.2

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

Porting FreeRTOS based application to SDK 1.2

887 次查看
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 项奖励
回复
1 回复

652 次查看
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 项奖励
回复