MQX 4_1 Vybrid: ERROR A3900U: Unrecognized option '-DMQX_DISABLE_CONFIG_CHECK=1'.psp_twrvf65gs10_a5 C/C Problem

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

MQX 4_1 Vybrid: ERROR A3900U: Unrecognized option '-DMQX_DISABLE_CONFIG_CHECK=1'.psp_twrvf65gs10_a5 C/C Problem

跳至解决方案
2,235 次查看
tfe
Contributor V

Hello,

When attempting to build MQX 4.1 for the Vybrid when getting the following error:

DescriptionResourcePathLocationType
A3900U: Unrecognized option '-DMQX_DISABLE_CONFIG_CHECK=1'.psp_twrvf65gs10_a5C/C++ Problem

I have attempted to remove the option from Project Options > C/C++ Build > Settings > Tool Settings, but it did not seem to help.

It seems this only occurs with the PSP, all other packages compile nicely. The problem persists however with both Debug and Release builds, stating that the same option DMQX_DISABLE_CONFIG_CHECK, not MQX_DISABLE_CONFIG_CHECK) is the issue.

Currently I am using the DS-5 integrated ARM Compiler.

Any ideas?

标记 (2)
0 项奖励
回复
1 解答
1,009 次查看
jbarron
Contributor I

Change PSP>project properties>C/C++ build> settings>Arm Assembler>preproccessor options (--cpreproc_opts)

to

"-DPSP_HAS_SUPPORT_STRUCT=1","-D_DEBUG=1"

and PSP will compile.

Also, I had to remove the -DMQX_DISABLE_CONFIG_CHECK=1 option for the PSP to build.



在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,010 次查看
jbarron
Contributor I

Change PSP>project properties>C/C++ build> settings>Arm Assembler>preproccessor options (--cpreproc_opts)

to

"-DPSP_HAS_SUPPORT_STRUCT=1","-D_DEBUG=1"

and PSP will compile.

Also, I had to remove the -DMQX_DISABLE_CONFIG_CHECK=1 option for the PSP to build.



0 项奖励
回复
1,009 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I just verified this in DS-5 5.20 and the solution too.

Thanks J, Barron for sharing your solution.

Best Regards,

Alejandro

0 项奖励
回复