Saturday, April 21st 2018, 3:15pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Gramp

Beginner

Date of registration: Aug 3rd 2017

Posts: 2

1

Tuesday, December 26th 2017, 10:40am

[SOLVED] Toolchain - Linker Problem

Hello i am trying to use Linker for nRF52832 Softdevice132. But when i try to compile ,



Source code

1
> /usr/share/segger_embedded_studio_for_arm_3.34/gcc/arm-none-eabi/bin/ld: cannot find -lgcc1> /usr/share/segger_embedded_studio_for_arm_3.34/gcc/arm-none-eabi/bin/ld: cannot find -lc1> /usr/share/segger_embedded_studio_for_arm_3.34/gcc/arm-none-eabi/bin/ld: cannot find -lnosys



I get these errors. I did not had any problem with the arm gnu toolchain before like this and i've thought it might be software related. I am using 64 bit Linux version of Segger Embedded Studio.

Also as a side question is there any option to flash my applications hex code with the softdevice to the nRF ?

Thanks.

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 377

2

Tuesday, January 2nd 2018, 10:32am

Hi,

The libraries that you try to link come from the newlib standard library.
Embedded Studio instead includes its own standard library that is much more optimized for small micros.

How did you create the project?
Did you use the Nordic SDK examples?

The documentation of the Nordic SDK also describes how to flash the softdevice.
Maybe have a look at it or search the Nordic forums.

You can specify the softdevice hex as an additional loader file that is loaded with the application on debug start.

Regards
Johannes