How to make a s19 for one file without startup code by Code warrior??

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

How to make a s19 for one file without startup code by Code warrior??

Jump to solution
497 Views
ridson
Contributor I

I wanted to make a s19 file for my code without Start_up code ,and the prm message must be in it,for example in RAM.

How can I make it?

Labels (1)
Tags (1)
0 Kudos
1 Solution
322 Views
BlackNight
NXP Employee
NXP Employee

Hello,

first, you must be able to link it like a normal application. If you do not need the _Startup, then simply define your own. Or see the linker manual about INIT and ENTRY directives in the .prm file.

There is as well AS_ROM_LIB which is useful if you create a ROM library.

 

Hope this helps,

BK

View solution in original post

0 Kudos
1 Reply
323 Views
BlackNight
NXP Employee
NXP Employee

Hello,

first, you must be able to link it like a normal application. If you do not need the _Startup, then simply define your own. Or see the linker manual about INIT and ENTRY directives in the .prm file.

There is as well AS_ROM_LIB which is useful if you create a ROM library.

 

Hope this helps,

BK

0 Kudos