mirror of
https://github.com/handsomezhuzhu/2025-yatcpu.git
synced 2026-02-20 20:10:14 +00:00
update readme.md
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
(PS: 能求个 star⭐ 吗 QAQ ~)
|
||||
|
||||
## 为什么需要本仓库?
|
||||
[TOC]
|
||||
|
||||
## 为什么创建本仓库?
|
||||
|
||||
1. 开发环境配置困难,为配置开发环境需要付出很多精力,开发效率低
|
||||
2. 学生在运行 <code>build.bat</code> 或 <code>build.sh</code> 时经常遇到问题
|
||||
@@ -22,7 +24,8 @@
|
||||
|
||||
下列内容主要讲述如何使用本仓库来完成开发环境的一键配置和一键烧板
|
||||
|
||||
1. **使用 Vscode + Dev Container 来一键完成环境配置**
|
||||
### 使用 Vscode + Dev Container 来一键完成环境配置
|
||||
|
||||
> 如果你已经在你的设备上完成了开发的环境配置,可以跳过此内容。
|
||||
> **此部分内容搬运自 [YatCPU 的 Dev Container 环境配置](http://tokisakix.cn/2023/11/14/%5BDocker%5D%20YatCPU%20%E7%9A%84%20Dev%20container%20%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/)**,你可以前往文档原地址获得更好的阅读体验
|
||||
|
||||
@@ -67,7 +70,7 @@
|
||||
|
||||
后续当你需要再次启动开发环境时,按相同的步骤运行 Dev Containers 即可,此时 Dev Containers 会自动使用之前已经配置好的环境,不需要再次花费十几分钟等待环境配置
|
||||
|
||||
2. **使用一键烧板脚本**
|
||||
### 使用一键烧板脚本
|
||||
|
||||
> 此烧板脚本对任意方式配置的开发环境都有效,因为 vivado 的烧板跟开发环境是**相互独立**的,如果你使用 Dev Container 或 WSL 配置环境,你需要回到 Windows 下打开 PowerShell 进行烧板。
|
||||
> **此部分内容借鉴自 [YatCPU 的烧板验证](https://yatcpu.sysu.tech/getting-started/program-device/)**
|
||||
|
||||
Reference in New Issue
Block a user