ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.33k stars 1.08k forks source link

CMSIS-SVD validator should be open source #155

Closed odinthenerd closed 7 years ago

odinthenerd commented 7 years ago

It would be much easier for the community to make pull requests adding validator checks than filing issues and waiting for ARM. Please open source it.

We would gladly implement this and other checks.

ilg-ul commented 7 years ago

an open source SVD validator would be great, and a portable written one would be even greater.

the current preferred solution would be a npm package (node.js based).

the yesterday preferred solution was Python, but given the mess with different versions, and the traction that npm has nowadays, Python is already somehow deprecated.

as for performances... I doubt they justify having this program written in C++.

odinthenerd commented 7 years ago

I would of course prefer modern C++ but I don't really care, as long as it is open is can be in haskell for all I care

ilg-ul commented 7 years ago

prefer modern C++

yes, sure, but then you also need a portable build environment (will it work on windows/linux/macos? will it be autotools? cmake? on windows, will it be mingw-w64 or microsoft?), then you also need to have exactly the same libraries, and so on.

not really worth the effort, imho.

xml processing is a piece of cake for modern interpreted languages. for node.js you install only the interpreter, then all dependencies for the application are automatically pulled in, nothing else to do.

David-Garcia-Polo commented 7 years ago

I still prefer the "yesterday" solution in python, but one way or the other will work.

Nevertheless, as long as for example the pack installer in uVision uses the installed SVDConv there is no solution for pack installation in that environment.

JonatanAntoni commented 7 years ago

We have discussed and decided to not open source SVDConv in the foreseeable future.

JonatanAntoni commented 7 years ago

Closing this issue due to no further feedback or questions raised.