zephyr/ext/debug/segger/CMakeLists.txt

9 lines
295 B
CMake

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