How to include unused rtshc12.c.o (ansixbi.lib) and rtsxgate.cxgate.o (ansi_xgi.lib) functions into object code?

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

How to include unused rtshc12.c.o (ansixbi.lib) and rtsxgate.cxgate.o (ansi_xgi.lib) functions into object code?

ソリューションへジャンプ
1,018件の閲覧回数
utwig
Contributor III

Hi,

 

I am working with a MC9S12XEP100 multiple application image bootloader project. In the future I might want to use more functions from the ansixbi.lib and ansi_xgi.lib libraries. However, my bootloader cannot update that part of the code.

 

Is there a way to:

1) Force all/part of unused functions of ansixbi.lib and ansi_xgi.lib libraries to be placed in the object code?

OR

2) Place ansixbi.lib and ansi_xgi.lib functions to another segment than the default NON_BANKED segment?

 

I had similar problems regarding datapage.c, but it was possible to include all of its functions by adding to the prm file:

ENTRIES

     datapage.c.o:*

END


BR,

Timo

ラベル(1)
0 件の賞賛
返信
1 解決策
665件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

regarding to your questions:

1. you can add the unused function to ENTRIES section in prm file:

ENTRIES

     function_name

END


2. user need to modify lib source code. Not possible with only lib file.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
666件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

regarding to your questions:

1. you can add the unused function to ENTRIES section in prm file:

ENTRIES

     function_name

END


2. user need to modify lib source code. Not possible with only lib file.

0 件の賞賛
返信
665件の閲覧回数
utwig
Contributor III

Ah, that's true. I can add every function from the libraries to the ENTRIES.

Thank you!

0 件の賞賛
返信
665件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!

0 件の賞賛
返信