I am using MCDtool to generated code for MCP5643L. I am trying to use the generated files to create a new project so that I can do the modification on the project based on my requirement. But I got issues when I put files in the new project and trying to build, there is always faults. Is there any instruction that how should we import the files? Please let me know, thanks!
Hello leeewayyy,
Unfortunately this toolbox does not have an automatic importer (like our newer toolboxes do, for S32DS). I don't know what errors you get, but I can give you somethings to keep in mind when importing the project:
As I don't know what errors you're getting and I'm no expert in CodeWarrior, you can try ask on the CW community with more details - there you can surely find an answer.
Hope this helps,
Razvan.
P.S.: if you are trying to get a debug session working on the ELF that is generated by our toolbox, you can read this thread.
Kind regards,
Razvan.
Attached are the generated files and the new project I created based on the generated files. There is always something wrong when compiling. Do you mind help me figure out what shall I do to config the project?constantinrazvan.chivu
Hi Razvan,
Thanks for replying.
Currently, I just created a new project in CodeWarrior and imported the files that generated by MATLAB (include the linker file).
Right now I got the fault "Function Has no Prototype" issue. The definition is in *.s file and I have already added it into assembly header path. But it still fails to find the function definition. Would you mind help me with that?
Thanks!
Regards,
Li