- 在CMakeLists.txt中添加display_test_module.c源文件 - 在设备树配置中添加SPI3和PWM0引脚控制定义 - 配置MIPI DBI显示屏驱动,支持ST7789V控制器 - 添加PWM LED背光控制功能 - 启用GPIO复位功能并添加点击检测器配置 - 实现显示测试模块,支持彩色测试图案渲染
16 lines
364 B
C
16 lines
364 B
C
/*
|
|
* This configuration file is included only once from the CAF click detector
|
|
* module and defines the keys that should produce click events.
|
|
*/
|
|
|
|
#include <caf/click_detector.h>
|
|
|
|
const struct {} click_detector_def_include_once;
|
|
|
|
static const struct click_detector_config click_detector_config[] = {
|
|
{
|
|
.key_id = 0x180,
|
|
.consume_button_event = true,
|
|
},
|
|
};
|