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

Undefined reference to SEGGER_RTT_printf

I am trying to use SEGGER_RTT_printf with SDK12 in eclipse.

I have added the appropriate lines to the makefile and SEGGER_RTT_WriteString works fine.

My Makefile lines:

SRC_FILES += \
  $(SDK_ROOT)/external/segger_rtt/RTT_Syscalls_GCC.c \
  $(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
  $(SDK_ROOT)/external/segger_rtt/SEGGER_RTT_printf.c \

INC_FOLDERS += \
  $(SDK_ROOT)/external/segger_rtt \

Thanks in advance for any help on this.

Related