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/).
77
88## [ Unreleased]
99
10+ - Fix STM32-patched CI
1011- Fix ` enumeratedValues ` with ` isDefault ` only
1112
1213## [ v0.33.4] - 2024-06-16
Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ main() {
503503 echo ' [dependencies.riscv-rt]' >> $td /Cargo.toml
504504 echo ' version = "0.8.0"' >> $td /Cargo.toml
505505
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
507507 test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
508508 test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/fu540-pac/master/fu540.svd
509509 ;;
@@ -572,6 +572,15 @@ main() {
572572 ;;
573573
574574 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+
575584 # OK
576585 test_patched_stm32 stm32f0x2
577586 test_patched_stm32 stm32f103
Original file line number Diff line number Diff line change 21022102- arch : riscv
21032103 mfgr : SiFive
21042104 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
21062106 should_pass : false
21072107 run_when : never
21082108- arch : msp430
You can’t perform that action at this time.
0 commit comments