Skip to content

Commit bd97d19

Browse files
committed
Most of the SVD files don't validate against the xsd for trivial reasons.
The soc.py is generally tolerant, but it chokes on these files and I'm not inclined to fix them at this point.
1 parent 70e4b32 commit bd97d19

File tree

4 files changed

+3
-0
lines changed

4 files changed

+3
-0
lines changed

mk/svd2py.mk

+3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11

22
SVD2PY = $(TOP)/svd2py
3+
XSD = $(TOP)/vendor/arm/CMSIS-SVD_Schema_1_1_draft.xsd
34

45
SVD_FILES = $(wildcard ./svd/*.svd.gz)
56
PY_FILES = $(patsubst ./svd/%.svd.gz, %.py, $(SVD_FILES))
67

78
%.py: ./svd/%.svd.gz
9+
@#echo "[xmllint]" $*
10+
@#xmllint --noout --schema $(XSD) $<
811
@echo "[svd2py]" $*
912
@$(SVD2PY) $< $@
1013

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)