From 0784248e08023c591e4576caec0a2ae8ba8ba235 Mon Sep 17 00:00:00 2001 From: Wuchuyuan <1917507415@qq.com> Date: Wed, 19 Aug 2026 17:55:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=85=8B=E9=9A=86=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=A0=81=E4=BA=91=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- README.md | 11 +++++++---- docs/branch-index.md | 11 ++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5bfda93..4626196 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ 见宝科技 **SOC 代码生成模板仓库**。见宝工具箱生成/分发 SOC 工程时,从此仓库按分支拉取对应芯片模板。 -**远程地址:** https://git.jianbao-tech.com/pets-device/soc-codegen-template.git +**主仓库(见宝 Git):** https://git.jianbao-tech.com/pets-device/soc-codegen-template.git +**码云镜像(推荐下载):** https://gitee.com/wu-chuyuan/soc-codegen-template.git --- @@ -24,8 +25,8 @@ ## 快速使用 ```bash -# 克隆并切换到 JL7016 模板 -git clone https://git.jianbao-tech.com/pets-device/soc-codegen-template.git +# 推荐:从码云镜像克隆并切换到 JL7016 模板 +git clone https://gitee.com/wu-chuyuan/soc-codegen-template.git cd soc-codegen-template git checkout JieLi-JL7016 ``` @@ -54,11 +55,13 @@ git checkout JieLi-JL7016 - 新增 SOC:新建 `厂商-型号` 分支,更新 `docs/branch-index.md` 与本 README 表格 - 模板发版:在对应 SOC 分支打 tag,如 `JieLi-JL7016/v1.0.0` +- 推送:本地 `origin` 已配置双写,`git push origin` 会同时推到见宝 Git 与码云镜像 --- ## 相关链接 - [分支索引详情](docs/branch-index.md) -- [Gitea 仓库](https://git.jianbao-tech.com/pets-device/soc-codegen-template) +- [码云镜像(推荐下载)](https://gitee.com/wu-chuyuan/soc-codegen-template) +- [见宝 Git 主仓库](https://git.jianbao-tech.com/pets-device/soc-codegen-template) - [MCU 模板仓库](https://git.jianbao-tech.com/pets-device/mcu-codegen-template) diff --git a/docs/branch-index.md b/docs/branch-index.md index d735488..925c2c9 100644 --- a/docs/branch-index.md +++ b/docs/branch-index.md @@ -2,7 +2,8 @@ 本仓库按 **「厂商-型号」** 组织分支,每个分支是一套完整的 SOC 工程模板。 -远程仓库:[soc-codegen-template](https://git.jianbao-tech.com/pets-device/soc-codegen-template) +- 主仓库:[见宝 Git](https://git.jianbao-tech.com/pets-device/soc-codegen-template) +- 码云镜像(推荐下载):[gitee.com/wu-chuyuan/soc-codegen-template](https://gitee.com/wu-chuyuan/soc-codegen-template) --- @@ -10,7 +11,7 @@ | 分支 | 厂商 | 型号 | 平台 | 默认能力 | 状态 | |------|------|------|------|----------|------| -| [`JieLi-JL7016`](https://git.jianbao-tech.com/pets-device/soc-codegen-template/src/branch/JieLi-JL7016) | 杰理 JieLi | JL7016 / AC7016C | BR28 | 耳机 SDK + BLE + jb_protocol + OTA | ✅ 可用 | +| [`JieLi-JL7016`](https://gitee.com/wu-chuyuan/soc-codegen-template/tree/JieLi-JL7016) | 杰理 JieLi | JL7016 / AC7016C | BR28 | 耳机 SDK + BLE + jb_protocol + OTA | ✅ 可用 | > 新模板上线后在此表追加一行即可。 @@ -21,7 +22,7 @@ ### 见宝工具箱 / 自动化脚本 ```bash -git clone https://git.jianbao-tech.com/pets-device/soc-codegen-template.git +git clone https://gitee.com/wu-chuyuan/soc-codegen-template.git cd soc-codegen-template git checkout JieLi-JL7016 ``` @@ -30,7 +31,7 @@ git checkout JieLi-JL7016 ```bash git clone --branch JieLi-JL7016 --single-branch \ - https://git.jianbao-tech.com/pets-device/soc-codegen-template.git jl7016-template + https://gitee.com/wu-chuyuan/soc-codegen-template.git jl7016-template ``` --- @@ -53,7 +54,7 @@ git clone --branch JieLi-JL7016 --single-branch \ 1. 从 `main` 拉新分支:`git checkout -b <厂商>-<型号> main` 2. 合入该 SOC 完整工程(apps + cpu + include_lib + tools) 3. 更新本文件分支表 + `main/README.md` 快速索引 -4. 推送分支并在 Gitea 设为受保护分支(可选) +4. `git push origin` 会同时推到见宝 Git 与码云镜像 ---