How to Link "aeabi" code to a fixed memory location

Hi,

for the bootloader, integrated into the main project, I need to link the "__aeabi_uidivmod" to a fixed location within the bootloader section of my external flash memory.

How can I manage that?
I tried these expressions in the bootloader section of the scatter loading file, but it didn't cause something:

    aeabi_*    (+RO)
    *armlib/c_* (+RO)
    *armlib/h_* (+RO)
    *armlib*    (+RO)
    *armlib*

Any ideas?

BR
Detlef Weidner

Parents
  • You really shouldn't.

    The best way to not find later that you have shot yourself into the foot is to build the boot loader and the application as two separate projects, or as separate targets for the same project. But each produced binary should be 100% stand-alone, allowing you to make changes to one or the other without breaking anything.

    If you can't afford the ROM space for completely independent binaries, then your boot loader is too complex, or you have selected a too small processor.

Reply
  • You really shouldn't.

    The best way to not find later that you have shot yourself into the foot is to build the boot loader and the application as two separate projects, or as separate targets for the same project. But each produced binary should be 100% stand-alone, allowing you to make changes to one or the other without breaking anything.

    If you can't afford the ROM space for completely independent binaries, then your boot loader is too complex, or you have selected a too small processor.

Children
More questions in this forum