tracing: fix conflict with RTT locking
Make custom RTT locking configurable and select it where it is needed. When using RTT for tracing we want to use the default locking. Update both segger and tracerecorder modules to support that. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
acee43a176
commit
108129cf7d
5 changed files with 10 additions and 2 deletions
|
@ -16,6 +16,11 @@ config USE_SEGGER_RTT
|
|||
|
||||
if USE_SEGGER_RTT
|
||||
|
||||
config SEGGER_RTT_CUSTOM_LOCKING
|
||||
bool "Enable custom locking"
|
||||
help
|
||||
Enable custom locking using a mutex.
|
||||
|
||||
config SEGGER_RTT_MAX_NUM_UP_BUFFERS
|
||||
int "Maximum number of up-buffers"
|
||||
default 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue