Skip to content

Commit f5a34a4

Browse files
committed
LPC11Axxv0.6 is busted
1 parent f993703 commit f5a34a4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

ci/script.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ set -ex
22
set -o pipefail
33

44
test_svd() {
5-
curl -L \
6-
https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/$VENDOR/${1}.svd \
7-
> $td/${1}.svd
8-
# we care about errors in svd2rust, but not about errors / warnings in rustfmt
5+
(
6+
cd $td &&
7+
curl -LO \
8+
https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/$VENDOR/${1}.svd
9+
)
10+
11+
# NOTE we care about errors in svd2rust, but not about errors / warnings in rustfmt
912
target/$TARGET/release/svd2rust -i $td/${1}.svd | ( rustfmt 2>/dev/null > $td/src/lib.rs || true )
1013

1114
cargo check --manifest-path $td/Cargo.toml
@@ -405,9 +408,9 @@ main() {
405408
# test_svd LPC178x_7x
406409
# test_svd LPC178x_7x_v0.8
407410
# test_svd LPC408x_7x_v0.7
411+
# test_svd LPC11Axxv0.6
408412

409413
# OK
410-
test_svd LPC11Axxv0.6
411414
test_svd LPC11E6x_v0.8
412415
test_svd LPC176x5x_v0.2
413416
test_svd LPC5410x_v0.4

0 commit comments

Comments
 (0)