Skip to content

Commit fcdc1da

Browse files
committed
Fix STM32-patched CI
1 parent f864c3e commit fcdc1da

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

ci/script.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 = ["dep:portable-atomic"]' >> $td/Cargo.toml
583+
575584
# OK
576585
test_patched_stm32 stm32f0x2
577586
test_patched_stm32 stm32f103

0 commit comments

Comments
 (0)