You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-5Lines changed: 50 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,93 +1,126 @@
1
-
2
1
## 💁 Overview
2
+
3
3
This repository provides a driver layer for the Py32f030 chip. It currently supports most peripherals and provides many friendly interfaces. By calling the upper-level interfaces, the peripherals of the microcontroller can be easily put into operation.
4
4
5
5
## 💻 Development environment
6
+
6
7
Installing the Rust embedded compilation environment for Py32F030 is very simple. You need to install the Rust compilation chain and some tools
The installation of Rust on Windows is a little bit complicated. You can read [this website](https://forge.rust-lang.org/infra/other-installation-methods.html) to learn how to install it.
14
22
15
23
### Rust nightly version
24
+
16
25
After installing rust, you need to switch to the night version to compile some embedded rust code
26
+
17
27
```bash
18
28
rustup default nightly
19
29
```
30
+
20
31
### Installing the Cortex-M0 Compiler Tools
32
+
21
33
```bash
22
34
rustup target add thumbv6m-none-eabi
23
35
```
24
36
25
37
### Check the environment
38
+
26
39
Execute the following command. If there is no error, it means that the rust compilation environment is installed normally.
Probe-rs is an excellent firmware download and log debugging tool. For detailed of installation and how to use, please click [this link](https://probe.rs/docs/getting-started/installation/#using-install-scripts) to see more。
0 commit comments