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

compiling SEGGER_RTT_Syscalls_KEIL.c...

I am using nrf52833dk and download nRF5_SDK_17.0.2_d674dde   when i build the code the code the following error occur

asBuild target 'nrf52840_xxaa'
compiling SEGGER_RTT_Syscalls_KEIL.c...
linking...
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol __stdout_name multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol __stderr_name multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_close multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_ensure multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_flen multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_istty multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_open multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_read multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_seek multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol _sys_write multiply defined (by sys_io.o and segger_rtt_syscalls_keil.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 10 error messages.
".\_build\nrf52840_xxaa.axf" - 10 Error(s), 0 Warning(s).
Target not created.

please give any suggestion how to minimize these error .

Parents Reply
  • Hi Amey, 

    I think you are creating ble_app_template pca10100 for nRF52833DK.

    Are you able to build the unmodified ble_app_template pca10056 without those issues?  Which version of nRF_DeviceFamilyPack are you using? Could you try v8.35?

    I duplicated the ble_app_template pca10056 and modify the Rom/Ram address and target to create the file for pca10100 for nRF52833DK as  7725.pca10100.zip. Please place under nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_template and build with nRF_DeviceFamilyPack v8.35.

    -Amanda H.

Children
Related