Linker order

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,084件の閲覧回数
pietrodicastri
Senior Contributor II

Good morning

 

I need a suggestion regarding the linker order. The KDS is defaulting the order of the files in a way that is preventing me

to place the RESET_HANDLER at a fixed predictable address.

I am customizing the bootloader, I need to fix this address, but the routine pattern_fill_gcc is always on top.

How to force the linker order from inside the KDS 3. ???

 

Thank You

 

Pietro

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
982件の閲覧回数
BlackNight
NXP Employee
NXP Employee

You can influence the command line passed to the linker here:

pastedImage_0.png

Other than that, you can change/modify the linker file.

Other than that, maybe this helps you:

Putting Code of Files into Special Section with the GNU Linker | MCU on Eclipse

Defining Variables at Absolute Addresses with gcc | MCU on Eclipse

See as well the comments in above articles.

I hope this helps,

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
983件の閲覧回数
BlackNight
NXP Employee
NXP Employee

You can influence the command line passed to the linker here:

pastedImage_0.png

Other than that, you can change/modify the linker file.

Other than that, maybe this helps you:

Putting Code of Files into Special Section with the GNU Linker | MCU on Eclipse

Defining Variables at Absolute Addresses with gcc | MCU on Eclipse

See as well the comments in above articles.

I hope this helps,

Erich

0 件の賞賛
返信