Revert "segger: rtt: disable unsupported shell/log features"

This reverts commit c88a9ef272.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-12-09 11:20:47 +01:00 committed by Benjamin Cabé
commit ca4f2d94f8
4 changed files with 3 additions and 6 deletions

View file

@ -39,7 +39,6 @@ config SEGGER_RTT_BUFFER_SIZE_UP
config SEGGER_RTT_BUFFER_SIZE_DOWN
int "Size of the buffer for terminal input of target, from host"
default 32 if SHELL_BACKEND_RTT
default 16
config SEGGER_RTT_PRINTF_BUFFER_SIZE

View file

@ -4,7 +4,7 @@
config LOG_BACKEND_UART
bool "UART backend"
depends on UART_CONSOLE
default y if !SHELL_BACKEND_SERIAL && !SHELL_BACKEND_RTT
default y if !SHELL_BACKEND_SERIAL
select LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP
help
When enabled backend is using UART to output logs.

View file

@ -114,7 +114,7 @@ config SHELL_ARGC_MAX
config SHELL_TAB
bool "The Tab button support in shell"
default y if !SHELL_MINIMAL && !SHELL_BACKEND_RTT
default y if !SHELL_MINIMAL
help
Enable using the Tab button in the shell. The button
can be used for prompting commands, or for autocompletion.
@ -169,7 +169,7 @@ config SHELL_START_OBSCURED
config SHELL_VT100_COMMANDS
bool "VT100 commands in shell"
default y if !SHELL_BACKEND_RTT
default y
help
Enables VT100 commands in shell (e.g. cursor position, clear screen etc.).

View file

@ -16,8 +16,6 @@ DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart
config SHELL_BACKEND_SERIAL
bool "Serial backend"
# Serial (UART) requires interrupts and the RTT backend cannot be used from an ISR context.
default n if SHELL_BACKEND_RTT
default "$(dt_chosen_enabled,$(DT_CHOSEN_Z_SHELL_UART))"
select SERIAL
select RING_BUFFER