Build fails when importing ProjectInfo.xml into S32 Design Studio for ARM IDE

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

Build fails when importing ProjectInfo.xml into S32 Design Studio for ARM IDE

240 Views
johngreenjets
Contributor III

I have a Simulink model using MBDT blocks which builds and flashes to the UCANS32K146 development board successfully.

I tried to import the code into 'S32 Design Studio for ARM IDE' using the 'ProjectInfo.xml' file, but I get the following build error:

Ld error: C:/MATLABAddOns/Toolboxes/NXP_MBDToolbox_S32K1xx/tools/gcc-6.3-arm32-eabi/arm-none-eabi/newlib/lib/crt0.o: Conflicting CPU architectures 13/0 C/C++ Problem

johngreenjets_5-1684836827519.png

 

I have the 'Generate S32 Design Studio ProjectInfo.xml file' enabled in the MBD_S32K14x_Config_Information block...

johngreenjets_0-1684836383009.png

To import the project I do the following...

1. Choose 'File ->Import...' and select ProjectInfo.xml importer...

johngreenjets_1-1684836495314.png

2. Select the ProjectInfo.xml file...

johngreenjets_3-1684836649368.png

 

3. I'm not sure what the project type is supposed to be but I have tried both (I don't know what the 'Create Launch Configuration' option is either)....

johngreenjets_4-1684836698603.png

 

How can I fix this ?

 

 

0 Kudos
0 Replies