Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix STM32-patched CI #862

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

- Fix STM32-patched CI
- Fix `enumeratedValues` with `isDefault` only

## [v0.33.4] - 2024-06-16
Expand Down
11 changes: 10 additions & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ main() {
echo '[dependencies.riscv-rt]' >> $td/Cargo.toml
echo 'version = "0.8.0"' >> $td/Cargo.toml

test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x/e310x.svd
test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/k210-pac/master/k210.svd
test_svd_for_target riscv https://raw.githubusercontent.com/riscv-rust/fu540-pac/master/fu540.svd
;;
Expand Down Expand Up @@ -572,6 +572,15 @@ main() {
;;

STM32-patched)
echo '[dependencies.critical-section]' >> $td/Cargo.toml
echo 'version = "1.0"' >> $td/Cargo.toml
echo 'optional = true' >> $td/Cargo.toml

echo '[features]' >> $td/Cargo.toml
echo 'default = ["critical-section", "rt"]' >> $td/Cargo.toml
echo 'rt = ["cortex-m-rt/device"]' >> $td/Cargo.toml
echo 'atomics = []' >> $td/Cargo.toml

# OK
test_patched_stm32 stm32f0x2
test_patched_stm32 stm32f103
Expand Down
2 changes: 1 addition & 1 deletion ci/svd2rust-regress/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@
- arch: riscv
mfgr: SiFive
chip: E310x
svd_url: https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x.svd
svd_url: https://raw.githubusercontent.com/riscv-rust/e310x/master/e310x/e310x.svd
should_pass: false
run_when: never
- arch: msp430
Expand Down
Loading