Hello
When I use CodeWarrior2.1 to compile code programs, I only get .mcp project files, but I need the .obj file of the code program. I can't find a way or related settings in CodeWarrior2.1 to automatically generate .obj files, so please help me solve the problem of how to use CodeWarrior2.1 to generate .obj files. Thank you!
I found articles and materials on the Internet plus about using the codemarrior2.1 command line tool (CLT), but I don't know how to use the CLT. My CLT won't open. I've set compatibility and selected windows7 for compatibility. My computer system is windows11, but it didn't solve the problem of not opening the CLT. So please help me solve the problem I encountered. Thank you.
Looking forward to your reply!
Best regards
解決済! 解決策の投稿を見る。
Hi,
you may find helpful this thread - https://community.nxp.com/t5/CodeWarrior-for-QorIQ/Where-s-the-Object-Code/m-p/125154
Object files you can find in Project\Project_Data\internal_FLASH\ObjectCode\ folder.
Hi @jiachunyu,
Could you please share the part number that you are currently using in order to provide you better support?
Thanks,
Edwin.
Hi,
you may find helpful this thread - https://community.nxp.com/t5/CodeWarrior-for-QorIQ/Where-s-the-Object-Code/m-p/125154
Object files you can find in Project\Project_Data\internal_FLASH\ObjectCode\ folder.
Thank you jiri_Kral
I have finally generated the.o file with codewarrior2.1, thank you very much for your help.
I would like to ask if in addition to generating.o files when compiling a program with codewarrior2.1, can other files generated during compilation also be saved in the project folder?
Looking forward to your reply!
Thank you!
Best regards
Hi,
which other files do you like to be generated?
Hi,
to be honest, I don't understand the approach. Can you please share more details?
Normally if you build your CW project - source code is compiled into object files and object files are linked onto executable .elf file. Binary contend of the .elf file can be upload into target device via debug probe (PE Micro for example).
Hi jiri_kral
When compiling, will generate some process files, such as.o,.s files, I want to generate these process files are saved, codewarrior2.1 can be implemented? Thank you very much!
Best regards!
Hi,
I'm afraid that there is no such feature and CW v2.1 is unmaintained product. I'm not sure what you mean by .s file. If Motorola s-record - it is generated by default. into output folder.