初始版本

This commit is contained in:
xushaoxiang
2026-06-04 14:04:07 +08:00
parent 982da04a92
commit f31b8b7952
4 changed files with 197 additions and 0 deletions
@@ -0,0 +1,33 @@
#*.uvoptx
#OutputFiledir & Files
Listings/
Objects/
*.crf
*.d
*.o
*.build_log.htm
*.axf
*.htm
*.lnp
*.dep
*.map
*.bin
*.hex
#Keil Layout File
*.uvguix.*
#DebugConfig
DebugConfig/
#Keil Project screen layout file
*.uvguix.*
*.uvgui.*
#JLINK file
*JLinkLog.txt
*JLinkSettings.ini
#temp files
~$*
*.TMP
+164
View File
@@ -0,0 +1,164 @@
# hpw422 项目说明
## 项目基本信息
| 项目名称 | hpw422 |
| ---------- | ------------------------------ |
| 产品类型 | 220V两通道智能通断器 |
| 项目负责人 | 徐少祥 |
| 硬件版本 | V1.1 |
| 固件版本 | V1.0 |
| 创建日期 | 2026-06-04 |
---
## 主控芯片
* 433WS480L
* BLEXC6517 SOP16
* Flash:内置 Flash
---
## 开发环境
* Keil MDK V5
### 编译器
* ARMCC V5
---
## 工程路径
project\example\ble\ble_peripheral\mdk
打开方式:
双击 MDK/ble_peripheral.uvprojx
---
## 烧录说明
### 烧录器
*USB TO TTL串口
### 烧录软件
* ComV14.4.4
### 烧录接口
| 引脚 | 说明 |
| ----- | ---- |
| VCC | 电源 |
| GND | 地 |
| R | 串口接收 |
| T | 串口发送 |
| BT | 电源 |
---
## 编译方法
Rebuild
输出文件:
project\example\ble\ble_peripheral\mdk\output_bin目录下ble_peripheral.bin文件
---
## 仓库目录结构
```text
hpw422
├── component
│ ├── ble
│ ├── rf24
│ ├── SBC
│ └── xc6xx_drivers
├── doc
│ ├── hpw422蓝牙协议
│ └── BOM
├── project
│ ├── delete.bat
│ └── example
├── 2.4g
├── ble
├── driver
├── tools
│ └── ComV14.4.4
└── README.md
```
---
## 蓝牙协议
协议文档位置:
hpw422\doc\hpw422蓝牙协议.xls
---
## Git提交规范
提交前:
```shell
git pull
```
提交:
```shell
git add .
git commit -m "修复BLE连接异常"
git push
```
禁止:
```text
修改
更新
测试
123
abc
```
推荐:
```text
修复BLE连接异常
增加RF433学习码功能
优化PWM调光曲线
修复定时器逻辑
增加OTA升级功能
```
---
## 注意事项
1. 修改协议必须同步更新协议文档。
2. 修改硬件必须同步更新BOM。
3. 发布版本必须同步更新ReleaseNote。
4. 禁止将源码仅保存在个人电脑。
5. 所有发布版本必须上传至Gitea仓库。
6. 离职前必须完成代码交接与文档更新。
---
## 修改记录
| 日期 | 作者 | 内容 |
| ---------- | ---- | -------- |
| 2026-06-04 | 徐少祥 | 创建项目 |
Binary file not shown.
Binary file not shown.