shell: backends: Do not use RTT backend with immediate logging
RTT backend can only be called from thread context and immediate
logging might lead to interrupt context use. Previously this limitation
was implied in different way and commit (c88a9ef27
) got reverted.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
ca4f2d94f8
commit
c7f400c9aa
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ config SHELL_BACKEND_RTT
|
|||
select RTT_CONSOLE
|
||||
select SEGGER_RTT_CUSTOM_LOCKING
|
||||
depends on USE_SEGGER_RTT
|
||||
# RTT backend can only be called from thread context.
|
||||
depends on !(SHELL_LOG_BACKEND && LOG_MODE_IMMEDIATE)
|
||||
help
|
||||
Enable RTT backend.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue