File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ - Fix STM32-patched CI
10
11
- Fix ` enumeratedValues ` with ` isDefault ` only
11
12
12
13
## [ v0.33.4] - 2024-06-16
Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ main() {
503
503
echo ' [dependencies.riscv-rt]' >> $td /Cargo.toml
504
504
echo ' version = "0.8.0"' >> $td /Cargo.toml
505
505
506
- test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
506
+ test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x/e310x .svd
507
507
test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
508
508
test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/fu540-pac/master/fu540.svd
509
509
;;
@@ -572,6 +572,15 @@ main() {
572
572
;;
573
573
574
574
STM32-patched)
575
+ echo ' [dependencies.critical-section]' >> $td /Cargo.toml
576
+ echo ' version = "1.0"' >> $td /Cargo.toml
577
+ echo ' optional = true' >> $td /Cargo.toml
578
+
579
+ echo ' [features]' >> $td /Cargo.toml
580
+ echo ' default = ["critical-section", "rt"]' >> $td /Cargo.toml
581
+ echo ' rt = ["cortex-m-rt/device"]' >> $td /Cargo.toml
582
+ echo ' atomics = []' >> $td /Cargo.toml
583
+
575
584
# OK
576
585
test_patched_stm32 stm32f0x2
577
586
test_patched_stm32 stm32f103
Original file line number Diff line number Diff line change 2102
2102
- arch : riscv
2103
2103
mfgr : SiFive
2104
2104
chip : E310x
2105
- svd_url : https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
2105
+ svd_url : https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x/e310x .svd
2106
2106
should_pass : false
2107
2107
run_when : never
2108
2108
- arch : msp430
You can’t perform that action at this time.
0 commit comments