Hi guys.
I'm developing the FW of one LPC11C24 board using LPCXpresso v8.0.0 [Build 526].
When I trying to using a custom linker script to shift the release code from sector 0 to sector 1 (0x1000) the compiler generates one empty output like the follow:
ext | data | bss | dec | hex | filename |
---|---|---|---|---|---|
0 | 0 | 0 | 0 | 0 | LeMiG.axf |
The output file LeMiG.axf is empty.
If I keep the default script all builds fine.
I've attached my custom linker file.
Where I wrong?
Thanks in advance.
Diego.
Solved! Go to Solution.
Hi.
Solved by myself.
There are required not one but three files:
XXX_Release.ld
XXX_Release_library.ld
XXX_Release_memory.ld
Also It seems to be recommended to put the files under a different folder.
Thanks.
Hi.
Solved by myself.
There are required not one but three files:
XXX_Release.ld
XXX_Release_library.ld
XXX_Release_memory.ld
Also It seems to be recommended to put the files under a different folder.
Thanks.
You don't need a custom linker script if you are just moving the base of memory - you can just use the memory configuration editor - see Chapter 14 of the User Manual.