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

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

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

Jump to solution
2,048 Views
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?

Tags (2)
0 Kudos
1 Solution
822 Views
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.



View solution in original post

0 Kudos
2 Replies
823 Views
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 Kudos
822 Views
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 Kudos