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