Skip to content

Commit c466109

Browse files
committed
SiliconLabs fix
1 parent 8d643bd commit c466109

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ci/script.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_svd_for_target() {
2525
# NOTE we care about errors in svd2rust, but not about errors / warnings in rustfmt
2626
local cwd=$(pwd)
2727
pushd $td
28-
RUST_BACKTRACE=1 $cwd/target/$TARGET/release/svd2rust --target $1 -i input.svd
28+
RUST_BACKTRACE=1 $cwd/target/$TARGET/release/svd2rust $strict $const_generic --target $1 -i input.svd
2929

3030
mv lib.rs src/lib.rs
3131

@@ -531,15 +531,15 @@ main() {
531531

532532
SiliconLabs)
533533
# #99 regression tests
534-
test_svd SIM3C1x4_SVD
535-
test_svd SIM3C1x6_SVD
536-
test_svd SIM3C1x7_SVD
537-
test_svd SIM3L1x4_SVD
538-
test_svd SIM3L1x6_SVD
539-
test_svd SIM3L1x7_SVD
540-
test_svd SIM3U1x4_SVD
541-
test_svd SIM3U1x6_SVD
542-
test_svd SIM3U1x7_SVD
534+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3C1x4.svd
535+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3C1x6_SVD
536+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3C1x7_SVD
537+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3L1x4_SVD
538+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3L1x6_SVD
539+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3L1x7_SVD
540+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3U1x4_SVD
541+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3U1x6_SVD
542+
test_svd_for_target cortex-m https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/SiliconLabs/SiM3_NRND/SIM3U1x7_SVD
543543

544544
# FIXME(???) panicked at "c.text.clone()"
545545
# test_svd SIM3L1x8_SVD

0 commit comments

Comments
 (0)