[SOLVED] linking entire object files or lib-files to ITCM memory

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] linking entire object files or lib-files to ITCM memory

    Dear all,

    is there a possibility to tell the linker to link entire object files and/or lib files to a special memory section. I'm especially interested in putting them into ITCM memory. I'm able to do this on a function by function base and this works well. However, that is not very efficient and also is not working for library files. I'm currently using the GCC linker. However, I'm open to change to the SEGGER Linker if this will solve my question.

    Best Regards
  • Hello Markus,

    Thank you for your inquiry.
    Yes this is possible with SEGGER Linker. A how to is shown here:

    This would also work with gcc linker. However it would be about 30 lines of code instead of 3.

    Best regards,
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.