I have actually imported a generated code from Matlab to the S32 Design software by following the below form instructions:
How to export Generated Code to S32 Design Studio IDE (applicable for MBDT for MPC5744P v2.0)
But when I build the code I will get the following errors:
1. powerpc-eabivle-gcc.exe: fatal error: cannot specify -o with -c, -S or -E with multiple files
2. make: *** [subdir.mk:155: core0_intc_sw_handlers.o] Error 1
3. make: *** Waiting for unfinished jobs....
What shall I do?
Thanks for you advice，I tried the method you supplied ,but it didn’t work.The same error occured again, I don’t know why.
Do you know if there are other settings I should check?
I am not sure. But would you mind going to Debug Configuration and checking the C/C++ Application file? You might be able to find the right file in the relevant MATLAB project folder.
After I changed S32DS for PA from v2.1 to v 2017.R1,prombles like ''Ld error: cannot specify -o with -c, -S or -E with multiple files"disappeared,but there is a new error happened which you can see in the attachment.
Can you give me some advice to solve the problem.
I am looking forward to your reply.
Thanks very much.
I think you might need to change the target processor to "generate code for E200Z4".
Project setting>C/C++ Build>Settings>Target Processor and then changing the the target processor. Also you should reselect the libraries support.
Hello firstname.lastname@example.org, email@example.com,
Sorry for the late reply - unfortunately for the moment importing into S32DS version 2.1 does not work -- you can do it in older versions - S32DS v2017.R1 for example. We are investigation this issue, but just so you move on with your work in the meanwhile I recommend you install this version of the Design Studio.
Note: you can find S32DS for Power v 2017.R1 here .
Thank you for your response. My problem has been solved by switching to the older version.
I have been stuck by the same problem .Did you find the solution? I’d appreciate if you can share with me.
Thanks a lot.