How to Create C++ MQX RTOS project in MCUXPresso

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

How to Create C++ MQX RTOS project in MCUXPresso

321 Views
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?? 

0 Kudos
2 Replies

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

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