mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
|
#
|
||
|
# For a description of the syntax of this configuration file,
|
||
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||
|
#
|
||
|
|
||
|
menuconfig RMT
|
||
|
bool "RMT (Remote Control) Driver Support"
|
||
|
default n
|
||
|
---help---
|
||
|
This option selects common RMT (Remote Control) options and should be
|
||
|
enabled by the platforms that implement a Remote Control Peripheral.
|
||
|
|
||
|
if RMT
|
||
|
|
||
|
config RMTCHAR
|
||
|
bool "RMT character driver (for testing only)"
|
||
|
default n
|
||
|
---help---
|
||
|
The RMT character driver is a simple character driver that supports
|
||
|
RMT transfers via read() and write(). This driver is primarily
|
||
|
intended to support RMT testing. It is not suitable for use in any
|
||
|
real driver application in its current form because its buffer
|
||
|
management heuristics are dependent on the lower half driver
|
||
|
(device-specific). Applications that use the RMT peripheral to
|
||
|
implement protocols such as NEC (for Remote Control), or use this
|
||
|
driver to implement other 1-wire protocols such as WS2812 LED must
|
||
|
provide their specific driver implementation.
|
||
|
|
||
|
config RMT_DEFAULT_RX_BUFFER_SIZE
|
||
|
int "Default RX buffer size"
|
||
|
default 100
|
||
|
---help---
|
||
|
The RMT RX default buffer size. This is the expected buffer size
|
||
|
that should be returned on a `read()` operation.
|
||
|
|
||
|
endif # RMT
|