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
I have the 'Generate S32 Design Studio ProjectInfo.xml file' enabled in the MBD_S32K14x_Config_Information block...
To import the project I do the following...
1. Choose 'File ->Import...' and select ProjectInfo.xml importer...
2. Select the ProjectInfo.xml file...
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)....
How can I fix this ?