@@ -2,7 +2,8 @@
|
||||
|
||||
本仓库按 **「厂商-型号」** 组织分支,每个分支是一套完整的 MCU 工程模板(默认含 OTA + Bootloader)。
|
||||
|
||||
远程仓库:[mcu-codegen-template](https://git.jianbao-tech.com/pets-device/mcu-codegen-template)
|
||||
- 主仓库:[见宝 Git](https://git.jianbao-tech.com/pets-device/mcu-codegen-template)
|
||||
- 码云镜像(推荐下载):[gitee.com/wu-chuyuan/mcu-codegen-template](https://gitee.com/wu-chuyuan/mcu-codegen-template)
|
||||
|
||||
---
|
||||
|
||||
@@ -10,7 +11,7 @@
|
||||
|
||||
| 分支 | 厂商 | 型号 | Flash | 默认能力 | 状态 |
|
||||
|------|------|------|-------|----------|------|
|
||||
| [`Puya-PY32F040`](https://git.jianbao-tech.com/pets-device/mcu-codegen-template/src/branch/Puya-PY32F040) | 普冉 Puya | PY32F040 | 128KB | OTA 三模式 + Bootloader + jb_protocol | ✅ 可用 |
|
||||
| [`Puya-PY32F040`](https://gitee.com/wu-chuyuan/mcu-codegen-template/tree/Puya-PY32F040) | 普冉 Puya | PY32F040 | 128KB | OTA 三模式 + Bootloader + jb_protocol | ✅ 可用 |
|
||||
|
||||
> 新模板上线后在此表追加一行即可。
|
||||
|
||||
@@ -21,7 +22,7 @@
|
||||
### 见宝工具箱 / 自动化脚本
|
||||
|
||||
```bash
|
||||
git clone https://git.jianbao-tech.com/pets-device/mcu-codegen-template.git
|
||||
git clone https://gitee.com/wu-chuyuan/mcu-codegen-template.git
|
||||
cd mcu-codegen-template
|
||||
git checkout Puya-PY32F040
|
||||
```
|
||||
@@ -30,7 +31,7 @@ git checkout Puya-PY32F040
|
||||
|
||||
```bash
|
||||
git clone --branch Puya-PY32F040 --single-branch \
|
||||
https://git.jianbao-tech.com/pets-device/mcu-codegen-template.git py32f040-template
|
||||
https://gitee.com/wu-chuyuan/mcu-codegen-template.git py32f040-template
|
||||
```
|
||||
|
||||
---
|
||||
@@ -53,7 +54,7 @@ git clone --branch Puya-PY32F040 --single-branch \
|
||||
1. 从 `main` 拉新分支:`git checkout -b <厂商>-<型号> main`
|
||||
2. 合入该 MCU 完整工程(App + Bootloader + Shared + Drivers + tools)
|
||||
3. 更新本文件分支表 + `main/README.md` 快速索引
|
||||
4. 推送分支并在 Gitea 设为受保护分支(可选)
|
||||
4. `git push origin` 会同时推到见宝 Git 与码云镜像
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user