Skip to content

Commit 729a18f

Browse files
Rename all instances of riscv-pac to riscv-types besides docs
1 parent 257c3d6 commit 729a18f

File tree

14 files changed

+15
-13
lines changed

14 files changed

+15
-13
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
resolver = "2"
33
members = [
44
"riscv",
5-
"riscv-pac",
5+
"riscv-types",
66
"riscv-peripheral",
77
"riscv-rt",
88
"riscv-semihosting",
@@ -13,7 +13,7 @@ members = [
1313

1414
default-members = [
1515
"riscv",
16-
"riscv-pac",
16+
"riscv-types",
1717
"riscv-peripheral",
1818
"riscv-rt",
1919
"riscv-semihosting",

riscv-peripheral/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ license = "ISC"
1717
embedded-hal = "1.0.0"
1818
paste = "1.0"
1919
riscv = { path = "../riscv", version = "0.15.0" }
20-
riscv-pac = { path = "../riscv-pac", version = "0.2.0" }
20+
riscv-types = { path = "../riscv-types", version = "0.2.0" }
2121

2222
[package.metadata.docs.rs]
2323
all-features = true

riscv-peripheral/src/aclint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub mod mswi;
77
pub mod mtimer;
88
pub mod sswi;
99

10-
pub use riscv_pac::HartIdNumber; // re-export useful riscv-pac traits
10+
pub use riscv_pac::HartIdNumber; // re-export useful riscv-types traits
1111

1212
/// Trait for a CLINT peripheral.
1313
///

riscv-peripheral/src/plic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub mod pendings;
88
pub mod priorities;
99
pub mod threshold;
1010

11-
// re-export useful riscv-pac traits
11+
// re-export useful riscv-types traits
1212
pub use riscv_pac::{HartIdNumber, InterruptNumber, PriorityNumber};
1313

1414
use riscv::register::{mhartid, mie, mip};

riscv-rt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ riscv-target-parser = { path = "../riscv-target-parser", version = "0.1.2" }
2525

2626
[dependencies]
2727
riscv = { path = "../riscv", version = "0.15.0" }
28-
riscv-pac = { path = "../riscv-pac", version = "0.2.0" }
28+
riscv-types = { path = "../riscv-types", version = "0.2.0" }
2929
riscv-rt-macros = { path = "macros", version = "0.6.0" }
3030

3131
defmt = { version = "1.0.1", optional = true }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- Rename all instances of `riscv-pac` with `riscv-types`
11+
1012
## [v0.2.0] - 2024-10-19
1113

1214
### Added
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
2-
name = "riscv-pac"
2+
name = "riscv-types"
33
version = "0.2.0"
44
edition = "2021"
55
rust-version = "1.60"
66
repository = "https://github.com/rust-embedded/riscv"
77
authors = ["The RISC-V Team <[email protected]>"]
88
categories = ["embedded", "hardware-support", "no-std"]
99
description = "Low level access to RISC-V processors"
10-
documentation = "https://docs.rs/riscv-pac"
10+
documentation = "https://docs.rs/riscv-types"
1111
keywords = ["riscv", "register", "peripheral"]
1212
license = "ISC"
1313

File renamed without changes.

0 commit comments

Comments
 (0)