add_library(RTT OBJECT
SEGGER_RTT.c
SEGGER_RTT_printf.c
SEGGER_RTT_Syscalls_GCC.c
)
target_include_directories(RTT
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}