How to Create C++ MQX RTOS project in MCUXPresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Create C++ MQX RTOS project in MCUXPresso

588件の閲覧回数
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 返答(返信)

557件の閲覧回数
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 件の賞賛
返信

512件の閲覧回数
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 件の賞賛
返信