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"
|
|
|
|
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,
|
2023-08-02 20:31:49 +08:00
|
|
|
ex: tx_ir, tx_scancode; 3. We use the way of workqueue to periodically
|
2020-10-29 21:05:33 +08:00
|
|
|
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
|