Code Warrior for 8/ 16 bit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code Warrior for 8/ 16 bit

ソリューションへジャンプ
2,033件の閲覧回数
RohitSinghal
NXP Employee
NXP Employee

how to generate the *.lib  file from the original .c /.h file using specific setting done in the code warrior suite..

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,063件の閲覧回数
CrasyCat
Specialist III

Hello

 

Thanks it is much more clear to me now.

 

In order to create a project for an object library:

   - Create your project as usual using the wizard

   -  Open the Target Settings dialog (Press ALT + F7)

   - In the Target -> Target Settings panel change Linker to Libmaker for HC12 or Libmaker for HC08 (depending on the processor you are targeting).

   - You will see a new panel Libmaker for HC12 or Libmaker for HC08 (according to the target), where you can adjust name of the library you want to create.

 

If your library is MCU independent, you can remove the MCU related .c and ,h file from your project. Just select the corresponding file names and click DELETE key.

 

I hope this helps.

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,063件の閲覧回数
RohitSinghal
NXP Employee
NXP Employee

To make my question more simple, In one of the project customer asked us to develop of specific algo related to their

 

application.  In order to protect the algo i want to covert this file in .lib format & provide to customer with some known API

 

defination so that further can be used for development purpose without disclosing the background code.

 

I hope it will be much clear situation.

0 件の賞賛
返信
1,064件の閲覧回数
CrasyCat
Specialist III

Hello

 

Thanks it is much more clear to me now.

 

In order to create a project for an object library:

   - Create your project as usual using the wizard

   -  Open the Target Settings dialog (Press ALT + F7)

   - In the Target -> Target Settings panel change Linker to Libmaker for HC12 or Libmaker for HC08 (depending on the processor you are targeting).

   - You will see a new panel Libmaker for HC12 or Libmaker for HC08 (according to the target), where you can adjust name of the library you want to create.

 

If your library is MCU independent, you can remove the MCU related .c and ,h file from your project. Just select the corresponding file names and click DELETE key.

 

I hope this helps.

 

CrasyCat

0 件の賞賛
返信
1,063件の閲覧回数
RohitSinghal
NXP Employee
NXP Employee

Thanks for your wonderful support..

 

It works as i required to send the info.. to my customer..

 

Warm Regards,

Rohit

 

 

 

 

0 件の賞賛
返信
1,063件の閲覧回数
CrasyCat
Specialist III

Hello

 

Not sure I understand the question here.

Are you asking how you can rebuild the ANSI library after changing some compilation option?

 

If this is the question, there is a .mcp file in the {Install}\lib\hc08c or  {Install}\lib\hc12c that can be loaded in CodeWarrior to rebuild the libraries.

 

CrasyCat

0 件の賞賛
返信