feat(board): 添加显示屏和PWM背光支持

- 在CMakeLists.txt中添加display_test_module.c源文件
- 在设备树配置中添加SPI3和PWM0引脚控制定义
- 配置MIPI DBI显示屏驱动,支持ST7789V控制器
- 添加PWM LED背光控制功能
- 启用GPIO复位功能并添加点击检测器配置
- 实现显示测试模块,支持彩色测试图案渲染
This commit is contained in:
2026-04-11 13:41:35 +08:00
parent 39d2962258
commit 76adb3584c
6 changed files with 357 additions and 6 deletions

15
inc/click_detector_def.h Normal file
View File

@@ -0,0 +1,15 @@
/*
* 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,
},
};