Edit online

CIR 配置

驱动配置

进入 lite 的 menuconfig 配置界面,选择使用 cir 模块

Board options --->
    [*] Using cir

选择使用的红外协议

CIR protocol select --->
    [*] NEC protocol
    [ ] RC5 protocol

默认使用的是 NEC 红外协议。

可同时使能 NEC 和 RC5 协议,系统在启动时会同时注册 NEC 和 RC5 协议,应用端根据实际情况选择相应协议即可。