feat: 添加 BLE 管理功能与配置

- 新增 ble_manager.c 和 ble_manager.h 文件,提供 BLE 初始化和管理功能
- 更新 CMakeLists.txt,包含 ble_manager.c 以支持 BLE 功能
- 在 sdkconfig.defaults 中启用 BLE 和相关配置
- 更新 app_main.c,初始化 BLE 管理器
- 在 Kconfig.projbuild 中添加 BLE 设备名称配置选项
- 更新 board_config.h,定义 BLE 启用标志
This commit is contained in:
2026-07-01 22:35:09 +08:00
parent ebe62c5284
commit 6c348c600c
8 changed files with 305 additions and 0 deletions
+3
View File
@@ -45,6 +45,9 @@
#define BOARD_PIN_KEY 4
#define BOARD_PIN_LED 16
/* BLE (ESP32-S3 built-in radio) */
#define BOARD_BLE_ENABLED 1
/* LVGL port */
#define BOARD_LVGL_DRAW_BUF_LINES 20
#define BOARD_LVGL_TICK_PERIOD_MS 2