![]() It involves exporting a list of symbols from the bootloader and linking the application against this so that my shared functions are linked directly into the bootloader's address space. This is very hard to maintain and prone to all sorts of problems. One option is to hard-code addresses to the functions and force the linker (of the bootloader) to place these functions at those addresses. ![]() Bootloader and main application to share common code/functionalities.Linker script: insert absolute address of the function to the generated code.I have referenced the following articles looking for a solution: Since the size of this code is NOT trivial and it won't change (at least not very often), I would like to have only one copy of it located in the MCU to be a "shared library." The bootloader and application both use the same filesystem code to access external FLASH memory. ![]() I am developing both bootloader and application code. I am working on an embedded system (STM32, ARM M33).
0 Comments
Leave a Reply. |