I'm developing an embedded software for my custom board (LPC1788). My objective is to improve skill and experience regarding C programming for embedded systems.
I have implemented a USB Bootloader that launches the user application if it exists. Otherwise it is used to easily load the application through USB.
My USB bootloader uses a static library board.a, and so does the user application.
Is there any trick how to reference board.a, which was linked into the binary of the bootloader, from the user application?
In other words, I want to optimize flash memory space by putting in the board.a code and data just once.
NB: I use LPCXpresso (NXP MCU Tools/GNU Make Builder) it invoke arm-none-eabi-gcc (GNU ARM Embedded Toolchain)