I made a bootloader for LPC11A14 and this occupies the first 0x2000 bytes.
So the code in project I want to bootload should be located after 0x2000.
The problem is that my projekt links to the LPCOpen library and I don't know how to place the LPCOpen in other than the main section starting from 0x0000.
I added extra flash sections under MCU settings and
with "Extra linker script input sections" inserted '*lpc_chip_11uxx_lib.a (.text .text*) | Flash2 | .text'
but it dont seem to work.
已解决! 转到解答。
Seems like the magic formular was:
*lpc_chip_11uxx_lib.a:*.o (.text .text*)
So now it works.