How to Create C++ MQX RTOS project in MCUXPresso

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

How to Create C++ MQX RTOS project in MCUXPresso

386 次查看
santhoshkumar_T
Contributor II

Hi, 

We have MQX V_5 RTOS library project. 

We built BSP and PSP project and created lib files and included in the simple example project (c project) provided by nxp, it was working fine but we need the project in c++.

We tried to convert into cpp project from the IDE option but it was not working. 

How to create or convert the MQX project in cpp?? 

标记 (3)
0 项奖励
回复
2 回复数

355 次查看
santhoshkumar_T
Contributor II

We have converted the example project into cpp project by using project conversion option in IDE. The main file named as hello.c in example project was building without error.

After that started creating other cpp files and header files.

hello.c has some includes like mqx.h, bsp.h, fio.h. (which will internally consists of other driver .h and .c files in lib).

Please find a screenshot of the error we are getting.

IDE version: MCUXpresso IDE v11.8.1_1197 

Controller using IMXRT1170

santhoshkumar_T_0-1710938484718.png

 

0 项奖励
回复

310 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi  

 

Please see below link for how to create a new MQX project using GCC C++

https://community.nxp.com/t5/MQX-Software-Solutions-Knowledge/Creating-a-new-MQX-project-using-GCC-C...

 

Regards

Daniel

0 项奖励
回复