Hi,
I'm using the latest S32K MBD Toolbox with the latest patch available (NXP_MBDToolbox_S32K1xx_4.1.0_patch_2.exe ).
I'm trying to run a PIL simulation of a referenced model configured with Top model code interface within a a test harness model. My referenced model generates code and builds without any problem. However, when I try to run a PIL simulation I get this error while calling into the PIL target connectivity implementation:
C:\rep\model\testmodel\testmodel_mbd_rtw\pil>"C:\Program Files\MATLAB\R2019b\bin\win64\gmake" -f testmodel.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T" testmodel.mk:649: *** multiple target patterns. Stop.
Can this be caused by a bug in the template makefile mbd_s32k.tmf?
Is there an extra configuration that I'm missing?
Thanks,
Nicolas.