How to disable c++ for bsp rebuild in MQX 4.0?

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

How to disable c++ for bsp rebuild in MQX 4.0?

跳至解决方案
854 次查看
superguys
Contributor I

I created a new project in CW 10.3. using MQX 4.0 for the TWR-K60N512. The project fails with header file link errors, for bsp.h, fio.h, mfs.h, and rtcs.h . I traced down to the Freescale_MQX_4_0\lib\twrk53n512.cw10\debug folder and notice that some sub-folders are missing. This led me to rebuild the BSP to include the missing functionality. When I tried to rebuild the bsp I get an error that I do not have the correct license to compile specs.cpp. I am using CW 10.3 SE and updated a couple of days ago.

Can I rebuild the BSP to using only C rather than c++?

0 项奖励
1 解答
719 次查看
Martin_
NXP Employee
NXP Employee

The build project for the BSP looks very strange. It doesn't have links to the source code files, "virutal folder twrk60n512 BSP Files" is empty, it should have links to many BSP source files. Are you using CW 10.2 and CW 10.3 for the same BSP project ? I would suggest to repair your Freescale MQX 4.0 installation from the original installer and build the BSP project from a new workspace.

在原帖中查看解决方案

0 项奖励
2 回复数
719 次查看
Monica
Senior Contributor III

Hello Isaac,

did you try that out yet?

How did it go? We'd like to know. :smileywink:

Best regards,

Monica

0 项奖励
720 次查看
Martin_
NXP Employee
NXP Employee

The build project for the BSP looks very strange. It doesn't have links to the source code files, "virutal folder twrk60n512 BSP Files" is empty, it should have links to many BSP source files. Are you using CW 10.2 and CW 10.3 for the same BSP project ? I would suggest to repair your Freescale MQX 4.0 installation from the original installer and build the BSP project from a new workspace.

0 项奖励