@@ -2,7 +2,8 @@
|
||||
|
||||
见宝科技 **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
|
||||
# 克隆并切换到 PY32F040 模板
|
||||
git clone https://git.jianbao-tech.com/pets-device/mcu-codegen-template.git
|
||||
# 推荐:从码云镜像克隆并切换到 PY32F040 模板
|
||||
git clone https://gitee.com/wu-chuyuan/mcu-codegen-template.git
|
||||
cd mcu-codegen-template
|
||||
git checkout Puya-PY32F040
|
||||
```
|
||||
@@ -36,7 +37,7 @@ git checkout Puya-PY32F040
|
||||
|
||||
## 仓库结构(MCU 分支通用)
|
||||
|
||||
```
|
||||
```text
|
||||
<MCU分支>/
|
||||
├── App/ APP Keil 工程
|
||||
├── Bootloader/ Bootloader Keil 工程
|
||||
@@ -52,10 +53,13 @@ git checkout Puya-PY32F040
|
||||
|
||||
- 新增 MCU:新建 `厂商-型号` 分支,更新 `docs/branch-index.md` 与本 README 表格
|
||||
- 模板发版:在对应 MCU 分支打 tag,如 `Puya-PY32F040/v1.0.0`
|
||||
- 推送:本地 `origin` 已配置双写,`git push origin` 会同时推到见宝 Git 与码云镜像
|
||||
|
||||
---
|
||||
|
||||
## 相关链接
|
||||
|
||||
- [分支索引详情](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)
|
||||
|
||||
Reference in New Issue
Block a user