I'm trying to get an SVD from https://github.com/starfive-tech/u-boot/blob/07eac31890155be6005237cecdc1871d471c86c7/arch/riscv/dts/jh7100-visionfive.dts - failing in any of the following ways:
Passing the DTS to cmsis-svd-generator errors when facing the #include statements, yielding parser errors.
So I tried preprocessing with cpp, which errors when encountering & characters.
So I compiled again to a flat tree using dtc, and then got parser errors again for the / in the beginning already (/ { is how a tree starts).
For details, please see the Gist with more notes:
https://gist.github.com/orangecms/2d014eb3a21123b4da89d13f974f7c6b