feat(led): 使用CAF LEDs模块替代自定义LED驱动

- 移除src/modules/led_module.c中的自定义GPIO LED实现
- 在CMakeLists.txt中移除对led_module.c的引用
- 更新prj.conf配置,启用CAF LEDs相关功能
- 添加CONFIG_CAF_POWER_MANAGER配置项以支持电源管理
- 在main.c中集成LED事件,在系统就绪时触发启动LED效果
- 实现白色常亮LED效果作为系统启动指示
This commit is contained in:
2026-03-10 15:00:37 +08:00
parent c5778e6c7a
commit cd3400a9ba
4 changed files with 31 additions and 46 deletions

View File

@@ -3,5 +3,4 @@ find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(new_kbd)
target_sources(app PRIVATE src/main.c
src/modules/led_module.c)
target_sources(app PRIVATE src/main.c)