Commit Graph

7 Commits

Author SHA1 Message Date
edisondeng
56b92a8ede refactor(app): App-per-screen navigation, remove menu_level entirely
Splits the ad-hoc menu_level state machine into standalone Apps with a
uniform parent/child exit convention (long-press CONFIRM -> parent):
clock_app renamed to home_app (boot-default), new set_clock_app
extracted from home_app's time-edit mode, new ipc_bind_app extracted
from menu_app's old level-2 screen, and the sensor-type selection step
merged into pair_app as its new initial state. menu_app now only holds
the 4-item top-level list (language toggle inline). Also makes both
menu_app and pair_app's up/down navigation cyclic (wraps at both ends).
2026-07-31 18:05:23 +08:00
edisondeng
3c896ec972 fix(rf): register isr_jump.asm and redirect Port3 vector 40
App/isr_jump.asm was never added to wristband.uvproj, so the Port0/Port2/Port3
hardware vector redirects it defines were never assembled. Port3_Isr (declared
as interrupt 16) never actually ran on real P3 port events, causing the
edge-interrupt-driven RF decode to silently never fire. Adds the missing
CSEG/LJMP redirect for vector 40 and registers the file as FileType=2.
2026-07-31 15:52:43 +08:00
edisondeng
a7a2cc9465 暂存 2026-07-31 13:57:06 +08:00
d01121e3ae feat: 校准电池电压与ADC2充电检测,重构RGB为Bitbang翻转驱动,并修复RTC晶振起振问题 2026-07-28 18:08:40 +08:00
Antigravity IDE
7cbd83c40b 修复 App 语法报错与命名冲突,彻底在后台命令行成功编译生成 wristband.hex 固件 2026-07-17 09:41:29 +08:00
Antigravity IDE
7ebe802410 Modularize main.c into rgb, event, database, ui, system, and app_manager modules 2026-07-15 16:14:30 +08:00
Antigravity IDE
30a2e1680b Initialize repository and implement low-power sleep wakeup 2026-07-15 15:57:37 +08:00