fix 3.5 backlight and GT911 for cyd_35r.

TFT_BL was wrongly GPIO21 (GT911 INT); use GPIO27, DRAW_BUF_DIV=20, and export firmware/cyd_35r.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-25 19:40:29 +08:00
commit ba09f4f48e
33 changed files with 3223 additions and 0 deletions

17
include/wifi_ui.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
/**
* LVGL 屏上配网 UI(依赖 wifi_prov)
* 复用:拷贝 wifi_ui.* + 在业务里 wifi_ui_create() / wifi_ui_tick()
*/
void wifi_ui_create();
void wifi_ui_tick();
/** 强制进入配网页(改密 / 首次) */
void wifi_ui_show_setup();
/** 显示已连接状态页 */
void wifi_ui_show_status();
bool wifi_ui_is_setup();