CodeWarrior11.1 make a library

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior11.1 make a library

2,346 Views
zhipeng
Contributor III

请教一下,CodeWarrior11.1,如何生成库,没有找到这个版本的教程

版本如下:

Installed Products:
- CodeWarrior for MCU
Version: 11.1

 

I use Codewarrior 11.1 and would like to make a common library .

How can i make library files with CodeWarrior 11.1.

No tutorials found for this version

Installed Products:
- CodeWarrior for MCU
Version: 11.1

 

 

0 Kudos
Reply
5 Replies

2,332 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

select File -> New -> Bareboard Project

Add your project name and click on Next, select MPC5646C and select Library project like this:

lukaszadrapa_0-1672834447833.png

And that's it.

lukaszadrapa_1-1672834557979.png

When you build the project, *.a library file is created.

Regards,

Lukas

0 Kudos
Reply

2,306 Views
zhipeng
Contributor III

Thank you very much for your assistance, we tried the test code according to this process and it worked, but our official code is larger and many errors are reported, we are still debugging.
Also, can you please tell me if it's okay to choose default for this?

zhipeng_0-1673433232609.png

 

0 Kudos
Reply

2,299 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

You should use the same configuration for library and for your project where the library will be used.

For example, if a library is compiled for VLE instruction set, it won't work in BOOKE project, of course...

Regards,

Lukas

0 Kudos
Reply

2,340 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

请告知您的芯片型号。

谢谢,

Jun Zhang

0 Kudos
Reply

2,336 Views
zhipeng
Contributor III

您好,感谢答复,型号是SPC5646CCVLU1。谢谢

0 Kudos
Reply