3
3
4
4
DT_COMPAT_NORDIC_NRF_TBM := nordic,nrf-tbm
5
5
6
- config NRF_ETR
6
+ config DEBUG_NRF_ETR
7
7
bool "Coresight ETR handler (with Nordic TBM)"
8
8
depends on $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_TBM))
9
9
select NRFX_TBM
@@ -14,9 +14,9 @@ config NRF_ETR
14
14
data). Busyness is tracked using TBM (Trace Buffer Monitor) peripheral
15
15
which is specific to Nordic Semiconductor SoCs.
16
16
17
- if NRF_ETR
17
+ if DEBUG_NRF_ETR
18
18
19
- config NRF_ETR_DECODE
19
+ config DEBUG_NRF_ETR_DECODE
20
20
bool "Decode ETR content"
21
21
default y if LOG_FRONTEND_STMESP_FSC
22
22
select MIPI_STP_DECODER
@@ -29,70 +29,70 @@ config NRF_ETR_DECODE
29
29
In this mode, log messages stored by Coresight STM logging frontends are
30
30
decoded and printed in the human readable form.
31
31
32
- config NRF_ETR_DECODE_DROP_PERIOD
32
+ config DEBUG_NRF_ETR_DECODE_DROP_PERIOD
33
33
int "Period of dropped messages notification"
34
34
default 5000
35
35
help
36
36
Period (in milliseconds) how often it is checked if any dropped messages
37
37
have occurred.
38
38
39
- config NRF_ETR_DEBUG
39
+ config DEBUG_NRF_ETR_DEBUG
40
40
bool "Debug mode"
41
41
depends on !LOG_PRINTK
42
42
select MIPI_STP_DECODER
43
43
select CS_TRACE_DEFMT
44
44
help
45
45
In debug mode STPv2 decoded data is printed.
46
46
47
- config NRF_ETR_STACK_SIZE
47
+ config DEBUG_NRF_ETR_STACK_SIZE
48
48
int "ETR thread stack size"
49
- default 2048 if NRF_ETR_DECODE || NRF_ETR_DEBUG
49
+ default 2048 if DEBUG_NRF_ETR_DECODE || DEBUG_NRF_ETR_DEBUG
50
50
default 1024
51
51
52
- config NRF_ETR_BACKOFF
52
+ config DEBUG_NRF_ETR_BACKOFF
53
53
int "Thread backoff time (ms)"
54
54
default 10
55
55
help
56
56
Determines how often attempt to dump the data is performed.
57
57
58
- config NRF_ETR_FLUSH_TIMEOUT
58
+ config DEBUG_NRF_ETR_FLUSH_TIMEOUT
59
59
int "Backoff time during flushing (ms)"
60
60
default 100
61
61
help
62
62
When thread triggers flushing of ETR data, it periodically checks if
63
63
there is still a pending ETR data. This option specifies how often
64
64
thread is waking up to check. Given in milliseconds.
65
65
66
- config NRF_ETR_SYNC_PERIOD
66
+ config DEBUG_NRF_ETR_SYNC_PERIOD
67
67
int "Period of custom synchronization frame"
68
- default 0 if NRF_ETR_DECODE
69
- default 0 if NRF_ETR_DEBUG
68
+ default 0 if DEBUG_NRF_ETR_DECODE
69
+ default 0 if DEBUG_NRF_ETR_DEBUG
70
70
default 16
71
71
help
72
72
To help find the synchronization when decoding the ETR content
73
73
by a host tool a synchronization pattern (16 bytes of 0xFF) can be
74
74
sent on regular intervals. This frame is sent between Coresight formatter
75
75
frames. Use 0 to disable.
76
76
77
- config NRF_ETR_SHELL
77
+ config DEBUG_NRF_ETR_SHELL
78
78
bool "Use shell"
79
79
select UART_ASYNC_API
80
80
select UART_ASYNC_RX_HELPER
81
81
select SHELL_LOG_BACKEND_CUSTOM
82
- depends on NRF_ETR_DECODE
82
+ depends on DEBUG_NRF_ETR_DECODE
83
83
default y if SHELL
84
84
help
85
85
Enable shell with Coresight STM logging support.
86
86
87
- if NRF_ETR_SHELL
87
+ if DEBUG_NRF_ETR_SHELL
88
88
89
- config NRF_ETR_SHELL_PROMPT
89
+ config DEBUG_NRF_ETR_SHELL_PROMPT
90
90
string "Displayed prompt name"
91
91
default "uart:~$ "
92
92
help
93
93
Displayed prompt name for UART shell with Coresight STM logging.
94
94
95
- config NRF_ETR_SHELL_ASYNC_RX_BUFFER_SIZE
95
+ config DEBUG_NRF_ETR_SHELL_ASYNC_RX_BUFFER_SIZE
96
96
int "Size of the RX buffer"
97
97
default 16
98
98
help
@@ -101,13 +101,13 @@ config NRF_ETR_SHELL_ASYNC_RX_BUFFER_SIZE
101
101
slow and may need to be increased if long messages are pasted directly
102
102
to the shell prompt.
103
103
104
- config NRF_ETR_SHELL_ASYNC_RX_BUFFER_COUNT
104
+ config DEBUG_NRF_ETR_SHELL_ASYNC_RX_BUFFER_COUNT
105
105
int "Number of RX buffers"
106
106
default 4
107
107
range 2 64
108
108
help
109
109
Number of RX buffers.
110
110
111
- endif # NRF_ETR_SHELL
111
+ endif # DEBUG_NRF_ETR_SHELL
112
112
113
- endif # NRF_ETR
113
+ endif # DEBUG_NRF_ETR
0 commit comments