fcff5d43b7
The RMT (Remote Control) character driver allows to use the RMT peripheral (usually, a one-wire peripheral dedicated to driving IR remote control) as a character driver. Please note that this perpiheral depends on the lower-half specific driver implementation.
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
#
|
|
# 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
|