Skip to content

Commit 3859409

Browse files
bors[bot]tfx2001
andauthored
Merge #108
108: update to riscv 0.10 r=dkhayes117 a=tfx2001 In `svd2rust` 0.24.2, require `critial-section` feature of `riscv` 0.10.0 to use the `Peripheral::take()`. So update `riscv` to 0.10 avoid link error. ```text = note: rust-lld: error: undefined symbol: _critical_section_1_0_release >>> referenced by lib.rs:197 (C:\***\.cargo\registry\src\github.com-1ecc6299db9ec823\critical-section-1.1.1\src/lib.rs:197) >>> C:\***\target\riscv32imac-unknown-none-elf\debug\deps\blink-38e172683ad1eb45.21kbt3gcucoa48u6.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h47fa1a207a83c94b) rust-lld: error: undefined symbol: _critical_section_1_0_acquire >>> referenced by lib.rs:180 (C:\***\.cargo\registry\src\github.com-1ecc6299db9ec823\critical-section-1.1.1\src/lib.rs:180) >>> C:\***\target\riscv32imac-unknown-none-elf\debug\deps\blink-38e172683ad1eb45.54bke7unpav17a81.rcgu.o:(critical_section::with::h3ba86eebd468f130) ``` Co-authored-by: tfx2001 <[email protected]>
2 parents 6644fa5 + d66bf9f commit 3859409

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

riscv-rt/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Update `riscv` to version 0.10
13+
1014
## [v0.10.0] - 2022-11-04
1115

1216
### Added

riscv-rt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ s-mode = []
1515

1616
[dependencies]
1717
r0 = "1.0.0"
18-
riscv = "0.9"
18+
riscv = "0.10"
1919
riscv-rt-macros = { path = "macros", version = "0.2.0" }
2020

2121
[dev-dependencies]

0 commit comments

Comments
 (0)