docs: 克隆地址改为码云镜像

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 17:58:14 +08:00
co-authored by Cursor
parent 9deadf2d77
commit aec98b984f
2 changed files with 15 additions and 10 deletions
+9 -5
View File
@@ -2,7 +2,8 @@
见宝科技 **MCU 代码生成模板仓库**。见宝工具箱生成/分发 MCU 工程时,从此仓库按分支拉取对应芯片模板。 见宝科技 **MCU 代码生成模板仓库**。见宝工具箱生成/分发 MCU 工程时,从此仓库按分支拉取对应芯片模板。
**远程地址** https://git.jianbao-tech.com/pets-device/mcu-codegen-template.git **主仓库(见宝 Git** <https://git.jianbao-tech.com/pets-device/mcu-codegen-template.git>
**码云镜像(推荐下载):** <https://gitee.com/wu-chuyuan/mcu-codegen-template.git>
--- ---
@@ -24,8 +25,8 @@
## 快速使用 ## 快速使用
```bash ```bash
# 克隆并切换到 PY32F040 模板 # 推荐:从码云镜像克隆并切换到 PY32F040 模板
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 cd mcu-codegen-template
git checkout Puya-PY32F040 git checkout Puya-PY32F040
``` ```
@@ -36,7 +37,7 @@ git checkout Puya-PY32F040
## 仓库结构(MCU 分支通用) ## 仓库结构(MCU 分支通用)
``` ```text
<MCU分支>/ <MCU分支>/
├── App/ APP Keil 工程 ├── App/ APP Keil 工程
├── Bootloader/ Bootloader Keil 工程 ├── Bootloader/ Bootloader Keil 工程
@@ -52,10 +53,13 @@ git checkout Puya-PY32F040
- 新增 MCU:新建 `厂商-型号` 分支,更新 `docs/branch-index.md` 与本 README 表格 - 新增 MCU:新建 `厂商-型号` 分支,更新 `docs/branch-index.md` 与本 README 表格
- 模板发版:在对应 MCU 分支打 tag,如 `Puya-PY32F040/v1.0.0` - 模板发版:在对应 MCU 分支打 tag,如 `Puya-PY32F040/v1.0.0`
- 推送:本地 `origin` 已配置双写,`git push origin` 会同时推到见宝 Git 与码云镜像
--- ---
## 相关链接 ## 相关链接
- [分支索引详情](docs/branch-index.md) - [分支索引详情](docs/branch-index.md)
- [Gitea 仓库](https://git.jianbao-tech.com/pets-device/mcu-codegen-template) - [码云镜像(推荐下载)](https://gitee.com/wu-chuyuan/mcu-codegen-template)
- [见宝 Git 主仓库](https://git.jianbao-tech.com/pets-device/mcu-codegen-template)
- [SOC 模板仓库](https://git.jianbao-tech.com/pets-device/soc-codegen-template)
+6 -5
View File
@@ -2,7 +2,8 @@
本仓库按 **「厂商-型号」** 组织分支,每个分支是一套完整的 MCU 工程模板(默认含 OTA + Bootloader)。 本仓库按 **「厂商-型号」** 组织分支,每个分支是一套完整的 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 | 默认能力 | 状态 | | 分支 | 厂商 | 型号 | 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 ```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 cd mcu-codegen-template
git checkout Puya-PY32F040 git checkout Puya-PY32F040
``` ```
@@ -30,7 +31,7 @@ git checkout Puya-PY32F040
```bash ```bash
git clone --branch Puya-PY32F040 --single-branch \ 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` 1.`main` 拉新分支:`git checkout -b <厂商>-<型号> main`
2. 合入该 MCU 完整工程(App + Bootloader + Shared + Drivers + tools 2. 合入该 MCU 完整工程(App + Bootloader + Shared + Drivers + tools
3. 更新本文件分支表 + `main/README.md` 快速索引 3. 更新本文件分支表 + `main/README.md` 快速索引
4. 推送分支并在 Gitea 设为受保护分支(可选) 4. `git push origin` 会同时推到见宝 Git 与码云镜像
--- ---