Commit f3400eb9 authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

debug: fix RTT console Kconfig



Use HAS_ Kconfig option as intended, those are invisible option that
signify support of a certain feature that can be selected by a hardware
or platform.

For RTT and system view this was not dont in an inconsistent way.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent c5e62eb7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line

zephyr_include_directories(.)
zephyr_sources_ifdef(CONFIG_HAS_SEGGER_RTT rtt/SEGGER_RTT.c)
zephyr_sources_ifdef(CONFIG_HAS_SEGGER_SYSTEMVIEW systemview/SEGGER_SYSVIEW.c)
zephyr_sources_ifdef(CONFIG_RTT_CONSOLE rtt/SEGGER_RTT.c)
zephyr_sources_ifdef(CONFIG_SEGGER_SYSTEMVIEW systemview/SEGGER_SYSVIEW.c)
+3 −3
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@

config HAS_SEGGER_RTT
	bool
	prompt "Segger RTT support"
	default n

config HAS_SEGGER_SYSTEMVIEW
config SEGGER_SYSTEMVIEW
	bool
	prompt "Segger SystemView support"
	default n
	select HAS_SEGGER_RTT
	depends on HAS_SEGGER_RTT
	select RTT_CONSOLE