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>
8 lines
223 B
CMake
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)
|