Skip to content

Commit 2de4eff

Browse files
committed
update_svd_parser
1 parent e94fc7b commit 2de4eff

File tree

4 files changed

+8
-91
lines changed

4 files changed

+8
-91
lines changed

.github/bors.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ status = [
1515
"ci-linux (stable, Spansion, x86_64-unknown-linux-gnu, linux)",
1616
"ci-linux (stable, STMicro, x86_64-unknown-linux-gnu, linux)",
1717
"ci-linux (stable, Toshiba, x86_64-unknown-linux-gnu, linux)",
18-
"ci-linux (1.37.0, Nordic, x86_64-unknown-linux-gnu, linux)",
18+
"ci-linux (1.40.0, Nordic, x86_64-unknown-linux-gnu, linux)",
1919
"ci-linux (stable, x86_64-apple-darwin, osx)",
2020
"ci-linux (stable, x86_64-pc-windows-msvc, windows)",
2121
]

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
include:
2626
# Test MSRV
27-
- rust: 1.37.0
27+
- rust: 1.40.0
2828
VENDOR: Nordic
2929
TARGET: x86_64-unknown-linux-gnu
3030
TRAVIS_OS_NAME: linux

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ anyhow = "1.0.19"
4343
thiserror = "1.0.5"
4444

4545
[dependencies.svd-parser]
46-
version = "0.9"
46+
#version = "0.9"
47+
git = "https://github.com/rust-embedded/svd"
4748
features = ["derive-from"]
4849

4950
[dependencies.syn]
5051
version = "1.0"
5152
features = ["full","extra-traits"]
53+
54+
[features]
55+
strict = ["svd-parser/strict"]

ci/script.sh

+1-88
Original file line numberDiff line numberDiff line change
@@ -524,97 +524,10 @@ main() {
524524

525525
Spansion)
526526
# OK
527-
test_svd MB9AF12xK
528-
test_svd MB9AF12xL
529-
test_svd MB9AF42xK
530-
test_svd MB9AF42xL
531-
test_svd MB9BF12xJ
532-
test_svd MB9BF12xS
533-
test_svd MB9BF12xT
534-
test_svd MB9BF16xx
535-
test_svd MB9BF32xS
536-
test_svd MB9BF32xT
527+
# See Fujitsu for other chips
537528
test_svd MB9BF36xx
538-
test_svd MB9BF42xS
539-
test_svd MB9BF42xT
540529
test_svd MB9BF46xx
541-
test_svd MB9BF52xS
542-
test_svd MB9BF52xT
543530
test_svd MB9BF56xx
544-
545-
# #102 regression tests
546-
# # NOTE it would take too long to test all these so we only test half
547-
# test_svd MB9AF10xN
548-
test_svd MB9AF10xR
549-
# test_svd MB9AF11xK
550-
test_svd MB9AF11xL
551-
# test_svd MB9AF11xM
552-
test_svd MB9AF11xN
553-
# test_svd MB9AF13xK
554-
test_svd MB9AF13xL
555-
# test_svd MB9AF13xM
556-
test_svd MB9AF13xN
557-
# test_svd MB9AF14xL
558-
test_svd MB9AF14xM
559-
# test_svd MB9AF14xN
560-
test_svd MB9AF15xM
561-
# test_svd MB9AF15xN
562-
test_svd MB9AF15xR
563-
# test_svd MB9AF31xK
564-
test_svd MB9AF31xL
565-
# test_svd MB9AF31xM
566-
test_svd MB9AF31xN
567-
# test_svd MB9AF34xL
568-
test_svd MB9AF34xM
569-
# test_svd MB9AF34xN
570-
test_svd MB9AFA3xL
571-
# test_svd MB9AFA3xM
572-
test_svd MB9AFA3xN
573-
# test_svd MB9AFA4xL
574-
test_svd MB9AFA4xM
575-
# test_svd MB9AFA4xN
576-
test_svd MB9AFB4xL
577-
# test_svd MB9AFB4xM
578-
test_svd MB9AFB4xN
579-
# test_svd MB9BF10xN
580-
test_svd MB9BF10xR
581-
# test_svd MB9BF11xN
582-
test_svd MB9BF11xR
583-
# test_svd MB9BF11xS
584-
test_svd MB9BF11xT
585-
# test_svd MB9BF12xK
586-
test_svd MB9BF12xL
587-
# test_svd MB9BF12xM
588-
test_svd MB9BF21xS
589-
# test_svd MB9BF21xT
590-
test_svd MB9BF30xN
591-
# test_svd MB9BF30xR
592-
test_svd MB9BF31xN
593-
# test_svd MB9BF31xR
594-
test_svd MB9BF31xS
595-
# test_svd MB9BF31xT
596-
test_svd MB9BF32xK
597-
# test_svd MB9BF32xL
598-
test_svd MB9BF32xM
599-
# test_svd MB9BF40xN
600-
test_svd MB9BF40xR
601-
# test_svd MB9BF41xN
602-
test_svd MB9BF41xR
603-
# test_svd MB9BF41xS
604-
test_svd MB9BF41xT
605-
# test_svd MB9BF50xN
606-
test_svd MB9BF50xR
607-
# test_svd MB9BF51xN
608-
test_svd MB9BF51xR
609-
# test_svd MB9BF51xS
610-
test_svd MB9BF51xT
611-
# test_svd MB9BF52xK
612-
test_svd MB9BF52xL
613-
# test_svd MB9BF52xM
614-
test_svd MB9BF61xS
615-
# test_svd MB9BF61xT
616-
test_svd MB9BFD1xS
617-
# test_svd MB9BFD1xT
618531
;;
619532

620533
STMicro)

0 commit comments

Comments
 (0)