Skip to content

Commit 303bdc5

Browse files
authored
Merge pull request #9 from py32-rust/update_repo
Added CHANGELOG.md
2 parents 7056d6b + b33a8d4 commit 303bdc5

File tree

5 files changed

+64
-8
lines changed

5 files changed

+64
-8
lines changed

.github/workflows/cargo-make.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: cargo make form
4949

5050
- name: Check PACs
51-
run: cargo make check-patched
51+
run: cargo make check
5252

5353
- name: Clean up
54-
run: cargo make clean-all
54+
run: cargo make clean

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## v0.2.0
6+
7+
### Added
8+
9+
- Clustered DMA registers into channels
10+
- Added arrays to DMA registers
11+
- Add direct 8-bit access to USART data register
12+
13+
### Changed
14+
15+
- Updated Repository url in `README.md` and `scripts/makecrates.py`
16+
- Renamed `DDF` field in spi CR1 register to `DFF` to match datasheet for device py32f002b
17+
- Updated form version from 0.10.0 to 0.12.1
18+
- Updated svdtools version from 0.3.0 to 0.3.14
19+
20+
## v0.1.1
21+
22+
## V0.1.0
23+
24+
## v0.0.1
25+
26+
- Original Release
27+
28+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
29+
and this project adheres to [Semantic Versioning](http://semver.org/).

Makefile.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[tasks.crates]
2+
command = "make"
3+
args = ["crates"]
4+
5+
[tasks.install]
6+
command = "make"
7+
args = ["install"]
8+
9+
[tasks.patch]
10+
command = "make"
11+
args = ["patch"]
12+
13+
[tasks.svd2rust]
14+
command = "make"
15+
args = ["svd2rust"]
16+
17+
[tasks.form]
18+
command = "make"
19+
args = ["form"]
20+
21+
[tasks.check]
22+
command = "make"
23+
args = ["check"]
24+
25+
[tasks.clean]
26+
command = "make"
27+
args = ["clean"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> This repo is modified from [stm32-rs](https://github.com/stm32-rs/stm32-rs)
44
5-
[![CI](https://github.com/creatoy/py32-rs/workflows/CI/badge.svg?branch=master)](https://github.com/creatoy/py32-rs)
5+
[![CI](https://github.com/py32-rust/py32-rs/workflows/CI/badge.svg?branch=master)](https://github.com/py32-rust/py32-rs)
66
[![crates.io](https://img.shields.io/crates/v/py32f0.svg?label=py32f0)](https://crates.io/crates/py32f0)
77

88
This repository provides Rust device support crates for all py32

scripts/makecrates.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import re
1717
import yaml
1818

19-
VERSION = "0.1.1"
19+
VERSION = "0.2.0"
2020
SVD2RUST_VERSION = "0.28.0"
2121

2222
CRATE_DOC_FEATURES = {
@@ -34,7 +34,7 @@
3434
version = "{version}"
3535
authors = ["creatoy <creatoy@yeah.net>", "py32-rs Contributors"]
3636
description = "Device support crates for {family} devices"
37-
repository = "https://github.com/creatoy/py32-rs"
37+
repository = "https://github.com/py32-rust/py32-rs"
3838
readme = "README.md"
3939
keywords = ["py32", "svd2rust", "no_std", "embedded"]
4040
categories = ["embedded", "no-std"]
@@ -66,15 +66,15 @@
6666
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/{svd2rust_version}/svd2rust/#peripheral-api)
6767
//!
6868
//! For more details see the README here:
69-
//! [py32-rs](https://github.com/creatoy/py32-rs)
69+
//! [py32-rs](https://github.com/py32-rust/py32-rs)
7070
//!
7171
//! This crate supports all {family} devices; for the complete list please
7272
//! see:
7373
//! [{crate}](https://crates.io/crates/{crate})
7474
//!
7575
//! Due to doc build limitations, not all devices may be shown on docs.rs;
7676
//! a representative few have been selected instead. For a complete list of
77-
//! available registers and fields see: [py32-rs Device Coverage](https://creatoy.github.io/py32-rs/)
77+
//! available registers and fields see: [py32-rs Device Coverage](https://py32-rust.github.io/py32-rs/)
7878
7979
#![allow(non_camel_case_types)]
8080
#![allow(non_snake_case)]
@@ -95,7 +95,7 @@
9595
Refer to the [documentation] for full details.
9696
9797
[svd2rust]: https://github.com/rust-embedded/svd2rust
98-
[main repo]: https://github.com/creatoy/py32-rs
98+
[main repo]: https://github.com/py32-rust/py32-rs
9999
[documentation]: https://docs.rs/{crate}/latest/{crate}/
100100
101101
## Usage

0 commit comments

Comments
 (0)