@@ -123,56 +123,59 @@ config SYSLOG_RTT
123
123
Use Segger J-Link RTT as a SYSLOG output device.
124
124
125
125
config SERIAL_RTT
126
- bool "Segger RTT serial driver"
126
+ bool
127
127
select SEGGER_RTT
128
128
select SERIAL_RXDMA
129
129
select SERIAL_TXDMA
130
- depends on SERIAL
131
130
default n
132
131
---help---
133
132
This option is used to enable RTT serial device
134
133
In Segger RTT serial driver, RTT channel buffer and serial DMA buffer are shared,
135
134
So you cannot use RTT stream to operate it
136
135
137
- if SERIAL_RTT
138
-
139
136
config SERIAL_RTT_POLLING_INTERVAL
140
137
int "Segger RTT serial pilling interval (us)"
138
+ depends on SERIAL_RTT
141
139
default USEC_PER_TICK
142
140
---help---
143
141
This option is used to configure the RTT serial polling interval
144
142
145
143
config SERIAL_RTT0
146
144
bool "Segger RTT serial for channel 0"
145
+ select SERIAL_RTT
146
+ depends on SERIAL
147
147
default n
148
148
---help---
149
149
This option is used to enable the serial driver of channel 0
150
150
151
151
config SERIAL_RTT1
152
152
bool "Segger RTT serial for channel 1"
153
+ select SERIAL_RTT
154
+ depends on SERIAL
153
155
default n
154
- depends on SEGGER_RTT_MAX_NUM_DOWN_BUFFERS >= 2
155
156
---help---
156
157
This option is used to enable the serial driver of channel 1
157
158
158
159
config SERIAL_RTT2
159
160
bool "Segger RTT serial for channel 2"
161
+ select SERIAL_RTT
162
+ depends on SERIAL
160
163
default n
161
- depends on SEGGER_RTT_MAX_NUM_DOWN_BUFFERS >= 3
162
164
---help---
163
165
This option is used to enable the serial driver of channel 2
164
166
165
167
config SERIAL_RTT_CONSOLE
166
168
int "Segger RTT console channel"
169
+ depends on SERIAL_RTT
167
170
default 0 if SERIAL_RTT0
171
+ default 1 if SERIAL_RTT1
172
+ default 2 if SERIAL_RTT2
168
173
default -1
169
174
---help---
170
175
Select RTT console channel, using RTT channel 0 by default.
171
176
The buffer size of RTT channel 0 is configured by SEGGER_RTT_BUFFER_SIZE_UP/DOWN
172
177
You need to turn off other console devices before using Segger RTT console
173
178
174
- endif # SERIAL_RTT
175
-
176
179
if DRIVERS_NOTE
177
180
178
181
config NOTE_RTT
0 commit comments