unknown type name '__printf_tag_ptr' retarget.c

please help me i'm using ble_app_uart_pca10056_s140

Parents
  • 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... 

Reply
  • 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... 

Children
No Data
Related