Smart Remote 3 nRF52 v1.2
sr3_config_nrf52810_pca20031.h
1 /*$$$LICENCE_NORDIC_STANDARD<2016>$$$*/
2 
12 #ifndef _SR3_CONFIG_BOARD_H
13 #define _SR3_CONFIG_BOARD_H
14 
15 // <<< Use Configuration Wizard in Context Menu >>>
16 
17 // <h> Smart Remote 3 nRF52 Features
18 // <i> This section contains the configuration settings for all Smart Remote 3 nRF52 features.
19 
20 // <e> Enable Accelerometer Support
21 // <i> Enables the low power accelerometer module.
23 #define CONFIG_ACC_ENABLED 1
24 
25 // <o> TWI Bus
26 // <i> Select the TWI Bus that will be used to communicate with the accelerometer.
27 // <0=>Primary
28 // <1=>Secondary
30 #define CONFIG_ACC_TWI_BUS 1
31 
32 // <e> Use Accelerometer Click Detection
33 // <i> Enable EXPERIMENTAL click detection with the accelerometer. With this option enabled, the user can tap the casing of the device for the click effect.
35 #define CONFIG_ACC_USE_CLICK_DETECTION (0 && CONFIG_ACC_ENABLED)
36 
37 // <o> Click Event Threshold <1-255>
38 // <i> Set the click event threshold for the click detection functionality.
40 #define CONFIG_ACC_CLICK_THRESHOLD 8
41 
42 // <o> Click Event Time Limit <1-255>
43 // <i> Set the click event time limit for the click detection functionality.
45 #define CONFIG_ACC_CLICK_TIMELIMIT 2
46 
47 // <o> Click Event Latency <1-255>
48 // <i> Set the click event latency for the click detection functionality.
50 #define CONFIG_ACC_CLICK_LATENCY 7
51 
52 // <q.0> Detect Click Events on the x-axis
53 // <q.2> Detect Click Events on the y-axis
54 // <q.4> Detect Click Events on the z-axis
56 #define CONFIG_ACC_CLICK_AXES 0x10
57 // </e>
58 
59 // <e> Use Low Power Accelerometer as a Wakeup Source
60 // <i> Enable motion-based wakeup.
62 #define CONFIG_ACC_WAKEUP_SOURCE 1
63 
64 // <o> Wakeup Threshold <1-255>
65 // <i> Set the minimal acceleration that causes system wakeup.
67 #define CONFIG_ACC_WAKEUP_THRESHOLD 8
68 // </e>
69 
70 // <h> Logging Options
71 // <i> This section configures module-specific logging options.
72 
73 // <o> Module logging level
74 // <0=> None
75 // <1=> Error
76 // <2=> Warning
77 // <3=> Info
78 // <4=> Debug
80 #define CONFIG_ACC_MODULE_LOG_LEVEL 4
81 
82 // <o> Driver logging level
83 // <0=> None
84 // <1=> Error
85 // <2=> Warning
86 // <3=> Info
87 // <4=> Debug
89 #define CONFIG_ACC_DRV_LOG_LEVEL 4
90 // </h>
91 // </e>
92 
93 // <e> Enable Audio Support
94 // <i> Enable the audio subsystem. With this subsystem enabled, the remote will transmit voice commands to the host over Bluetooth.
96 #define CONFIG_AUDIO_ENABLED 1
97 
98 // <o> Audio Codec
99 // <i> ADPCM - the simplest codec that offers minimal usage of CPU and memory resources.
100 // <i> BV32FP - dedicated for voice. Moderate usage of memory and high usage of CPU resources. Better quality than ADCPM.
101 // <i> Opus - highly advanced and configurable codec. High memory consumption. CPU consumption depends on the settings.
102 // <i> SBC - low-complexity subband codec specified by Bluetooth SIG for A2DP.
103 // <i> Note: When using Keil, use the option "Rebuild all target files" to change stack size between codecs.
104 // <1=>ADPCM
105 // <2=>BV32FP
106 // <3=>Opus
107 // <4=>SBC
109 #define CONFIG_AUDIO_CODEC 4
110 
111 // <e> Enable Active Noise Reduction
112 // <i> The Active Noise Reduction (ANR) system involves two microphones. One of them picks up the voice of the user while the other one picks up background noise.
113 // <i> Background noise is then removed from the signal.
115 #define CONFIG_AUDIO_ANR_ENABLED 0
116 
117 // <o> Length of the adaptive filter for the noise canceller [samples] <16-1024:16>
119 #define CONFIG_AUDIO_ANR_LENGTH 32
120 
121 // <o> Distance between noise and voice microphones [samples] <1-256>
123 #define CONFIG_AUDIO_ANR_DELAY_LENGTH 1
124 // </e>
125 
126 // <q> Enable Equalizer
127 // <i> Enable the software equalizer. The equalizer characteristic is defined in the drv_audio_dsp.c file.
129 #define CONFIG_AUDIO_EQUALIZER_ENABLED 0
130 
131 // <q> Enable Gain Control
132 // <i> Enable software gain control. The gain is defined in the drv_audio_dsp.c file. It is recommended to use hardware gain control in the PDM configuration.
134 #define CONFIG_AUDIO_GAIN_CONTROL_ENABLED 0
135 
136 // <o> Sampling Frequency
137 // <i> Select audio sampling frequency.
138 // <i> Note that not all combinations of sampling frequency and codec are supported.
139 // <8000=>8 kHz
140 // <16000=>16 kHz
141 // <24000=>24 kHz
142 // <32000=>32 kHz
144 #define CONFIG_AUDIO_SAMPLING_FREQUENCY 16000
145 
146 // <h> ADPCM Options
147 // <o> Audio Frame Size
148 // <128=>128 Samples
149 // <256=>256 Samples
150 // <512=>512 Samples
151 #if (CONFIG_AUDIO_CODEC == CONFIG_AUDIO_CODEC_ADPCM)
152 
153 #define CONFIG_AUDIO_FRAME_SIZE_SAMPLES 128
154 #endif /* CONFIG_AUDIO_CODEC == CONFIG_AUDIO_CODEC_ADPCM */
155 // </h>
156 
157 // <h> Opus Options
158 // <o> Mode
159 // <i> SILK mode is specifically dedicated for voice but requires more CPU and memory resources than CELT.
160 // <i> CELT is a general-purpose mode that is more power efficient and uses less resources.
161 // <i> Hybrid mode is not supported.
162 // <i> Note: When using Keil, use the option "Rebuild all target files" to change stack size between CELT/SILK.
163 // <1=>CELT Only
164 // <2=>SILK Only
166 #define CONFIG_OPUS_MODE 1
167 
168 // <o> Bit Rate
169 // <i> VBR - Variable Bit Rate is fully controlled by the codec.
170 // <i> CVBR - Constrained Variable Bit Rate is variable to some extent but allows you to set an average bit rate.
171 // <i> CBR - Constant Bit Rate allows you to set a specific bit rate that remains the same throughout the transmission.
172 // <0=>VBR
173 // <16000=>CVBR: 16 kbit/s
174 // <24000=>CVBR: 24 kbit/s
175 // <32000=>CVBR: 32 kbit/s
176 // <40000=>CVBR: 40 kbit/s
177 // <48000=>CVBR: 48 kbit/s
178 // <56000=>CVBR: 56 kbit/s
179 // <64000=>CVBR: 64 kbit/s
180 // <80000=>CVBR: 80 kbit/s
181 // <96000=>CVBR: 96 kbit/s
182 // <112000=>CVBR: 112 kbit/s
183 // <128000=>CVBR: 128 kbit/s
184 // <16001=>CBR: 16 kbit/s
185 // <24001=>CBR: 24 kbit/s
186 // <32001=>CBR: 32 kbit/s
187 // <40001=>CBR: 40 kbit/s
188 // <48001=>CBR: 48 kbit/s
189 // <56001=>CBR: 56 kbit/s
190 // <64001=>CBR: 64 kbit/s
191 // <80001=>CBR: 80 kbit/s
192 // <96001=>CBR: 96 kbit/s
193 // <112001=>CBR: 112 kbit/s
194 // <128001=>CBR: 128 kbit/s
195 //
196 // Bit rate: (CONFIG_OPUS_BITRATE_CFG & ~0x0F)
197 // Flags: (CONFIG_OPUS_BITRATE_CFG & 0x0F)
198 // Bit 0: 0 = VBR/CVBR
199 // 1 = CBR
200 //
202 #define CONFIG_OPUS_BITRATE_CFG 0
203 
204 // <o> Bit Rate Limit
205 // <i> Set a bit rate limit that cannot be exceeded during the transmission. Must be equal or higher than the configured bit rate.
206 // <16000=>16 kbit/s
207 // <24000=>24 kbit/s
208 // <32000=>32 kbit/s
209 // <40000=>40 kbit/s
210 // <48000=>48 kbit/s
211 // <56000=>56 kbit/s
212 // <64000=>64 kbit/s
213 // <72000=>72 kbit/s
214 // <80000=>80 kbit/s
215 // <88000=>88 kbit/s
216 // <96000=>96 kbit/s
217 // <112000=>112 kbit/s
218 // <128000=>128 kbit/s
219 // <144000=>144 kbit/s
220 // <160000=>160 kbit/s
222 #define CONFIG_OPUS_BITRATE_LIMIT 40000
223 
224 // <o> Complexity <0-10>
225 // <i> A number from range 0-10. Higher complexity assures better quality but also higher CPU and memory resources consumption.
227 #define CONFIG_OPUS_COMPLEXITY 0
228 
229 // <o> Audio Frame Size
230 // <i> CELT supports 5 ms - 40 ms audio frames. SILK provides support for 10 ms - 60 ms frame sizes.
231 // <5=>5 ms
232 // <10=>10 ms
233 // <20=>20 ms
234 // <40=>40 ms
235 // <60=>60 ms
236 #if (CONFIG_AUDIO_CODEC == CONFIG_AUDIO_CODEC_OPUS)
237 
238 #define CONFIG_AUDIO_FRAME_SIZE_MS 20
239 #endif /* CONFIG_AUDIO_CODEC == CONFIG_AUDIO_CODEC_OPUS */
240 
241 // <q> Include frame header
242 // <i> Note: Host-side NVS implementation requires frame header for reassembly. Disabling this option breaks NVS host compatibility.
244 #define CONFIG_OPUS_HEADER_ENABLED 1
245 // </h>
246 
247 // <h> SBC Options
248 // <o> Mode
249 // <i> mSBC - a modified version of the SBC codec specified in Hands-Free Profile, block length: 15, subbands: 8, allocation: Loudness, bitpool: 26.
250 // <i> Custom - standard A2DP codec with settings specified in the following section.
251 // <0=>mSBC
252 // <1=>Custom
254 #define CONFIG_SBC_MODE 0
255 
256 // <h> Custom mode settings
257 // <o> Block length
258 // <i> Block length to be used by the SBC encoder.
259 // <4=>4
260 // <8=>8
261 // <12=>12
262 // <16=>16
263 #if (CONFIG_SBC_MODE == CONFIG_SBC_MODE_CUSTOM)
264 
265 #define CONFIG_SBC_BLOCKS 16
266 #endif
267 
268 // <o> Number of subbands
269 // <i> Number of subbands to be used by the SBC encoder.
270 // <4=>4
271 // <8=>8
272 #if (CONFIG_SBC_MODE == CONFIG_SBC_MODE_CUSTOM)
273 
274 #define CONFIG_SBC_SUBBANDS 8
275 #endif
276 
277 // <o> Allocation method
278 // <i> Allocation method to be used by the SBC encoder.
279 // <0=>Loudness
280 // <1=>SNR
281 #if (CONFIG_SBC_MODE == CONFIG_SBC_MODE_CUSTOM)
282 
283 #define CONFIG_SBC_ALLOCATION 0
284 #endif
285 
286 // <o> Bitpool value <2-250>
287 // <i> Bitpool value to be used by the SBC encoder.
288 #if (CONFIG_SBC_MODE == CONFIG_SBC_MODE_CUSTOM)
289 
290 #define CONFIG_SBC_BITPOOL 28
291 #endif
292 // </h>
293 // </h>
294 
295 // <h> Pulse-Density Modulation (PDM) Interface Configuration
296 // <i> Specify the PDM interface configuration settings.
297 // <o> PDM Microphone
298 // <i> If ANR is enabled, select the PDM microphone that will be used to pick up voice. The other microphone will be used to pick up background noise.
299 // <i> For nRF52810 this option must be set to "Left" (1).
300 // <1=>Left
301 // <2=>Right
303 #define CONFIG_PDM_MIC 1
304 
305 // <o> PDM Decimation Filter Gain
306 // <i> For details on the PDM decimation filter, see the 'Decimation filter' section in the nRF52 Product Specification document.
307 // <0x00=>-20.0 dB
308 // <0x01=>-19.5 dB
309 // <0x02=>-19.0 dB
310 // <0x03=>-18.5 dB
311 // <0x04=>-18.0 dB
312 // <0x05=>-17.5 dB
313 // <0x06=>-17.0 dB
314 // <0x07=>-16.5 dB
315 // <0x08=>-16.0 dB
316 // <0x09=>-15.5 dB
317 // <0x0A=>-15.0 dB
318 // <0x0B=>-14.5 dB
319 // <0x0C=>-14.0 dB
320 // <0x0D=>-13.5 dB
321 // <0x0E=>-13.0 dB
322 // <0x0F=>-12.5 dB
323 // <0x10=>-12.0 dB
324 // <0x11=>-11.5 dB
325 // <0x12=>-11.0 dB
326 // <0x13=>-10.5 dB
327 // <0x14=>-10.0 dB
328 // <0x15=>-9.5 dB
329 // <0x16=>-9.0 dB
330 // <0x17=>-8.5 dB
331 // <0x18=>-8.0 dB
332 // <0x19=>-7.5 dB
333 // <0x1A=>-7.0 dB
334 // <0x1B=>-6.5 dB
335 // <0x1C=>-6.0 dB
336 // <0x1D=>-5.5 dB
337 // <0x1E=>-5.0 dB
338 // <0x1F=>-4.5 dB
339 // <0x20=>-4.0 dB
340 // <0x21=>-3.5 dB
341 // <0x22=>-3.0 dB
342 // <0x23=>-2.5 dB
343 // <0x24=>-2.0 dB
344 // <0x25=>-1.5 dB
345 // <0x26=>-1.0 dB
346 // <0x27=>-0.5 dB
347 // <0x28=>0.0 dB
348 // <0x29=>+0.5 dB
349 // <0x2A=>+1.0 dB
350 // <0x2B=>+1.5 dB
351 // <0x2C=>+2.0 dB
352 // <0x2D=>+2.5 dB
353 // <0x2E=>+3.0 dB
354 // <0x2F=>+3.5 dB
355 // <0x30=>+4.0 dB
356 // <0x31=>+4.5 dB
357 // <0x32=>+5.0 dB
358 // <0x33=>+5.5 dB
359 // <0x34=>+6.0 dB
360 // <0x35=>+6.5 dB
361 // <0x36=>+7.0 dB
362 // <0x37=>+7.5 dB
363 // <0x38=>+8.0 dB
364 // <0x39=>+8.5 dB
365 // <0x3A=>+9.0 dB
366 // <0x3B=>+9.5 dB
367 // <0x3C=>+10.0 dB
368 // <0x3D=>+10.5 dB
369 // <0x3E=>+11.0 dB
370 // <0x3F=>+11.5 dB
371 // <0x40=>+12.0 dB
372 // <0x41=>+12.5 dB
373 // <0x42=>+13.0 dB
374 // <0x43=>+13.5 dB
375 // <0x44=>+14.0 dB
376 // <0x45=>+14.5 dB
377 // <0x46=>+15.0 dB
378 // <0x47=>+15.5 dB
379 // <0x48=>+16.0 dB
380 // <0x49=>+16.5 dB
381 // <0x4A=>+17.0 dB
382 // <0x4B=>+17.5 dB
383 // <0x4C=>+18.0 dB
384 // <0x4D=>+18.5 dB
385 // <0x4E=>+19.0 dB
386 // <0x4F=>+19.5 dB
387 // <0x50=>+20.0 dB
389 #define CONFIG_PDM_GAIN 0x28
390 
391 // <o> PDM Microphone Transient State Length [ms] <1-1000>
392 // <i> Set the length of the PDM microphone transient state. In this state, the microphone produces invalid data after wakeup or after it is powered on.
394 #define CONFIG_PDM_TRANSIENT_STATE_LEN 10
395 
396 // <q> Enable PDM Microphone Power Control
397 // <i> Enable control over the microphone power line. Remember to configure a PDM Microphone Power Control Pin in the I/O Configuration.
399 #define CONFIG_PDM_MIC_PWR_CTRL_ENABLED 1
400 // </h>
401 
402 // <h> Bluetooth Audio Service Options
403 // <i> Configure the Bluetooth Audio options.
404 
405 // <q> Audio HID Service enabled
406 // <i> HID Service for audio enabled and available for audio transmission.
408 #define CONFIG_AUDIO_HID_ENABLED 1
409 
410 // <e> Audio ATVV Service enabled
411 // <i> ATVV Service for audio enabled and available for audio transmission.
413 #define CONFIG_AUDIO_ATVV_ENABLED 0
414 
415 // <o> Remote control ID <0x00-0xFF>
416 // <i> ID value used in ATVV audio frame headers.
418 #define CONFIG_AUDIO_ATVV_REMOTE_CONTROL_ID 0x01
419 
420 // <o> Frame sync message interval <1-0xFFFF>
421 // <i> Number of audio frames in-between frame sync messages.
423 #define CONFIG_AUDIO_ATVV_SYNC_INTERVAL 15
424 
425 // <o> Open mic search timeout [ms] <1-0xFFFF>
426 // <i> Parameter for open mic timeout event generation. If a peer has not sent open mic message within this time after sending the audio search command, an event is generated.
428 #define CONFIG_AUDIO_ATVV_SEARCH_TIMEOUT 1000
429 // </e>
430 // </h>
431 
432 // <q> Enable Audio Processing Gauges
433 // <i> An Audio Processing Gauge is a statistical report of bit rate and CPU usage during a given audio transmission.
435 #define CONFIG_AUDIO_GAUGES_ENABLED (0 && NRF_LOG_ENABLED && CONFIG_AUDIO_ENABLED)
436 
437 // <h> Logging Options
438 // <i> This section configures module-specific logging options.
439 
440 // <o> Module logging level
441 // <0=> None
442 // <1=> Error
443 // <2=> Warning
444 // <3=> Info
445 // <4=> Debug
447 #define CONFIG_AUDIO_MODULE_LOG_LEVEL 4
448 
449 // <o> Codec logging level
450 // <0=> None
451 // <1=> Error
452 // <2=> Warning
453 // <3=> Info
454 // <4=> Debug
456 #define CONFIG_AUDIO_DRV_CODEC_LOG_LEVEL 4
457 
458 // <o> DSP driver logging level
459 // <0=> None
460 // <1=> Error
461 // <2=> Warning
462 // <3=> Info
463 // <4=> Debug
465 #define CONFIG_AUDIO_DRV_DSP_LOG_LEVEL 0
466 
467 // <o> ANR driver logging level
468 // <0=> None
469 // <1=> Error
470 // <2=> Warning
471 // <3=> Info
472 // <4=> Debug
474 #define CONFIG_AUDIO_DRV_ANR_LOG_LEVEL 0
475 
476 // <o> PDM driver logging level
477 // <0=> None
478 // <1=> Error
479 // <2=> Warning
480 // <3=> Info
481 // <4=> Debug
483 #define CONFIG_AUDIO_DRV_PDM_LOG_LEVEL 4
484 // </h>
485 // </e>
486 
487 // <e> Enable Battery Measurement
488 // <i> Enable the battery measurement infrastructure and service.
490 #define CONFIG_BATT_MEAS_ENABLED 1
491 
492 // <o> Voltage of 0% Battery Level [mV]
493 // <i> Configure the battery voltage that corresponds to 0% battery level.
495 #define CONFIG_BATT_MEAS_MIN_LEVEL 1700
496 
497 // <o> Voltage of 100% Battery Level [mV]
498 // <i> Configure the battery voltage that corresponds to 100% battery level.
500 #define CONFIG_BATT_MEAS_MAX_LEVEL 3000
501 
502 // <o> Battery Voltage Polling Interval [s] <1-900>
503 // <i> Configure the time between subsequent battery measurements.
505 #define CONFIG_BATT_MEAS_POLL_INTERVAL 60
506 
507 // <o> Notification Threshold [percentage point] <0-100>
508 // <i> Configure the threshold for sending a battery level notification.
509 // <i> To send the notification on every measurement, set this option to 0.
511 #define CONFIG_BATT_NOTIFICATION_THRESHOLD 1
512 
513 // <h> Logging Options
514 // <i> This section configures module-specific logging options.
515 
516 // <o> Module logging level
517 // <0=> None
518 // <1=> Error
519 // <2=> Warning
520 // <3=> Info
521 // <4=> Debug
523 #define CONFIG_BATT_MEAS_MODULE_LOG_LEVEL 4
524 // </h>
525 // </e>
526 
527 // <e> Enable Buzzer
528 // <i> Enable the buzzer function, which is controlled by Bluetooth Immediate Alert service.
530 #define CONFIG_BUZZER_ENABLED 0
531 
532 // <h> Logging Options
533 // <i> This section configures module-specific logging options.
534 
535 // <o> Module logging level
536 // <0=> None
537 // <1=> Error
538 // <2=> Warning
539 // <3=> Info
540 // <4=> Debug
542 #define CONFIG_BUZZER_MODULE_LOG_LEVEL 4
543 
544 // <o> Driver logging level
545 // <0=> None
546 // <1=> Error
547 // <2=> Warning
548 // <3=> Info
549 // <4=> Debug
551 #define CONFIG_BUZZER_DRV_LOG_LEVEL 4
552 // </h>
553 // </e>
554 
555 // <e> Enable DFU Support
556 // <i> Enable Device Firmware Update subsystem that allows for firmware update over Bluetooth.
558 #define CONFIG_DFU_ENABLED 1
559 
560 // <o> Hardware Version <0x00000000-0xFFFFFFFF>
561 // <i> Hardware version number used to validate DFU image.
563 #define CONFIG_DFU_HW_VERSION 0x20031
564 // </e>
565 
566 // <e> Enable Gyroscope Support
567 // <i> Enable the gyroscope subsystem that allows for the air mouse functionality.
569 #define CONFIG_GYRO_ENABLED 1
570 
571 // <o> TWI Bus
572 // <i> Select the TWI Bus that is used to communicate with the gyroscope.
573 // <0=>Primary
574 // <1=>Secondary
576 #define CONFIG_GYRO_TWI_BUS 0
577 
578 // <o> Gyroscope Idle Time-out [s] <1-255>
579 // <i> Set the time after which the gyroscope mode is automatically disabled if no motion is detected.
581 #define CONFIG_GRYO_IDLE_TIMEOUT 7
582 
583 // <o> Gyroscope Polling Interval [ms] <1-100>
584 // <i> Configure the gyroscope polling interval.
585 // <i> Note 1: The Air Motion Library which translates gyroscope data to mouse cursor movements is optimized for 10 ms polling interval.
586 // <i> Note 2: Polling interval shorter than 5 ms might cause congestion on the I2C bus if other modules using the same bus are enabled.
588 #define CONFIG_GYRO_POLL_INTERVAL 10
589 
590 // <o> Gyroscope X Gain <1-255>
591 // <i> Set the cursor movement gain in the x-axis.
593 #define CONFIG_GYRO_X_GAIN 8
594 
595 // <o> Gyroscope Y Gain <1-255>
596 // <i> Set the cursor movement gain in the y-axis.
598 #define CONFIG_GYRO_Y_GAIN 8
599 
600 // <h> Special Key Mapping
601 // <i> Define the mapping of special keys.
602 
603 // <o> Gyroscope Mode Toggle Key ID <0x00-0xFF>
604 // <i> Select the key that toggles the gyroscope mode.
606 #define CONFIG_GYRO_MODE_KEY_ID 0x26
607 
608 // <o> Left Click Key ID <0x00-0xFF>
609 // <i> Select the key that acts as the left mouse button in the gyroscope mode.
611 #define CONFIG_GYRO_LEFT_CLICK_KEY_ID 0x30
612 
613 // <o> Right Click Key ID <0x00-0xFF>
614 // <i> Select the key that acts as the right mouse button in the gyroscope mode.
616 #define CONFIG_GYRO_RIGHT_CLICK_KEY_ID 0x32
617 // </h>
618 
619 // <h> Logging Options
620 // <i> This section configures module-specific logging options.
621 
622 // <o> Module logging level
623 // <0=> None
624 // <1=> Error
625 // <2=> Warning
626 // <3=> Info
627 // <4=> Debug
629 #define CONFIG_GYRO_MODULE_LOG_LEVEL 4
630 
631 // <o> Driver logging level
632 // <0=> None
633 // <1=> Error
634 // <2=> Warning
635 // <3=> Info
636 // <4=> Debug
638 #define CONFIG_GYRO_DRV_LOG_LEVEL 4
639 // </h>
640 // </e>
641 
642 // <e> Enable IR Transmitter Support
643 // <i> Enable the infrared transmitter subsystem.
645 #define CONFIG_IR_TX_ENABLED 1
646 
647 // <o> IR Protocol selection
648 // <1=>SIRC
649 // <2=>NEC
651 #define CONFIG_IR_PROTOCOL 1
652 
653 // <o> Intersymbol gap length [ms] <10-250>
654 // <i> Set the intersymbol gap length.
656 #define CONFIG_IR_TX_INTER_SYMBOL_GAP 50
657 
658 // <h> Logging Options
659 // <i> This section configures module-specific logging options.
660 
661 // <o> Module logging level
662 // <0=> None
663 // <1=> Error
664 // <2=> Warning
665 // <3=> Info
666 // <4=> Debug
668 #define CONFIG_IR_MODULE_LOG_LEVEL 4
669 
670 // <o> Driver logging level
671 // <0=> None
672 // <1=> Error
673 // <2=> Warning
674 // <3=> Info
675 // <4=> Debug
677 #define CONFIG_IR_DRV_LOG_LEVEL 4
678 // </h>
679 // </e>
680 
681 // <e> Enable Keyboard Support
682 // <i> Enable the keyboard subsystem.
684 #define CONFIG_KBD_ENABLED 1
685 
686 // <o> Keyboard Driver
687 // <i> Select the keyboard driver.
688 // <1=>GPIO-Based Matrix Keyboard
689 // <2=>SX1509-Based Matrix Keyboard
691 #define CONFIG_KBD_DRIVER 1
692 
693 // <o> TWI Bus
694 // <i> Select the TWI Bus that is used to communicate with the keyboard. Relevant only if the SX1509 keyboard driver is selected.
695 // <0=>Primary
696 // <1=>Secondary
698 #define CONFIG_KBD_TWI_BUS 0
699 
700 // <q> Use Keyboard as Wakeup Source
701 // <i> Enable system wakeup based on key press. Available only if the GPIO keyboard driver is selected.
703 #define CONFIG_KBD_WAKEUP_SOURCE 0
704 
705 // <o> Keyboard Polling Interval [ms] <1-100>
706 // <i> Configure the keyboard polling interval.
707 // <i> Note: Polling interval shorter than 5 ms might cause congestion on the I2C bus if the SX1509-based driver is used and other modules using the same bus are enabled.
709 #define CONFIG_KBD_POLL_INTERVAL 15
710 
711 // <o> Key held event generation interval [ms] <0-10000>
712 // <i> Configure the key held event rate (0 => Disable key held event generation).
714 #define CONFIG_KBD_HELD_EVENT_INTERVAL_MS 0
715 
716 // <q> Enable detection of key combinations
717 // <i> Note: Key combinations are created via key_combo_util.h macros.
719 #define CONFIG_KBD_KEY_COMBO_ENABLED (0 && CONFIG_KBD_ENABLED)
720 
721 // <h> Special Key Mapping
722 // <i> Define the mapping of special keys.
723 
724 // <o> Delete Bonds Key ID <0x00-0xFF>
725 // <i> Select the key that removes bonds if it is held during firmware boot.
727 #define CONFIG_KBD_DELETE_BONDS_KEY_ID 0x26
728 
729 // <o> Android TV voice command Key ID <0x00-0xFF>
730 // <i> Select the key that triggers transmission of Android TV Voice command when ATVV Service is enabled in Bluetooth options.
732 #define CONFIG_KBD_ATVV_START_SEARCH_KEY_ID 0x20
733 
734 
735 // <e> Enable Android TV Voice pairing key chords
736 // <i> ATVV suggests key chords for pairing and delete pairing:
737 // <i> Pairing mode: Long Press {HOME + BACK}
738 // <i> Delete pairing: Long Press {DPAD_CENTER + BACK + HOME}
740 #define CONFIG_KBD_ATVV_KEY_CHORDS_ENABLED 1
741 
742 // <o> Android TV remote "HOME" Key ID <0x00-0xFF>
744 #define CONFIG_KBD_ATVV_HOME_KEY_ID 0x30
745 
746 // <o> Android TV remote "BACK" Key ID <0x00-0xFF>
748 #define CONFIG_KBD_ATVV_BACK_KEY_ID 0x32
749 
750 // <o> Android TV remote "DPAD_CENTER" Key ID <0x00-0xFF>
752 #define CONFIG_KBD_ATVV_DPAD_CENTER_KEY_ID 0x34
753 // </e>
754 
755 // <e> Enable Sending Google Chrome Voice Search Shortcut (Ctrl+Shift+.)
756 // <i> Enable activating the Google Chrome voice search with the remote.
758 #define CONFIG_GOOGLE_VOICE_SHORTCUT_ENABLED 1
759 
760 // <o> Google Chrome Voice Search Shortcut Key ID <0x00-0xFF>
761 // <i> Select the key that functions as the equivalent of the Google Chrome voice search shortcut (Ctrl+Shift+.).
763 #define CONFIG_GOOGLE_VOICE_SHORTCUT_KEY_ID 0x23
764 // </e>
765 // </h>
766 
767 // <h> Logging Options
768 // <i> This section configures module-specific logging options.
769 
770 // <o> Module logging level
771 // <0=> None
772 // <1=> Error
773 // <2=> Warning
774 // <3=> Info
775 // <4=> Debug
777 #define CONFIG_KBD_MODULE_LOG_LEVEL 4
778 
779 // <o> Key combo logging level
780 // <0=> None
781 // <1=> Error
782 // <2=> Warning
783 // <3=> Info
784 // <4=> Debug
786 #define CONFIG_KBD_COMBO_LOG_LEVEL 4
787 
788 // <o> Driver logging level
789 // <0=> None
790 // <1=> Error
791 // <2=> Warning
792 // <3=> Info
793 // <4=> Debug
795 #define CONFIG_KBD_DRV_LOG_LEVEL 4
796 // </h>
797 // </e>
798 
799 // <e> Enable LED Support
800 // <i> Enable the LED signaling subsystem.
802 #define CONFIG_LED_ENABLED 0
803 
804 // <o> LED Flip Interval [ms] <10-1000>
805 // <i> Time between each on/off switching of the LED.
807 #define CONFIG_LED_FLIP_INTERVAL 250
808 
809 // <e> Signal Advertising
810 // <i> Enable LED signaling when the remote starts advertising.
812 #define CONFIG_LED_SIGNAL_ADVERTISING (0 && CONFIG_LED_ENABLED)
813 
814 // <h> Action: Clear LEDs
815 // <i> The Clear action clears the signaling that was configured by another event.
816 
817 // <o.0> Clear LED 1
818 // <o.1> Clear LED 2
819 // <o.2> Clear LED 3
820 // <o.3> Clear LED 4
822 #define CONFIG_LED_ADVERTISING_LEDS_CLEAR 0
823 // </h>
824 
825 // <h> Action: Set LEDs
826 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
827 
828 // <o.0> Set LED 1
829 // <o.1> Set LED 2
830 // <o.2> Set LED 3
831 // <o.3> Set LED 4
833 #define CONFIG_LED_ADVERTISING_LEDS_SET 0
834 // </h>
835 
836 // <h> Action: Blink LEDs
837 // <i> The Blink action turns on blinking on the selected LEDs.
838 
839 // <o> Number of LED blinks <0-127>
840 // <i> Specify how many times the LED will blink.
841 // <i> If set to 0, the LED will blink until cleared by another event.
843 #define CONFIG_LED_ADVERTISING_FLASHES 0
844 
845 // <o.0> Use LED 1
846 // <o.1> Use LED 2
847 // <o.2> Use LED 3
848 // <o.3> Use LED 4
850 #define CONFIG_LED_ADVERTISING_LEDS_FLASH 0
851 // </h>
852 // </e>
853 
854 // <e> Signal Connection Establishment
855 // <i> Enable LED signaling when the remote connects to the host.
857 #define CONFIG_LED_SIGNAL_CONNECTION (1 && CONFIG_LED_ENABLED)
858 
859 // <h> Action: Clear LEDs
860 // <i> The Clear action clears the signaling that was configured by another event.
861 
862 // <o.0> Clear LED 1
863 // <o.1> Clear LED 2
864 // <o.2> Clear LED 3
865 // <o.3> Clear LED 4
867 #define CONFIG_LED_CONNECTION_LEDS_CLEAR 0
868 // </h>
869 
870 // <h> Action: Set LEDs
871 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
872 
873 // <o.0> Set LED 1
874 // <o.1> Set LED 2
875 // <o.2> Set LED 3
876 // <o.3> Set LED 4
878 #define CONFIG_LED_CONNECTION_LEDS_SET 0
879 // </h>
880 
881 // <h> Action: Blink LEDs
882 // <i> The Blink action turns on blinking on the selected LEDs.
883 
884 // <o> Number of LED Blinks <0-127>
885 // <i> Specify how many times the LED will blink.
886 // <i> If set to 0, the LED will blink until cleared by another event.
888 #define CONFIG_LED_CONNECTION_FLASHES 1
889 
890 // <o.0> Use LED 1
891 // <o.1> Use LED 2
892 // <o.2> Use LED 3
893 // <o.3> Use LED 4
895 #define CONFIG_LED_CONNECTION_LEDS_FLASH 1
896 // </h>
897 // </e>
898 
899 // <e> Signal Connection Error
900 // <i> Enables LED signaling when the remote cannot connect to the host or when it has been diconnected.
902 #define CONFIG_LED_SIGNAL_CONNECTION_ERROR (1 && CONFIG_LED_ENABLED)
903 
904 // <h> Action: Clear LEDs
905 // <i> The Clear action clears the signaling that was configured by another event.
906 
907 // <o.0> Clear LED 1
908 // <o.1> Clear LED 2
909 // <o.2> Clear LED 3
910 // <o.3> Clear LED 4
912 #define CONFIG_LED_CONNECTION_ERROR_LEDS_CLEAR 0
913 // </h>
914 
915 // <h> Action: Set LEDs
916 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
917 
918 // <o.0> Set LED 1
919 // <o.1> Set LED 2
920 // <o.2> Set LED 3
921 // <o.3> Set LED 4
923 #define CONFIG_LED_CONNECTION_ERROR_LEDS_SET 0
924 // </h>
925 
926 // <h> Action: Blink LEDs
927 // <i> The Blink action turns on blinking on the selected LEDs.
928 
929 // <o> Number of LED Blinks <0-127>
930 // <i> Specify how many times the LED will blink.
931 // <i> If set to 0, the LED will blink until cleared by another event.
933 #define CONFIG_LED_CONNECTION_ERROR_FLASHES 3
934 
935 // <o.0> Use LED 1
936 // <o.1> Use LED 2
937 // <o.2> Use LED 3
938 // <o.3> Use LED 4
940 #define CONFIG_LED_CONNECTION_ERROR_LEDS_FLASH 1
941 // </h>
942 // </e>
943 
944 // <e> Signal Low Battery Condition
945 // <i> Enable LED signaling when the battery level is low.
947 #define CONFIG_LED_SIGNAL_LOW_BATTERY (0 && CONFIG_LED_ENABLED && CONFIG_BATT_MEAS_ENABLED)
948 
949 // <o> Low Battery Threshold [%] <0-100>
950 // <i> Specify what battery level is considered low.
952 #define CONFIG_LED_LOW_BATTERY_THRESHOLD 5
953 
954 // <h> Action: Clear LEDs
955 // <i> The Clear action clears signaling that was configured by another event.
956 
957 // <o.0> Clear LED 1
958 // <o.1> Clear LED 2
959 // <o.2> Clear LED 3
960 // <o.3> Clear LED 4
962 #define CONFIG_LED_LOW_BATTERY_LEDS_CLEAR 0
963 // </h>
964 
965 // <h> Action: Set LEDs
966 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
967 
968 // <o.0> Set LED 1
969 // <o.1> Set LED 2
970 // <o.2> Set LED 3
971 // <o.3> Set LED 4
973 #define CONFIG_LED_LOW_BATTERY_LEDS_SET 0
974 // </h>
975 
976 // <h> Action: Blink LEDs
977 // <i> The Blink action turns on blinking on the selected LEDs.
978 
979 // <o> Number of LED Blinks <0-127>
980 // <i> Specify how many times the LED will blink.
981 // <i> If set to 0, the LED will blink until cleared by another event.
983 #define CONFIG_LED_LOW_BATTERY_FLASHES 1
984 
985 // <o.0> Use LED 1
986 // <o.1> Use LED 2
987 // <o.2> Use LED 3
988 // <o.3> Use LED 4
990 #define CONFIG_LED_LOW_BATTERY_LEDS_FLASH 0
991 // </h>
992 // </e>
993 
994 // <e> Signal Immediate Alert
995 // <i> Enable LED signaling when the Immediate Alert is requested.
997 #define CONFIG_LED_SIGNAL_IMMEDIATE_ALERT (0 && CONFIG_LED_ENABLED)
998 
999 // <h> Alert Level 0 (None) Actions
1000 // <i> This section configures LED signaling when the Immediate Alert Level is set to 0 (none).
1001 
1002 // <h> Action: Clear LEDs
1003 // <i> The Clear action clears the signaling that was configured by another event.
1004 
1005 // <o.0> Clear LED 1
1006 // <o.1> Clear LED 2
1007 // <o.2> Clear LED 3
1008 // <o.3> Clear LED 4
1010 #define CONFIG_LED_IMMEDIATE_ALERT_0_CLEAR 0
1011 // </h>
1012 
1013 // <h> Action: Set LEDs
1014 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
1015 
1016 // <o.0> Set LED 1
1017 // <o.1> Set LED 2
1018 // <o.2> Set LED 3
1019 // <o.3> Set LED 4
1021 #define CONFIG_LED_IMMEDIATE_ALERT_0_SET 0
1022 // </h>
1023 
1024 // <h> Action: Blink LEDs
1025 // <i> The Blink action turns on blinking on the selected LEDs.
1026 
1027 // <o> Number of LED Blinks <0-127>
1028 // <i> Specify how many times the LED will blink.
1029 // <i> If set to 0, the LED will blink until cleared by another event.
1031 #define CONFIG_LED_IMMEDIATE_ALERT_0_FLASHES 1
1032 
1033 // <o.0> Use LED 1
1034 // <o.1> Use LED 2
1035 // <o.2> Use LED 3
1036 // <o.3> Use LED 4
1038 #define CONFIG_LED_IMMEDIATE_ALERT_0_FLASH 0
1039 // </h>
1040 // </h>
1041 
1042 // <h> Alert Level 1 (Mild) Actions
1043 // <i> This section configures LED signaling when the Immediate Alert Level is set to 1 (mild).
1044 
1045 // <h> Action: Clear LEDs
1046 // <i> The Clear action clears the signaling that was configured by another event.
1047 
1048 // <o.0> Clear LED 1
1049 // <o.1> Clear LED 2
1050 // <o.2> Clear LED 3
1051 // <o.3> Clear LED 4
1053 #define CONFIG_LED_IMMEDIATE_ALERT_1_CLEAR 0
1054 // </h>
1055 
1056 // <h> Action: Set LEDs
1057 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
1058 
1059 // <o.0> Set LED 1
1060 // <o.1> Set LED 2
1061 // <o.2> Set LED 3
1062 // <o.3> Set LED 4
1064 #define CONFIG_LED_IMMEDIATE_ALERT_1_SET 0
1065 // </h>
1066 
1067 // <h> Action: Blink LEDs
1068 // <i> The Blink action turns on blinking on the selected LEDs.
1069 
1070 // <o> Number of LED Blinks <0-127>
1071 // <i> Specify how many times the LED will blink.
1072 // <i> If set to 0, the LED will blink until cleared by another event.
1074 #define CONFIG_LED_IMMEDIATE_ALERT_1_FLASHES 1
1075 
1076 // <o.0> Use LED 1
1077 // <o.1> Use LED 2
1078 // <o.2> Use LED 3
1079 // <o.3> Use LED 4
1081 #define CONFIG_LED_IMMEDIATE_ALERT_1_FLASH 0
1082 // </h>
1083 // </h>
1084 
1085 // <h> Alert Level 2 (High) Actions
1086 // <i> This section configures LED signaling when the Immediate Alert Level is set to 2 (high).
1087 
1088 // <h> Action: Clear LEDs
1089 // <i> The Clear action clears the signaling that was configured by another event.
1090 
1091 // <o.0> Clear LED 1
1092 // <o.1> Clear LED 2
1093 // <o.2> Clear LED 3
1094 // <o.3> Clear LED 4
1096 #define CONFIG_LED_IMMEDIATE_ALERT_2_CLEAR 0
1097 // </h>
1098 
1099 // <h> Action: Set LEDs
1100 // <i> The Set action turns on the selected LEDs. Once set, the LED must be cleared by another event.
1101 
1102 // <o.0> Set LED 1
1103 // <o.1> Set LED 2
1104 // <o.2> Set LED 3
1105 // <o.3> Set LED 4
1107 #define CONFIG_LED_IMMEDIATE_ALERT_2_SET 0
1108 // </h>
1109 
1110 // <h> Action: Blink LEDs
1111 // <i> The Blink action turns on blinking on the selected LEDs.
1112 
1113 // <o> Number of LED Blinks <0-127>
1114 // <i> Specify how many times the LED will blink.
1115 // <i> If set to 0, the LED will blink until cleared by another event.
1117 #define CONFIG_LED_IMMEDIATE_ALERT_2_FLASHES 1
1118 
1119 // <o.0> Use LED 1
1120 // <o.1> Use LED 2
1121 // <o.2> Use LED 3
1122 // <o.3> Use LED 4
1124 #define CONFIG_LED_IMMEDIATE_ALERT_2_FLASH 0
1125 // </h>
1126 // </h>
1127 // </e>
1128 
1129 // <h> Logging Options
1130 // <i> This section configures module-specific logging options.
1131 
1132 // <o> Module logging level
1133 // <0=> None
1134 // <1=> Error
1135 // <2=> Warning
1136 // <3=> Info
1137 // <4=> Debug
1139 #define CONFIG_LED_MODULE_LOG_LEVEL 4
1140 
1141 // <o> Driver logging level
1142 // <0=> None
1143 // <1=> Error
1144 // <2=> Warning
1145 // <3=> Info
1146 // <4=> Debug
1148 #define CONFIG_LED_DRV_LOG_LEVEL 4
1149 // </h>
1150 // </e>
1151 
1152 // <e> Enable NFC Tag
1153 // <i> Enables NFC Tag subsystem.
1155 #define CONFIG_NFC_ENABLED 0
1156 
1157 // <e> Provide tap-to-pair tag
1158 // <i> If this option is enabled, the tag will present an NFC pairing message when the device is bondable.
1160 #define CONFIG_NFC_PAIRING_TAG 1
1161 
1162 // <q> Use full pairing message that supports both Bluetooth Classic and LE.
1164 #define CONFIG_NFC_USE_FULL_PAIRING_MSG 0
1165 // </e>
1166 
1167 // <q> Provide text tag
1168 // <i> If this option is enabled, the tag will present textual information about the firmware.
1170 #define CONFIG_NFC_TEXT_TAG 1
1171 
1172 // <q> Use NFC as a Wakeup Source
1173 // <i> Enables system wakeup on NFC tag read attempt.
1175 #define CONFIG_NFC_WAKEUP_SOURCE 1
1176 
1177 // <h> Logging Options
1178 // <i> This section configures module-specific logging options.
1179 
1180 // <o> Module logging level
1181 // <0=> None
1182 // <1=> Error
1183 // <2=> Warning
1184 // <3=> Info
1185 // <4=> Debug
1187 #define CONFIG_NFC_MODULE_LOG_LEVEL 4
1188 // </h>
1189 // </e>
1190 
1191 // <e> Enable Touchpad Support
1192 // <i> Enable the touchpad subsystem.
1194 #define CONFIG_TOUCHPAD_ENABLED 0
1195 
1196 // <o> TWI Bus
1197 // <i> Select the TWI Bus that is used to communicate with the touchpad.
1198 // <0=>Primary
1199 // <1=>Secondary
1201 #define CONFIG_TOUCHPAD_TWI_BUS 0
1202 
1203 // <o> Touchpad Polling Interval [ms] <1-100>
1204 // <i> Configure the touchpad polling interval.
1205 // <i> Note: Polling interval shorter than 5 ms might cause congestion on the I2C bus if other modules using the same bus are enabled.
1207 #define CONFIG_TOUCHPAD_POLL_INTERVAL 15
1208 
1209 // <h> Logging Options
1210 // <i> This section configures module-specific logging options.
1211 
1212 // <o> Module logging level
1213 // <0=> None
1214 // <1=> Error
1215 // <2=> Warning
1216 // <3=> Info
1217 // <4=> Debug
1219 #define CONFIG_TOUCHPAD_MODULE_LOG_LEVEL 4
1220 
1221 // <o> Driver logging level
1222 // <0=> None
1223 // <1=> Error
1224 // <2=> Warning
1225 // <3=> Info
1226 // <4=> Debug
1228 #define CONFIG_TOUCHPAD_DRV_LOG_LEVEL 4
1229 // </h>
1230 // </e>
1231 
1232 // <e> Enable Power Management
1233 // <i> Enable the power management subsystem.
1235 #define CONFIG_PWR_MGMT_ENABLED 1
1236 
1237 // <q> Enable CPU Usage Monitor
1238 // <i> Once per second, the CPU Usage Monitor logs the CPU usage for the last second.
1240 #define CONFIG_PWR_MGMT_CPU_USAGE_MONITOR_ENABLED 0
1241 
1242 // <o> Standby Time-out [s] <1-3600>
1243 // <i> Set the time after which the remote is automatically put into deep sleep mode if no user interaction is detected.
1245 #define CONFIG_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 60
1246 
1247 // <h> Logging Options
1248 // <i> This section configures module-specific logging options.
1249 
1250 // <o> Module logging level
1251 // <0=> None
1252 // <1=> Error
1253 // <2=> Warning
1254 // <3=> Info
1255 // <4=> Debug
1257 #define CONFIG_PWR_MGMT_MODULE_LOG_LEVEL 4
1258 // </h>
1259 // </e>
1260 
1261 // <e> Enable Watchdog
1262 // <i> This option enables the watchdog timer.
1264 #define CONFIG_WATCHDOG_ENABLED 1
1265 
1266 // <o> Watchdog Time-out [s] <1-300>
1267 // <i> Set the watchdog time-out.
1269 #define CONFIG_WATCHDOG_TIMEOUT 3
1270 // </e>
1271 
1272 // <h> Logging and CLI options
1273 // <i> Configure the Logger and the command line interface.
1274 
1275 // <e> Enable CLI/Logger on RTT
1276 // <i> This option enables the Logger and/or CLI on RTT.
1278 #define CONFIG_CL_RTT_ENABLED 0
1279 
1280 // <o> Interface
1281 // <1=> Logger
1282 // <2=> CLI
1284 #define CONFIG_CL_RTT_INTERFACE 1
1285 
1286 // <h> Logger options
1287 // <i> Configure the settings of the RTT Logger.
1288 
1289 // <o> RTT Console Log Queue Size <4-254>
1290 // <i> Determines the number of log messages queued into CLI log backend.
1292 #define CONFIG_LOG_RTT_QSIZE 8
1293 
1294 // <o> Default log level on RTT
1295 // <0=> None
1296 // <1=> Error
1297 // <2=> Warning
1298 // <3=> Info
1299 // <4=> Debug
1301 #define CONFIG_LOG_RTT_SEVERITY 3
1302 // </h>
1303 
1304 // <h> CLI options
1305 // <i> Configure the settings of the RTT CLI.
1306 
1307 // <q> Use CLI as logger backend
1308 // <i> Enables the Logger on RTT concurrently with CLI.
1310 #define CONFIG_CLI_RTT_LOG_BACKEND_ENABLED 1
1311 // </h>
1312 // </e>
1313 
1314 // <e> Enable CLI/Logger on UART
1315 // <i> This option enables the Logger and/or CLI on UART.
1317 #define CONFIG_CL_UART_ENABLED 0
1318 
1319 // <o> Interface
1320 // <1=> Logger
1321 // <2=> CLI
1323 #define CONFIG_CL_UART_INTERFACE 1
1324 
1325 // <h> UART options
1326 // <o> Hardware Flow Control
1327 // <0=> Disabled
1328 // <1=> Enabled
1330 #define CONFIG_CL_UART_HWFC 0
1331 
1332 // <o> Parity
1333 // <0=> Excluded
1334 // <14=> Included
1336 #define CONFIG_CL_UART_PARITY 0
1337 
1338 // <o> Baudrate
1339 // <323584=> 1200 baud
1340 // <643072=> 2400 baud
1341 // <1290240=> 4800 baud
1342 // <2576384=> 9600 baud
1343 // <3862528=> 14400 baud
1344 // <5152768=> 19200 baud
1345 // <7716864=> 28800 baud
1346 // <10289152=> 38400 baud
1347 // <15400960=> 57600 baud
1348 // <20615168=> 76800 baud
1349 // <30801920=> 115200 baud
1350 // <61865984=> 230400 baud
1351 // <67108864=> 250000 baud
1352 // <121634816=> 460800 baud
1353 // <251658240=> 921600 baud
1354 // <268435456=> 1000000 baud
1356 #define CONFIG_CL_UART_BAUDRATE 30801920
1357 
1358 // <o> TX buffer size for CLI
1359 // <4=>4 bytes
1360 // <8=>8 bytes
1361 // <16=>16 bytes
1362 // <32=>32 bytes
1363 // <64=>64 bytes
1364 // <128=>128 bytes
1365 // <256=>256 bytes
1367 #define CONFIG_CLI_UART_TX_BUFFER_SIZE 64
1368 
1369 // <o> RX buffer size for CLI
1370 // <4=>4 bytes
1371 // <8=>8 bytes
1372 // <16=>16 bytes
1373 // <32=>32 bytes
1374 // <64=>64 bytes
1375 // <128=>128 bytes
1376 // <256=>256 bytes
1378 #define CONFIG_CLI_UART_RX_BUFFER_SIZE 16
1379 // </h>
1380 
1381 // <h> Logger options
1382 // <i> Configure the settings of the UART Logger.
1383 
1384 // <o> UART Console Log Queue Size <4-254>
1385 // <i> Determines the number of log messages queued into CLI log backend.
1387 #define CONFIG_LOG_UART_QSIZE 8
1388 
1389 // <o> Default log level on UART
1390 // <0=> None
1391 // <1=> Error
1392 // <2=> Warning
1393 // <3=> Info
1394 // <4=> Debug
1396 #define CONFIG_LOG_UART_SEVERITY 3
1397 // </h>
1398 
1399 // <h> CLI options
1400 // <i> Configure the settings of the UART CLI.
1401 
1402 // <q> Use CLI as logger backend
1403 // <i> Enables the Logger on UART concurrently with CLI.
1405 #define CONFIG_CLI_UART_LOG_BACKEND_ENABLED 0
1406 // </h>
1407 // </e>
1408 
1409 // <e> Enable CLI over BLE
1410 // <i> This option enables CLI over BLE.
1412 #define CONFIG_CLI_BLE_ENABLED 0
1413 
1414 // <h> Logger options
1415 // <i> Configure the settings of the BLE Logger.
1416 
1417 // <o> BLE Console Log Queue Size <4-254>
1418 // <i> Determines the number of log messages queued into CLI log backend.
1420 #define CONFIG_LOG_BLE_QSIZE 8
1421 
1422 // <o> Default log level on BLE
1423 // <0=> None
1424 // <1=> Error
1425 // <2=> Warning
1426 // <3=> Info
1427 // <4=> Debug
1429 #define CONFIG_LOG_BLE_SEVERITY 0
1430 // </h>
1431 
1432 // <h> CLI options
1433 // <i> Configure the settings of the BLE CLI.
1434 
1435 // <o> BLE Console RX buffer size
1436 // <i> Determines the size of RX ring buffer for CLI over BLE transport.
1437 // <4=>4 bytes
1438 // <8=>8 bytes
1439 // <16=>16 bytes
1440 // <32=>32 bytes
1441 // <64=>64 bytes
1442 // <128=>128 bytes
1443 // <256=>256 bytes
1445 #define CONFIG_CLI_BLE_RX_BUFFER_SIZE 16
1446 
1447 // <o> BLE Console TX buffer size
1448 // <i> Determines the size of TX ring buffer for CLI over BLE transport.
1449 // <4=>4 bytes
1450 // <8=>8 bytes
1451 // <16=>16 bytes
1452 // <32=>32 bytes
1453 // <64=>64 bytes
1454 // <128=>128 bytes
1455 // <256=>256 bytes
1457 #define CONFIG_CLI_BLE_TX_BUFFER_SIZE 64
1458 
1459 // <q> Use CLI as logger backend
1460 // <i> Enables the Logger on BLE concurrently with CLI.
1462 #define CONFIG_CLI_BLE_LOG_BACKEND_ENABLED 1
1463 // </h>
1464 // </e>
1465 
1466 // <o> Global logging level cap
1467 // <i> This option defines the highest possible logging level. All other log level settings are capped at the level specified in this setting.
1468 // <0=> None
1469 // <1=> Error
1470 // <2=> Warning
1471 // <3=> Info
1472 // <4=> Debug
1474 #define CONFIG_LOG_LEVEL_CAP 2
1475 // </h>
1476 // </h>
1477 
1478 // <h> Bluetooth Options
1479 // <i> This section contains the configuration settings for Bluetooth services.
1480 
1481 // <h> Device Information
1482 // <i> Configure the settings of the Bluetooth Device Information service.
1483 
1484 // <s.20> Device Name
1485 // <i> UTF-8 string representing the name of the device.
1487 #define CONFIG_DEVICE_NAME "Smart Remote 3"
1488 
1489 // <s> Manufacturer Name
1490 // <i> UTF-8 string representing the name of the manufacturer of the device.
1492 #define CONFIG_MANUFACTURER_NAME "Nordic Semiconductor"
1493 
1494 // <s> Firmware Revision
1495 // <i> UTF-8 string representing the firmware revision for the firmware within the device.
1497 #define CONFIG_FIRMWARE_REVISION "%VERSION%"
1498 
1499 // <s> Hardware Revision
1500 // <i> UTF-8 string representing the hardware revision for the hardware within the device.
1502 #define CONFIG_HARDWARE_REVISION "PCA20023"
1503 
1504 // <s> Serial Number
1505 // <i> UTF-8 string representing the serial number of the particular instance of the device.
1507 #define CONFIG_SERIAL_NUMBER "0"
1508 
1509 // <o> PNP Product ID <0x0000-0xFFFF>
1510 // <i> Manufacturer-managed identifier of this product.
1512 #define CONFIG_PNP_PRODUCT_ID 0xEEEE
1513 
1514 // <o> PNP Product Version <0x0000-0xFFFF>
1515 // <i> Manufacturer-managed version of this product.
1517 #define CONFIG_PNP_PRODUCT_VERSION 0x0001
1518 
1519 // <o> PNP Vendor ID Source <0x00-0xFF>
1520 // <i> Identifies the source of the Vendor ID field.
1522 #define CONFIG_PNP_VENDOR_ID_SOURCE 0x02
1523 
1524 // <o> PNP Vendor ID <0x0000-0xFFFF>
1525 // <i> Identifies the product vendor from the namespace in the Vendor ID Source.
1527 #define CONFIG_PNP_VENDOR_ID 0x1915
1528 // </h>
1529 
1530 // <h> Advertising Parameters
1531 // <i> Configure the Bluetooth advertising parameters.
1532 
1533 // <q> Use Directed Advertising
1534 // <i> Enable Connectable Directed Advertising.
1536 #define CONFIG_ADV_DIRECTED 0
1537 
1538 // <q> Use Whitelist
1539 // <i> Enable whitelisting of bonded peers.
1540 // <i> Note: Bonds will automatically be deleted when Maximum Bonds has been reached and non-whitelisted advertisement is used.
1542 #define CONFIG_ADV_WHITELIST 1
1543 
1544 // <o> Advertising Time-out [s] <1-255>
1545 // <i> Set the time after which the remote is automatically put into deep sleep mode if it cannot connect to the host.
1547 #define CONFIG_ADV_TIMEOUT 5
1548 
1549 // <o> Advertising Interval [ms] <20-10240>
1550 // <i> Configure the interval between advertising packets in the Advertising mode.
1552 #define CONFIG_ADV_INTERVAL_MS 20
1553 #define CONFIG_ADV_INTERVAL ROUNDED_DIV(1000u * CONFIG_ADV_INTERVAL_MS, 625)
1554 
1555 // <e> Manufacturer data payload
1556 // <i> This option adds manufacturer-specific data to the advertisement payload.
1558 #define CONFIG_ADV_MANUF_ENABLED 0
1559 
1560 // <o> Manufacturer ID <0x0000-0xFFFF>
1561 // <i> Specify the manufacturer ID (as per Bluetooth Assigned numbers).
1563 #define CONFIG_ADV_MANUF_ID 0x0B0D
1564 
1565 // <s> Manufacturer data
1566 // <i> Specify manufacturer data contents. Use %02x printf-style formatting.
1568 #define CONFIG_ADV_MANUF_DATA "0A0B"
1569 // </e>
1570 // </h>
1571 
1572 // <h> Connection Parameters
1573 // <i> Configure the Bluetooth connection parameters.
1574 
1575 // <o> Minimum Connection Interval [ms] <7-4000>
1576 // <i> Set the Minimum Connection Interval that is sent in the Connection Parameter Update request.
1578 #define CONFIG_MIN_CONN_INTERVAL_MS 7
1579 #define CONFIG_MIN_CONN_INTERVAL ROUNDED_DIV(100u * CONFIG_MIN_CONN_INTERVAL_MS, 125)
1580 
1581 // <o> Maximum Connection Interval [ms] <7-4000>
1582 // <i> Set the Maximum Connection Interval that is sent in the Connection Parameter Update request.
1584 #define CONFIG_MAX_CONN_INTERVAL_MS 7
1585 #define CONFIG_MAX_CONN_INTERVAL ROUNDED_DIV(100u * CONFIG_MAX_CONN_INTERVAL_MS, 125)
1586 
1587 // <o> Slave Latency [number of connection events] <0-1000>
1588 // <i> Set the Slave Latency that is sent in the Connection Parameter Update request.
1590 #define CONFIG_SLAVE_LATENCY 99
1591 
1592 // <o> Connection Supervisory Time-out [ms] <100-32000>
1593 // <i> Set the Connection Supervisory Time-out that is sent in the Connection Parameter Update request.
1595 #define CONFIG_CONN_SUP_TIMEOUT_MS 3000
1596 #define CONFIG_CONN_SUP_TIMEOUT ROUNDED_DIV(CONFIG_CONN_SUP_TIMEOUT_MS, 10)
1597 
1598 // <o> First Connection Parameter Update Delay [ms] <10-30000>
1599 // <i> Set the time between establishing the connection and the first Connection Parameter Update request.
1601 #define CONFIG_FIRST_CONN_PARAMS_UPDATE_DELAY 10
1602 
1603 // <o> Next Connection Parameter Update Delay [s] <1-300>
1604 // <i> Set the time between subsequent Connection Parameter Update requests.
1606 #define CONFIG_NEXT_CONN_PARAMS_UPDATE_DELAY 10
1607 
1608 // <o> Maximum Attempts of Connection Parameter Negotiation <1-16>.
1609 // <i> Set the number of attempts before giving up the Connection Parameter negotiation.
1611 #define CONFIG_MAX_CONN_PARAMS_UPDATE_COUNT 3
1612 // </h>
1613 
1614 // <h> GATT Options
1615 // <i> Configure the Bluetooth HID service.
1616 
1617 // <o> Maximum MTU size <23-247>
1618 // <i> Set the size of maximum transmission unit (MTU).
1620 #define CONFIG_BLE_GATT_MAX_MTU_SIZE 23
1621 
1622 // <o> GATT table size <:4>
1623 // <i> SoftDevice Attribute Table size in bytes. The size must be a multiple of 4.
1625 #define CONFIG_BLE_GATTS_ATTR_TAB_SIZE 1740
1626 // </h>
1627 
1628 // <h> Bonding Options
1629 // <i> Configure the Bluetooth bonding settings.
1630 
1631 // <o> Maximum Bonds <1-254>
1632 // <i> Set the maximum number of bonds stored in flash memory.
1634 #define CONFIG_MAX_BONDS 1
1635 
1636 // <q> Change the device address for each new bond.
1637 // <i> When enabled, the Bluetooth address is changed for each new bond.
1638 // <i> This prevents the previously connected masters from attempting to reconnect.
1640 #define CONFIG_CHANGE_ADDRESS 0
1641 
1642 // <q> Attempt to reconnect to all bonded masters instead of only to the last one.
1644 #define CONFIG_RECONNECT_ALL 0
1645 
1646 // <q> When pairing is requested, attempt to reconnect to other bonded masters before advertising as bondable.
1648 #define CONFIG_BOND_RECONNECT_ALL 0
1649 
1650 // <e> Use public address
1651 // <i> This option will use a public 48-bit Bluetooth address programmed into UICR.CUSTOMER address instead of the default static random address.
1652 // <i> Note: The address must be programmed separately during production into the appropriate UICR.CUSTOMER registers.
1654 #define CONFIG_BOND_PUBLIC_ADDR_ENABLED 0
1655 
1656 // <o> Public Bluetooth address location
1657 // <i> This is a 48-bit address, so 2 x 32-bit registers in UICR must be used.
1658 // <i> If UICR.CUSTOMER[0] is selected, the last 16 bits of the address will be located in UICR.CUSTOMER[1]
1659 // <i> Example of programming address AA:BB:CC:DD:EE:FF using nrfjprog to UICR.CUSTOMER[0] and UICR.CUSTOMER[1]:
1660 // <i> nrfjprog --family NRF52 --memwr 0x10001080 --val 0xccddeeff
1661 // <i> nrfjprog --family NRF52 --memwr 0x10001084 --val 0x0000aabb
1662 // <0x10001080=>0x10001080 (UICR.CUSTOMER[0]) <0x10001084=>0x10001084 (UICR.CUSTOMER[1]) <0x10001088=>0x10001088 (UICR.CUSTOMER[2]) <0x1000108c=>0x1000108c (UICR.CUSTOMER[3])
1663 // <0x10001090=>0x10001090 (UICR.CUSTOMER[4]) <0x10001094=>0x10001094 (UICR.CUSTOMER[5]) <0x10001098=>0x10001098 (UICR.CUSTOMER[6]) <0x1000109c=>0x1000109c (UICR.CUSTOMER[7])
1664 // <0x100010a0=>0x100010a0 (UICR.CUSTOMER[8]) <0x100010a4=>0x100010a4 (UICR.CUSTOMER[9]) <0x100010a8=>0x100010a8 (UICR.CUSTOMER[10]) <0x100010ac=>0x100010ac (UICR.CUSTOMER[11])
1665 // <0x100010b0=>0x100010b0 (UICR.CUSTOMER[12]) <0x100010b4=>0x100010b4 (UICR.CUSTOMER[13]) <0x100010b8=>0x100010b8 (UICR.CUSTOMER[14]) <0x100010bc=>0x100010bc (UICR.CUSTOMER[15])
1666 // <0x100010c0=>0x100010c0 (UICR.CUSTOMER[16]) <0x100010c4=>0x100010c4 (UICR.CUSTOMER[17]) <0x100010c8=>0x100010c8 (UICR.CUSTOMER[18]) <0x100010cc=>0x100010cc (UICR.CUSTOMER[19])
1667 // <0x100010d0=>0x100010d0 (UICR.CUSTOMER[20]) <0x100010d4=>0x100010d4 (UICR.CUSTOMER[21]) <0x100010d8=>0x100010d8 (UICR.CUSTOMER[22]) <0x100010dc=>0x100010dc (UICR.CUSTOMER[23])
1668 // <0x100010e0=>0x100010e0 (UICR.CUSTOMER[24]) <0x100010e4=>0x100010e4 (UICR.CUSTOMER[25]) <0x100010e8=>0x100010e8 (UICR.CUSTOMER[26]) <0x100010ec=>0x100010ec (UICR.CUSTOMER[27])
1669 // <0x100010f0=>0x100010f0 (UICR.CUSTOMER[28]) <0x100010f4=>0x100010f4 (UICR.CUSTOMER[29]) <0x100010f8=>0x100010f8 (UICR.CUSTOMER[30])
1671 #define CONFIG_BOND_PUBLIC_ADDR_LOC 268439680
1672 // </e>
1673 // </h>
1674 
1675 // <h> Security Options
1676 // <i> Configure the Bluetooth link security settings.
1677 
1678 // <q> Allow Legacy Pairing
1679 // <i> Allow for Legacy pairing. Refer to Bluetooth specification document for details.
1681 #define CONFIG_SEC_LEGACY_PAIRING 1
1682 
1683 // <q> Allow LESC Pairing
1684 // <i> Allow for Low Energy Secure Connections pairing. Refer to Bluetooth specification document for details.
1686 #define CONFIG_SEC_LESC_PAIRING 0
1687 
1688 // <q> Allow Repairing
1689 // <i> Choose whether to allow a peer to pair if it wants to, when it is already bonded. In a production environment, this option should be disabled for increased security.
1691 #define CONFIG_SEC_ALLOW_REPAIRING 1
1692 
1693 // <q> Enable Bonding
1694 // <i> Choose whether to allow the device to bond.
1696 #define CONFIG_SEC_BOND 1
1697 
1698 // <o> Minimum Encryption Key Size [octets] <7-16>
1700 #define CONFIG_SEC_MIN_KEY_SIZE 7
1701 
1702 // <o> Maximum Encryption Key Size [octets] <7-16>
1704 #define CONFIG_SEC_MAX_KEY_SIZE 16
1705 
1706 // <o> Encryption Request Delay [ms] <100-3000>
1707 // <i> Set the time for which the remote will wait for connection encryption before sending Bluetooth authentication request.
1709 #define CONFIG_ENC_REQ_DELAY 500
1710 // </h>
1711 
1712 // <h> PHY Configuration
1713 // <i> Configure PHY Parameters.
1714 
1715 // <q> Send PHY Update Request
1716 // <i> If this option is enabled, the remote will send PHY Update Request to each connected host.
1718 #define CONFIG_PHY_SEND_UPDATE_REQUEST 0
1719 
1720 // <h> TX PHY Selection
1721 // <q> Signal support for 1 Mbit/s PHY
1723 #define CONFIG_PHY_TX_1MBPS 1
1724 
1725 // <q> Signal support for 2 Mbit/s PHY
1727 #define CONFIG_PHY_TX_2MBPS 1
1728 // </h>
1729 
1730 // <h> RX PHY Selection
1731 // <q> Signal support for 1 Mbit/s PHY
1733 #define CONFIG_PHY_RX_1MBPS 1
1734 
1735 // <q> Signal support for 2 Mbit/s PHY
1737 #define CONFIG_PHY_RX_2MBPS 1
1738 // </h>
1739 // </h>
1740 
1741 // <h> HID Options
1742 // <i> Configure the Bluetooth HID service.
1743 
1744 // <o> HID Version <0x0000-0xFFFF>
1745 // <i> Specify the HID Version number.
1747 #define CONFIG_HID_VERSION 0x0101
1748 
1749 // <o> HID Country Code <0x00-0xFF>
1750 // <i> Numeric expression identifying the country code of the localized hardware.
1752 #define CONFIG_HID_COUNTRY_CODE 0
1753 // </h>
1754 
1755 // <h> Logging Options
1756 // <i> This section configures module-specific logging options.
1757 
1758 // <o> Module logging level
1759 // <0=> None
1760 // <1=> Error
1761 // <2=> Warning
1762 // <3=> Info
1763 // <4=> Debug
1765 #define CONFIG_BLE_MODULE_LOG_LEVEL 4
1766 
1767 // <o> Advertising submodule logging level
1768 // <0=> None
1769 // <1=> Error
1770 // <2=> Warning
1771 // <3=> Info
1772 // <4=> Debug
1774 #define CONFIG_BLE_ADV_LOG_LEVEL 4
1775 
1776 // <o> Address management submodule logging level
1777 // <0=> None
1778 // <1=> Error
1779 // <2=> Warning
1780 // <3=> Info
1781 // <4=> Debug
1783 #define CONFIG_BLE_ADDR_LOG_LEVEL 4
1784 
1785 // <o> HID submodule logging level
1786 // <0=> None
1787 // <1=> Error
1788 // <2=> Warning
1789 // <3=> Info
1790 // <4=> Debug
1792 #define CONFIG_BLE_HID_LOG_LEVEL 4
1793 
1794 // <o> ATVV submodule logging level
1795 // <0=> None
1796 // <1=> Error
1797 // <2=> Warning
1798 // <3=> Info
1799 // <4=> Debug
1801 #define CONFIG_BLE_ATVV_LOG_LEVEL 4
1802 
1803 // <o> DFU submodule logging level
1804 // <0=> None
1805 // <1=> Error
1806 // <2=> Warning
1807 // <3=> Info
1808 // <4=> Debug
1810 #define CONFIG_BLE_DFU_LOG_LEVEL 4
1811 
1812 // <o> LESC submodule logging level
1813 // <0=> None
1814 // <1=> Error
1815 // <2=> Warning
1816 // <3=> Info
1817 // <4=> Debug
1819 #define CONFIG_BLE_LESC_LOG_LEVEL 4
1820 // </h>
1821 
1822 // <o> Radio TX Power
1823 // <0xD8=>-40 dBm <0xE2=>-30 dBm <0xEC=>-20 dBm <0xF0=>-16 dBm
1824 // <0xF4=>-12 dBm <0xF8=>-8 dBm <0xFC=>-4 dBm <0x00=>0 dBm
1825 // <0x04=>4 dBm
1826 // <i> Set the power of the radio transmitter.
1828 #define CONFIG_RADIO_TX_POWER 0
1829 
1830 // <q> Enable PA/LNA Interface
1831 // <i> This option enables the Power Amplifier (output) and/or Low Noise Amplifier (input) signaling pins.
1833 #define CONFIG_PA_LNA_ENABLED 0
1834 
1835 // <o> Transmission Queue Size <1-16>
1836 // <i> For audio, it is recommended to use value 6. For buttons or other non-data intensive uses, 1 or 2.
1838 #define CONFIG_GATTS_CONN_HVN_TX_QUEUE_SIZE 6
1839 // </h>
1840 
1841 // <h> I/O Configuration
1842 // <i> This section contains configuration for the I/O pin assignment.
1843 
1844 // <h> Board Power Control
1845 // <i> Configure the Board Power Control settings.
1846 // <o> Board Power Control Switch Pin
1847 // <i> The Board Power Control Switch cuts off power to peripherals during sleep.
1848 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1849 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1850 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1851 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1852 // <0xFFFFFFFF=>Disable
1854 #define CONFIG_IO_BOARD_PWR_CTRL 0x07
1855 
1856 // <q> Board Power Control Switch Active Low
1857 // <i> Select this option if the Board Power Control Switch is active-low.
1859 #define CONFIG_BOARD_PWR_CTRL_ACT_LOW 1
1860 // </h>
1861 
1862 // <h> IR Receiver
1863 // <i> Configure the IR Receiver pin assignment.
1864 // <i> Note that the IR Receiver is not implemented in the firmware and this section is only meant to help you correctly configure the pins.
1865 // <o> IR Receiver Output Pin
1866 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1867 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1868 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1869 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1870 // <0xFFFFFFFF=>Disable
1872 #define CONFIG_IO_IR_RX_OUT 0xFFFFFFFF
1873 
1874 // <o> IR Receiver Enable Pin
1875 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1876 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1877 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1878 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1879 // <0xFFFFFFFF=>Disable
1881 #define CONFIG_IO_IR_RX_ENABLE 0xFFFFFFFF
1882 
1883 // <q> IR Receiver Enable Active-Low
1884 // <i> Select this option if the IR Receiver Enable signal is active-low.
1886 #define CONFIG_IR_RX_ENABLE_ACT_LOW 0
1887 // </h>
1888 
1889 // <h> IR Transmitter
1890 // <i> Configure the IR Transmitter pin assignment.
1891 // <o> IR Transmitter LED Pin
1892 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1893 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1894 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1895 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1896 // <0xFFFFFFFF=>Disable
1898 #define CONFIG_IO_IR_TX_LED 0x18
1899 // </h>
1900 
1901 // <h> GPIO-Based Matrix Keyboard
1902 // <i> Configure the GPIO-Based Matrix Keyboard pin assignment.
1903 // <o> Column 0 Pin
1904 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1905 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1906 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1907 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1908 // <0xFFFFFFFF=>Disable
1910 #define CONFIG_IO_KEY_COL_0 0x0C
1911 
1912 // <o> Column 1 Pin
1913 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1914 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1915 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1916 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1917 // <0xFFFFFFFF=>Disable
1919 #define CONFIG_IO_KEY_COL_1 0x1C
1920 
1921 // <o> Column 2 Pin
1922 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1923 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1924 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1925 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1926 // <0xFFFFFFFF=>Disable
1928 #define CONFIG_IO_KEY_COL_2 0x08
1929 
1930 // <o> Column 3 Pin
1931 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1932 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1933 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1934 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1935 // <0xFFFFFFFF=>Disable
1937 #define CONFIG_IO_KEY_COL_3 0x0B
1938 
1939 // <o> Column 4 Pin
1940 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1941 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1942 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1943 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1944 // <0xFFFFFFFF=>Disable
1946 #define CONFIG_IO_KEY_COL_4 0x03
1947 
1948 // <o> Column 5 Pin
1949 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1950 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1951 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1952 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1953 // <0xFFFFFFFF=>Disable
1955 #define CONFIG_IO_KEY_COL_5 0x1B
1956 
1957 // <o> Column 6 Pin
1958 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1959 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1960 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1961 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1962 // <0xFFFFFFFF=>Disable
1964 #define CONFIG_IO_KEY_COL_6 0x14
1965 
1966 // <o> Column 7 Pin
1967 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1968 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1969 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1970 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1971 // <0xFFFFFFFF=>Disable
1973 #define CONFIG_IO_KEY_COL_7 0x19
1974 
1975 // <o> Row 0 Pin
1976 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1977 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1978 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1979 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1980 // <0xFFFFFFFF=>Disable
1982 #define CONFIG_IO_KEY_ROW_0 0x10
1983 
1984 // <o> Row 1 Pin
1985 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1986 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1987 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1988 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1989 // <0xFFFFFFFF=>Disable
1991 #define CONFIG_IO_KEY_ROW_1 0x11
1992 
1993 // <o> Row 2 Pin
1994 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
1995 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
1996 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
1997 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
1998 // <0xFFFFFFFF=>Disable
2000 #define CONFIG_IO_KEY_ROW_2 0x12
2001 
2002 // <o> Row 3 Pin
2003 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2004 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2005 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2006 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2007 // <0xFFFFFFFF=>Disable
2009 #define CONFIG_IO_KEY_ROW_3 0x1D
2010 
2011 // <o> Row 4 Pin
2012 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2013 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2014 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2015 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2016 // <0xFFFFFFFF=>Disable
2018 #define CONFIG_IO_KEY_ROW_4 0x13
2019 
2020 // <o> Row 5 Pin
2021 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2022 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2023 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2024 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2025 // <0xFFFFFFFF=>Disable
2027 #define CONFIG_IO_KEY_ROW_5 0xFFFFFFFF
2028 
2029 // <o> Row 6 Pin
2030 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2031 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2032 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2033 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2034 // <0xFFFFFFFF=>Disable
2036 #define CONFIG_IO_KEY_ROW_6 0xFFFFFFFF
2037 
2038 // <o> Row 7 Pin
2039 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2040 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2041 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2042 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2043 // <0xFFFFFFFF=>Disable
2045 #define CONFIG_IO_KEY_ROW_7 0xFFFFFFFF
2046 // </h>
2047 
2048 // <h> LEDs
2049 // <i> Configure the LED output.
2050 
2051 // <o> LED 1 Pin
2052 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2053 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2054 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2055 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2056 // <0xFFFFFFFF=>Disable
2058 #define CONFIG_IO_LED_1 0x00000002
2059 
2060 // <o> LED 2 Pin
2061 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2062 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2063 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2064 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2065 // <0xFFFFFFFF=>Disable
2067 #define CONFIG_IO_LED_2 0xFFFFFFFF
2068 
2069 // <o> LED 3 Pin
2070 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2071 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2072 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2073 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2074 // <0xFFFFFFFF=>Disable
2076 #define CONFIG_IO_LED_3 0xFFFFFFFF
2077 
2078 // <o> LED 4 Pin
2079 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2080 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2081 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2082 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2083 // <0xFFFFFFFF=>Disable
2085 #define CONFIG_IO_LED_4 0xFFFFFFFF
2086 
2087 // <o.0> LED 1 Active Low
2088 // <i> Select this option if LED 1 output is active-low.
2089 // <o.1> LED 2 Active Low
2090 // <i> Select this option if LED 2 output is active-low.
2091 // <o.2> LED 3 Active Low
2092 // <i> Select this option if LED 3 output is active-low.
2093 // <o.3> LED 4 Active Low
2094 // <i> Select this option if LED 4 output is active-low.
2096 #define CONFIG_LED_ACT_LOW_MASK 1
2097 // </h>
2098 
2099 // <h> PDM Interface
2100 // <i> Configure the PDM interface.
2101 
2102 // <o> PDM CLK Pin
2103 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2104 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2105 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2106 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2107 // <0xFFFFFFFF=>Disable
2109 #define CONFIG_IO_PDM_CLK 0x06
2110 
2111 // <o> PDM DATA Pin
2112 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2113 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2114 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2115 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2116 // <0xFFFFFFFF=>Disable
2118 #define CONFIG_IO_PDM_DATA 0x05
2119 
2120 // <o> PDM Microphone Power Control Pin
2121 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2122 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2123 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2124 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2125 // <0xFFFFFFFF=>Disable
2127 #define CONFIG_IO_PDM_MIC_PWR_CTRL 0x1A
2128 
2129 // <q> PDM Microphone Power Control Pin Active Low
2130 // <i> Select this option if PDM Microphone Power Control signal is active-low.
2132 #define CONFIG_PDM_MIC_PWR_CTRL_ACT_LOW 1
2133 // </h>
2134 
2135 // <h> UART Interface
2136 // <i> Configure the UART interface.
2137 
2138 // <o> TX Pin
2139 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2140 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2141 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2142 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2143 // <0xFFFFFFFF=>Disable
2145 #define CONFIG_UART_TX_PIN 0x06
2146 
2147 // <o> RX Pin
2148 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2149 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2150 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2151 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2152 // <0xFFFFFFFF=>Disable
2154 #define CONFIG_UART_RX_PIN 0x08
2155 // </h>
2156 
2157 // <h> TWI Interface
2158 // <i> Configure the primary and secondary TWI interfaces.
2159 
2160 // <h> Primary TWI Interface
2161 // <i> Configure the primary TWI interface.
2162 
2163 // <o> SCL Pin
2164 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2165 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2166 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2167 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2168 // <0xFFFFFFFF=>Disable
2170 #define CONFIG_IO_TWI0_SCL 0x0F
2171 
2172 // <o> SDA Pin
2173 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2174 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2175 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2176 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2177 // <0xFFFFFFFF=>Disable
2179 #define CONFIG_IO_TWI0_SDA 0x1F
2180 
2181 // <q> Keep the interface powered up during System Off state.
2183 #define CONFIG_TWI0_UP_IN_SYSOFF_STATE 0
2184 // </h>
2185 
2186 // <h> Secondary TWI Interface
2187 // <i> Configure the secondary TWI interface.
2188 
2189 // <o> SCL Pin
2190 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2191 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2192 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2193 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2194 // <0xFFFFFFFF=>Disable
2196 #define CONFIG_IO_TWI1_SCL 0x0E
2197 
2198 // <o> SDA Pin
2199 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2200 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2201 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2202 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2203 // <0xFFFFFFFF=>Disable
2205 #define CONFIG_IO_TWI1_SDA 0x0D
2206 
2207 // <q> Keep the interface powered up during System Off state.
2209 #define CONFIG_TWI1_UP_IN_SYSOFF_STATE 1
2210 // </h>
2211 // </h>
2212 
2213 // <h> Touchpad DC/DC Converter Control
2214 // <o> Discharge Pin
2215 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2216 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2217 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2218 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2219 // <0xFFFFFFFF=>Disable
2221 #define CONFIG_IO_TP_DCDC_DISCHARGE 0xFFFFFFFF
2222 
2223 // <q> Discharge Signal Active-Low
2225 #define CONFIG_TP_DCDC_DISCHARGE_ACT_LOW 0
2226 
2227 // <o> Shutdown Pin
2228 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2229 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2230 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2231 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2232 // <0xFFFFFFFF=>Disable
2234 #define CONFIG_IO_TP_DCDC_SHUTDOWN 0xFFFFFFFF
2235 
2236 // <q> Shutdown Signal Active-Low
2238 #define CONFIG_TP_DCDC_SHUTDOWN_ACT_LOW 0
2239 // </h>
2240 
2241 // <h> PA/LNA Interface
2242 // <i> Configure the PA/LNA interface.
2243 
2244 // <o> PA pin
2245 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2246 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2247 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2248 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2249 // <0xFFFFFFFF=>Disable
2251 #define CONFIG_IO_PA 0xFFFFFFFF
2252 
2253 // <o> LNA pin
2254 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2255 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2256 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2257 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2258 // <0xFFFFFFFF=>Disable
2260 #define CONFIG_IO_LNA 0xFFFFFFFF
2261 
2262 // <q> PA pin active low
2264 #define CONFIG_PA_ACTIVE_LOW 0
2265 
2266 // <q> LNA pin active low
2268 #define CONFIG_LNA_ACTIVE_LOW 0
2269 // </h>
2270 
2271 // <o> Accelerometer Interrupt Pin
2272 // <i> Accelerometer Interrupt is used as a wakeup source during sleep.
2273 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2274 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2275 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2276 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2277 // <0xFFFFFFFF=>Disable
2279 #define CONFIG_IO_ACC_IRQ 0x1E
2280 
2281 // <o> Buzzer Control Pin
2282 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2283 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2284 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2285 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2286 // <0xFFFFFFFF=>Disable
2288 #define CONFIG_IO_BUZZER 0xFFFFFFFF
2289 // </h>
2290 
2291 // <h> Advanced Options
2292 // <i> This section contains advanced configuration settings of the Smart Remote 3 nRF52 firmware.
2293 
2294 // <h> Audio Buffering Configuration
2295 // <i> This section configures the size of memory preallocated for audio processing.
2296 
2297 // <o> Audio Buffer Pool Size <3-16>
2298 // <i> More audio buffers provide better robustness of audio processing but require more memory resources.
2300 #define CONFIG_AUDIO_BUFFER_POOL_SIZE 3
2301 
2302 // <o> Audio Frame Pool Size <3-16>
2303 // <i> More audio frames provide better robustness of audio transmission but require more memory resources.
2305 #define CONFIG_AUDIO_FRAME_POOL_SIZE 6
2306 // </h>
2307 
2308 // <h> Event Bus Configuration
2309 // <i> Configure the Event Bus.
2310 
2311 // <o> Event Pool size <4-254>
2312 // <i> Specify how many events can be simultaneously queued in the Event Bus.
2314 #define CONFIG_EVENT_POOL_SIZE 8
2315 
2316 // <q> Force Event Bus Error Checking
2317 // <i> By default, errors that appear during non-essential event handling are ignored.
2318 // <i> When this option is enabled, all errors are fatal.
2320 #define CONFIG_EVENT_FORCE_ERROR_CHECKING 1
2321 
2322 // <h> Logging Options
2323 // <i> This section configures module-specific logging options.
2324 
2325 // <o> Module logging level
2326 // <0=> None
2327 // <1=> Error
2328 // <2=> Warning
2329 // <3=> Info
2330 // <4=> Debug
2332 #define CONFIG_EVENT_BUS_LOG_LEVEL 4
2333 // </h>
2334 // </h>
2335 
2336 // <h> HID Configuration
2337 // <o> HID Report Pool Size <2-16>
2338 // <i> More HID report buffers provide better robustness of keyboard operation but consume more memory resources.
2340 #define CONFIG_HID_REPORT_POOL_SIZE 8
2341 
2342 // <o> HID Report Expiration [ms] <100-10000>
2343 // <i> Define the time after which a HID report expires and is not sent again.
2345 #define CONFIG_HID_REPORT_EXPIRATION 500
2346 
2347 // <o> Default protocol HID event queue size <2-255>
2348 // <i> Specify protocol HID event queue size.
2350 #define CONFIG_PROTOCOL_HID_EVENT_QUEUE_SIZE 8
2351 
2352 // <o> Default protocol HID state item count <1-255>
2353 // <i> Specify protocol HID state item count.
2355 #define CONFIG_PROTOCOL_HID_STATE_ITEM_COUNT 16
2356 
2357 // <h> Logging Options
2358 // <i> This section configures module-specific logging options.
2359 
2360 // <o> Module logging level
2361 // <0=> None
2362 // <1=> Error
2363 // <2=> Warning
2364 // <3=> Info
2365 // <4=> Debug
2367 #define CONFIG_PROTOCOL_HID_MODULE_LOG_LEVEL 4
2368 // </h>
2369 // </h>
2370 
2371 // <h> ATVV Configuration
2372 
2373 // <o> Control message queue size <1-100>
2374 // <i> Determines how many control messages can be pending at a time.
2376 #define CONFIG_AUDIO_ATVV_CTL_MSG_QUEUE_LEN 2
2377 
2378 // <o> Max number of ATVV peers <1-8>
2379 // <i> Determines how many peers can interact with the ATVV Service.
2380 // <i> Note that only one of these can stream audio at a time.
2382 #define CONFIG_AUDIO_ATVV_PEER_NUM 1
2383 
2384 // <o> Frame fragment size [bytes] <20-244>
2385 // <i> Maximum size for an audio frame fragment. Needs to be within MTU size, and follow the ATVV spec.
2387 #define CONFIG_AUDIO_ATVV_FRAME_FRAG_LEN 20
2388 
2389 // <o> Key chord duration [ms] <0-1073741823>
2390 // <i> Duration key chord must be held to generate ATVV key chord action.
2392 #define CONFIG_AUDIO_ATVV_KEY_CHORD_DURATION 3000
2393 // </h>
2394 
2395 // <h> TWI Transaction Scheduling Configuration
2396 // <i> Configure the advanced TWI settings.
2397 // <o> TWI Transaction Queue Size <1-16>
2399 #define CONFIG_TWI_QSIZE 4
2400 
2401 // <o> TWI Initialization Delay [ms] <0-1000>
2402 // <i> Define the time to wait after TWI interface initialization to ensure all TWI devices are ready to respond.
2404 #define CONFIG_TWI_INIT_DELAY 4
2405 // </h>
2406 
2407 // <h> RNG Monitor Configuration
2408 // <i> Configure Random Number Generator Monitor.
2409 // <o> Request Queue Size <2-8>
2410 // <i> Maximum number of requests enqueued to RNG Monitor.
2412 #define CONFIG_RNG_MONITOR_MAX_REQUESTS 3
2413 
2414 // <o> RNG Polling Interval [ms] <10-100>
2415 // <i> If there is not enough entropy available, the RNG is polled at regular intervals to check if there is enough random data to generate keys.
2417 #define CONFIG_RNG_MONITOR_POLL_INTERVAL 20
2418 
2419 // <h> Logging Options
2420 // <i> This section configures module-specific logging options.
2421 
2422 // <o> Module logging level
2423 // <0=> None
2424 // <1=> Error
2425 // <2=> Warning
2426 // <3=> Info
2427 // <4=> Debug
2429 #define CONFIG_RNG_MONITOR_LOG_LEVEL 4
2430 // </h>
2431 // </h>
2432 
2433 // <h> Stack Configuration
2434 // <i> Configure the stack settings.
2435 
2436 // <o> Base Stack Size [bytes] <2048-65536:8>
2437 // <i> Stack space reserved for the core of the Smart Remote 3 nRF52 firmware.
2439 #define CONFIG_STACK_SIZE_BASE 2048
2440 
2441 // <o> BV32FP Codec Stack Size [bytes] <0-65536:8>
2442 // <i> Additional stack space reserved if the BV32 codec is used.
2444 #define CONFIG_STACK_SIZE_AUDIO_BV32FP 6144
2445 
2446 // <o> OPUS/CELT Codec Stack Size [bytes] <0-65536:8>
2447 // <i> Additional stack space reserved if the OPUC/CELT codec is used.
2449 #define CONFIG_STACK_SIZE_AUDIO_OPUS_CELT 19456
2450 
2451 // <o> OPUS/SILK Codec Stack Size [bytes] <0-65536:8>
2452 // <i> Additional stack space reserved if the OPUC/SILK codec is used.
2454 #define CONFIG_STACK_SIZE_AUDIO_OPUS_SILK 25344
2455 
2456 // <o> Task Manager Stack Size for each task [bytes] <0-65536:8>
2457 // <i> Stack space reserved by the task manager for each task.
2459 #define CONFIG_TASK_MANAGER_CONFIG_STACK_SIZE 640
2460 
2461 // <e> Enable stack guard
2462 // <i> Enable the module used for protecting the stack.
2464 #define CONFIG_STACK_GUARD_ENABLED 1
2465 
2466 // <o> Size of the stack guard
2467 // <5=> 32 bytes
2468 // <6=> 64 bytes
2469 // <7=> 128 bytes
2470 // <8=> 256 bytes
2471 // <9=> 512 bytes
2472 // <10=> 1024 bytes
2473 // <11=> 2048 bytes
2474 // <12=> 4096 bytes
2476 #define CONFIG_STACK_GUARD_CONFIG_SIZE 8
2477 
2478 // <o> Task manager stack guard size.
2479 // <0=> Disabled
2480 // <4=> 32 bytes
2481 // <5=> 64 bytes
2482 // <6=> 128 bytes
2483 // <7=> 256 bytes
2484 // <8=> 512 bytes
2486 #define CONFIG_TASK_MANAGER_CONFIG_STACK_GUARD 4
2487 // </e>
2488 // </h>
2489 
2490 // <q> Enable nRF52 DC/DC Converter
2491 // <i> Use the nRF52 DC/DC converter. For details on the DC/DC converter, see the nRF52 Product Specification document.
2493 #define CONFIG_DCDC_ENABLED 1
2494 // </h>
2495 
2496 // <e> Debug Build
2497 // <i> This option enables the debugging infrastructure of the Smart Remote 3 nRF52 firmware.
2499 #define CONFIG_DEBUG_ENABLED 0
2500 
2501 // <e> Enable Debug Pins
2502 // <i> Enable the pins that are used for debugging.
2504 #define CONFIG_DEBUG_PIN_ENABLED (0 && CONFIG_DEBUG_ENABLED)
2505 
2506 // <o> CONFIG_IO_DBG_MARK Pin
2507 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2508 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2509 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2510 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2511 // <0xFFFFFFFF=>Disable
2513 #define CONFIG_IO_DBG_MARK 0xFFFFFFFF
2514 
2515 // <o> CONFIG_IO_DBG_CLOCK Pin
2516 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2517 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2518 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2519 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2520 // <0xFFFFFFFF=>Disable
2522 #define CONFIG_IO_DBG_CLOCK 0xFFFFFFFF
2523 
2524 // <o> CONFIG_IO_DBG_DATA Pin
2525 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2526 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2527 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2528 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2529 // <0xFFFFFFFF=>Disable
2531 #define CONFIG_IO_DBG_DATA 0xFFFFFFFF
2532 
2533 // <o> CONFIG_IO_DBG_AUDIO_CAPTURE Pin
2534 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2535 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2536 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2537 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2538 // <0xFFFFFFFF=>Disable
2540 #define CONFIG_IO_DBG_AUDIO_CAPTURE 0xFFFFFFFF
2541 
2542 // <o> CONFIG_IO_DBG_AUDIO_PROCESS Pin
2543 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2544 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2545 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2546 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2547 // <0xFFFFFFFF=>Disable
2549 #define CONFIG_IO_DBG_AUDIO_PROCESS 0xFFFFFFFF
2550 
2551 // <o> CONFIG_IO_DBG_SLEEP Pin
2552 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2553 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2554 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2555 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2556 // <0xFFFFFFFF=>Disable
2558 #define CONFIG_IO_DBG_SLEEP 0xFFFFFFFF
2559 
2560 // <o> CONFIG_IO_DBG_IR_TX_PWM_INT Pin
2561 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2562 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2563 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2564 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2565 // <0xFFFFFFFF=>Disable
2567 #define CONFIG_IO_DBG_IR_TX_PWM_INT 0xFFFFFFFF
2568 
2569 // <o> CONFIG_IO_DBG_IR_TX_SACK Pin
2570 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2571 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2572 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2573 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2574 // <0xFFFFFFFF=>Disable
2576 #define CONFIG_IO_DBG_IR_TX_SACK 0xFFFFFFFF
2577 
2578 // <o> CONFIG_IO_DBG_IR_TX_EACK Pin
2579 // <0=>P0.0 <1=>P0.1 <2=>P0.2 <3=>P0.3 <4=>P0.4 <5=>P0.5 <6=>P0.6 <7=>P0.7
2580 // <8=>P0.8 <9=>P0.9 <10=>P0.10 <11=>P0.11 <12=>P0.12 <13=>P0.13 <14=>P0.14 <15=>P0.15
2581 // <16=>P0.16 <17=>P0.17 <18=>P0.18 <19=>P0.19 <20=>P0.20 <21=>P0.21 <22=>P0.22 <23=>P0.23
2582 // <24=>P0.24 <25=>P0.25 <26=>P0.26 <27=>P0.27 <28=>P0.28 <29=>P0.29 <30=>P0.30 <31=>P0.31
2583 // <0xFFFFFFFF=>Disable
2585 #define CONFIG_IO_DBG_IR_TX_EACK 0xFFFFFFFF
2586 // </e>
2587 
2588 // <e> Enable Event Bus Monitor
2589 // <i> Enable monitoring of the Event Bus activity on the RTT console.
2591 #define CONFIG_EVENT_MONITOR_ENABLED (0 && CONFIG_DEBUG_ENABLED && NRF_LOG_ENABLED)
2592 
2593 // <o.0> Monitor System Events
2594 // <i> Monitor system events in the Event Bus monitor.
2595 // <o.1> Monitor Keyboard Events
2596 // <i> Monitor keyboard events in the Event Bus monitor.
2597 // <o.2> Monitor Motion Events
2598 // <i> Monitor motion events in the Event Bus monitor.
2599 // <o.3> Monitor HID Events
2600 // <i> Monitor HID events in the Event Bus monitor.
2601 // <o.4> Monitor IR Events
2602 // <i> Monitor IR events in the Event Bus monitor.
2603 // <o.5> Monitor Bluetooth Events
2604 // <i> Monitor Bluetooth events in the Event Bus monitor.
2606 #define CONFIG_EVENT_MONITOR_TYPES 0x21
2607 // </e>
2608 
2609 // <e> Enable Audio Probe
2610 // <i> This option enables receiving and sending audio through RTT pipes.
2612 #define CONFIG_AUDIO_PROBE_ENABLED (0 && CONFIG_DEBUG_ENABLED && CONFIG_AUDIO_ENABLED)
2613 
2614 // <o> Down Audio RTT Channels <0-64>
2615 // <i> Set how many RTT channels are allocated from host to target for audio.
2617 #define CONFIG_AUDIO_PROBE_RTT_CHANNELS_DOWN 0
2618 
2619 // <o> Up Audio RTT Channels <0-64>
2620 // <i> Set how many RTT channels are allocated from target to host for audio.
2622 #define CONFIG_AUDIO_PROBE_RTT_CHANNELS_UP 1
2623 
2624 // <o> Size of RTT buffer for audio injection
2625 // <i> Number of audio buffers which fit into the RTT down buffer. With ANR enabled, the buffer takes twice the space.
2627 #define CONFIG_AUDIO_PROBE_RTT_INJECT_BUFFERS 20
2628 
2629 // <o> Size of RTT buffer for audio tapping
2630 // <i> Number of audio buffers which fit into the RTT up buffer. With ANR enabled, the buffer takes twice the space.
2632 #define CONFIG_AUDIO_PROBE_RTT_TAP_BUFFERS 8
2633 
2634 // <o> First audio channel index <2-63>
2635 // <i> Index of the first RTT channel occupied by audio.
2637 #define CONFIG_AUDIO_PROBE_RTT_CHANNEL_FIRST 2
2638 // </e>
2639 
2640 // <q> Enable Stack Usage Profiler
2641 // <i> When the system switches to sleep mode, Stack Usage Profiler displays the stack usage report in the given run.
2643 #define CONFIG_STACK_PROFILER_ENABLED (0 && CONFIG_DEBUG_ENABLED && NRF_LOG_ENABLED)
2644 
2645 // <q> Enable J-Link Monitor
2646 // <i> When monitor mode debugging is enabled, the CPU can service time-critical tasks when the application is halted.
2647 // <i> As a result, the wireless link can be maintained during a debugging session.
2649 #define CONFIG_JLINK_MONITOR_ENABLED (0 && CONFIG_DEBUG_ENABLED)
2650 // </e>
2651 // <<< end of configuration section >>>
2652 
2653 #endif /* _SR3_CONFIG_BOARD_H */
2654 

Documentation feedback | Developer Zone | Subscribe | Updated