This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger linker script

Hello,

I have the following statement in flash_placement.xml:

 <ProgramSection alignment="4" keep="Yes" load="Yes" name=".nrf_queue" inputsections="*(.nrf_queue*)" address_symbol="__start_nrf_queue" end_symbol="__stop_nrf_queue" />

Any idea about its equivalent in Segger linker script?

Thanks,

Sam

Parents
  • Hi Einar,

    No, that's not what I am looking for.

    The issue is that when I create a new project under Segger Embedded Studio, the created project uses the new Segger linker and associated linker script (.icf file). However, most project examples provided by Nordic use the GNU linker with the flash_palcement.xml file. When I want to use the code provided by those examples and if those examples use 'section variables', I have to modify the Segger icf file to place to those sections variable and so far I have not found an example explaining that. Also, I didn't find any way to tell Segger Embedded Studio not to use their linker and generate the new project for GNU linker.

    Thanks,

    Sam

Reply
  • Hi Einar,

    No, that's not what I am looking for.

    The issue is that when I create a new project under Segger Embedded Studio, the created project uses the new Segger linker and associated linker script (.icf file). However, most project examples provided by Nordic use the GNU linker with the flash_palcement.xml file. When I want to use the code provided by those examples and if those examples use 'section variables', I have to modify the Segger icf file to place to those sections variable and so far I have not found an example explaining that. Also, I didn't find any way to tell Segger Embedded Studio not to use their linker and generate the new project for GNU linker.

    Thanks,

    Sam

Children
Related