Migrating makefile to SEGGER Studio

Greetings,

I'm trying to migrate the MAKEFILE configuration to SEGGER studio so that I could build and debug the project from there. So far, I'm stuck on the Linking part with the following error:

c:/program files (x86)/gnu arm embedded toolchain/10 2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file nrf5x_common.ld: No such file or directory

ld returned 1 exit status


nrf5x_common.ld is located in the following directory: C:\test\nRF5_SDK\components\toolchain\gcc. The issue is, when I copy the file in the same directory where the ld.exe tries to execute, I will get the error that no such file exists.

Any direction or tip would be appreciated.

Parents
  • Hello,

    It looks like your project is currently set up to use existing linker scripts from your makefile project. In our projects, we let SES to generate the linker script from the flash_placement.xml file that is included with each project.

    I recommend starting with an existing Segger Embedded Studio project from the SDK as a starting point. The *.emProject files are XML formatted, and you can edit them using a text editor (this should be faster than doing the same in the UI).

    Best regards,

    Vidar

Reply
  • Hello,

    It looks like your project is currently set up to use existing linker scripts from your makefile project. In our projects, we let SES to generate the linker script from the flash_placement.xml file that is included with each project.

    I recommend starting with an existing Segger Embedded Studio project from the SDK as a starting point. The *.emProject files are XML formatted, and you can edit them using a text editor (this should be faster than doing the same in the UI).

    Best regards,

    Vidar

Children
No Data
Related