please help me i'm using ble_app_uart_pca10056_s140
please help me i'm using ble_app_uart_pca10056_s140
I tried changing one line in sdk_config.h to this: #define RETARGET_ENABLED 0 (instead of 1)
But then we get some linker errors like
C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 6.20a/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi_balanced.a(fileops.o): in function `putchar':
fileops.c:(.text.libc.putchar+0x0): undefined reference to `stdout'.
...
I don't know what else to try...
unfortunately nothing in that thread works for this case, I tried everything
Solution:
If you're using latest nRF SDK (e.g. v17.1.0) then rather install older SEGGER Embedded Studio Release 5.42a
Rationale: latest SDK release notes state that "SES 5.42a" has been "used for testing and verification"
Go to Project->Options and then select Code->Library. For "library I/O" select RTT or another library.
YES!
This alone does not get it to work. But doing this (Go to Project->Options and then select Code->Library. For "library I/O" select RTT) as well as changing to #define RETARGET_ENABLED 0 in the sdk_config.h file as indicated by bko. That is the magic sauce. Thanks to both of you!