Re-using components from Bootloader in application to save flash | Cypress Semiconductor
Re-using components from Bootloader in application to save flash
I studied and tried the I2C Bootloader AN86526 document and it works great. But there is one question.
For my application I need a couple of routines such as i2c communication and writing to a display. These basic (library) routines will be used by BOTH Bootloader and application program. Is there a way to use the libraries from both programs ? I am aware that in that case the libraries cannot be overwritten in case of new versions but it could save me memory.
I'm testing now with PSOC4 on my pioneer kit but as soon as I get my PCBs I will run my application on a PSOC3. Bootloading via I2C.