edisondeng
767aa14086
fix(timer): compensate Timer0_GetTimestamp for pending TF0 overflow
...
TH0/TL0 torn-read protection didn't cover the case where the hardware
counter already wrapped but Timer0_Isr hasn't run yet to bump
timer0_ovf_count, making the timestamp appear to jump backward by one
overflow period (~32.768ms). Read TF0 under a brief EA guard and treat
a pending-but-unserviced overflow as ovf+1 without clearing it.
2026-07-31 15:52:50 +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
edisondeng
d8df5d49d3
fix: 修复 main.c/event.c/lcd.c 的中文注释乱码,统一为 UTF-8 编码
...
lcd.c 原本整体是 GBK 编码,直接转码即可。main.c 与 event.c 曾被
Keil 环境以错误编码保存导致部分注释损坏,本次以历史提交中未损坏的
版本为基底恢复正确注释文本,并将其后新增的真实代码改动(RGB 三色
诊断指令、SOS 按键状态机解锁)对应的注释一并还原,不涉及任何代码逻辑变更。
2026-07-31 09:54:59 +08:00
41bb78aa59
feat: 增加调试串口指令 'q'/'Q',支持自动轮流点亮红、绿、蓝三色以校准物理灯珠通道顺序
2026-07-30 13:46:44 +08:00
be397fba76
feat: 按照要求调整 SOS 期间 RGB 闪烁顺序,并延长闪烁间隔为 300ms 方便人眼分辨
2026-07-30 13:44:09 +08:00
58dfe5bb9c
debug: 增加 Loopback_Test 硬件电气回环自检及对应的调试串口指令 'l'
2026-07-29 10:16:05 +08:00
a766ada53d
fix: 彻底解开 SOS 求救按键状态机被注释的屏蔽,使按键正常产生求救事件并分发
2026-07-29 10:09:19 +08:00
48db6523fb
debug: 增加 KEY_SOS 物理按键开机自检与运行期电平跳变串口调试打印
2026-07-29 10:04:00 +08:00
2f4dd2660d
fix: 解锁恢复 SOS 物理按键电平读取逻辑,并添加 GPIO_Init 中对应 P2.6 的上拉配置
2026-07-29 09:57:36 +08:00
0a79e7a3b9
fix: 重构 EV1527 发射时序,使用硬件 Timer0 保证 100% 精准码宽延迟以成功触发接收机
2026-07-29 09:40:54 +08:00
d7cb2ae37f
fix: 开机默认挂载后台射频监控应用,修复唤醒/复位后无法识别传感器的问题
2026-07-28 18:34:28 +08:00
8367524eec
fix: 完美复原低功耗停机休眠与外部唤醒控制寄存器,修复唤醒死机
2026-07-28 18:22:04 +08:00
d01121e3ae
feat: 校准电池电压与ADC2充电检测,重构RGB为Bitbang翻转驱动,并修复RTC晶振起振问题
2026-07-28 18:08:40 +08:00
Antigravity IDE
47bcd252b2
修正1.14寸屏幕垂直偏置并添加自动清屏以清除开机噪声;修正新硬件射频收发引脚对调,低功耗唤醒中断重定向至P3.6中断16;添加一键串口收发诊断测试指令,并临时屏蔽SOS物理按键
2026-07-17 19:43:02 +08:00
Antigravity IDE
7cbd83c40b
修复 App 语法报错与命名冲突,彻底在后台命令行成功编译生成 wristband.hex 固件
2026-07-17 09:41:29 +08:00
Antigravity IDE
32e48f0576
修复 menu_items 未定义错误,并清除旧 uvopt 强制 Keil 重新生成配置
2026-07-17 09:32:44 +08:00
Antigravity IDE
9b6b61739c
同步 wristband.uvopt 配置以确保所有新源文件参与编译
2026-07-17 09:28:57 +08:00
Antigravity IDE
790583781f
修复编译报错:清理 config.h 中的 WristbandApp 重复定义并同步参数声明类型
2026-07-17 09:25:04 +08:00
Antigravity IDE
c0d1fe74f5
重构手环软件架构:实现动态挂载前后台 App 框架,解耦拆分源文件,并引入统一日志宏 xtell.h
2026-07-17 09:08:53 +08:00
Antigravity IDE
8fdbb32f42
fix(rf): 补齐 rf.c 里的 Uart_SendHex32 外部变量声明,修复编译错误
2026-07-16 18:28:53 +08:00
Antigravity IDE
31f5066052
fix(rf): 升级 EV1527 为完整 24 位统一寻址,彻底分清不同按键/型号配对报警的 Bug
2026-07-16 18:25:16 +08:00
Antigravity IDE
731115e09a
docs: 为所有代码源文件添加详细中文注释,并在设计文档中纠正GPIO物理引脚映射表
2026-07-16 17:53:44 +08:00
Antigravity IDE
afd59d28ee
Configure low-power sleep and wakeup sequences for RF alarm trigger without noise interruption
2026-07-15 17:26:50 +08:00
Antigravity IDE
7292fd0fcb
Fix RF noise wake-up bug by sleeping with EA=0 and checking flags directly
2026-07-15 17:16:56 +08:00
Antigravity IDE
601e01e954
Implement low power RF wake-up and filter mechanism
2026-07-15 17:05:22 +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