2020-10-23 16:36:11 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig DRIVERS_RC
|
|
|
|
bool "Remote Control Device Support"
|
2020-11-12 18:40:37 +08:00
|
|
|
select MM_CIRCBUF
|
2020-10-23 16:36:11 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Drivers for various remote control
|
2020-10-29 21:05:33 +08:00
|
|
|
|
|
|
|
if DRIVERS_RC
|
|
|
|
|
|
|
|
config RC_DUMMY
|
|
|
|
bool "Dummy RC Device Support"
|
|
|
|
select SCHED_LPWORK
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
We test RC driver architecture by dummy rc device.
|
|
|
|
Test Item: 1. Test all the IOCTL commands; 2. Test all API interface,
|
|
|
|
ex: tx_ir, tx_scancode; 3. We use the way of workqueue to periodically
|
|
|
|
feed data to the downstream buffer(userspace->kernelspace) to simulate
|
|
|
|
reading data from IR device; 4. Write IR data to device by tx_ir/tx_scancode
|
|
|
|
to simulate as remote control.
|
|
|
|
|
|
|
|
endif # DRIVERS_RC
|