Discussion Forum

Linking program at specific address

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Yogesh Gudekar
Posted
23-Jun-2006 15:28 GMT
Toolset
C166
New! Linking program at specific address
I my using st10f269
in my application following files are present.
1)Startup.a66
2)file1.c
3)file2.c
4)file3.c

file 1 calls file 2 and file 3.

i want to link startup.a66 and file1 to 0x0000 - 0x3FFF

i want to link file2 and file 3 0x4000 onwords.

Please help.

regards...

Yogesh Gudekar
Read-Only
Author
Reinhard Keil
Posted
23-Jun-2006 16:00 GMT
Toolset
C166
New! RE: Linking program at specific address
http://www.keil.com/support/docs/2215.htm
Read-Only
Author
Yogesh Gudekar
Posted
23-Jun-2006 18:51 GMT
Toolset
C166
New! RE: Linking program at specific address
Thanks for reply

I want to link Startup.h86 and File.c with single setting between 0x0000 - 0x3FFF.

I want to link File2 and File3 ... FileN with single setting to address 0x4000 above.

At the same time i want to link File2 at a fix address 0x4000.

Please help.

regards...

Yogesh Gudekar.
Read-Only
Author
erik malund
Posted
23-Jun-2006 18:54 GMT
Toolset
C166
New! RE: Linking program at specific address
group your files have what that should start at 0 named A..., what should start at 2000 named b... then use wildcards (e.g. A*) in the linker commandline


Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings