zephyr/ext/debug/segger/CMakeLists.txt
Pavel Kral 1a583fa8be ext: debug: segger: Add USE_SEGGER_RTT that enables RTT libraries.
This option allows to explicitly include Segger RTT libraries and
enables use of it for various subsystems. It is disabled by
default as it consumes more RAM.

Signed-off-by: Pavel Kral <pavel.kral@omsquare.com>
2018-10-31 12:47:53 +01:00

8 lines
223 B
CMake

zephyr_include_directories_ifdef(CONFIG_USE_SEGGER_RTT .)
zephyr_sources_ifdef(CONFIG_USE_SEGGER_RTT
rtt/SEGGER_RTT.c
rtt/SEGGER_RTT_zephyr.c
)
zephyr_sources_ifdef(CONFIG_SEGGER_SYSTEMVIEW systemview/SEGGER_SYSVIEW.c)