cmsis-svd / cmsis-svd-data

Aggregration of ARM Cortex-M (and other) CMSIS SVDs
Apache License 2.0
37 stars 17 forks source link

Add cmsis svd files from cmsis svd repository #1

Closed VincentDary closed 11 months ago

VincentDary commented 1 year ago

This PR add the data directory from cmsis-svd/cmsis-svd repository, a README and the License for any futur source code which may be included in the cmsis-svd/cmsis-svd-data directory.

BenBE commented 1 year ago

Please also include .gitattributes to force consistent line endings throughout this repository for the SVD files. Something like

* text=auto
*.html text
*.md text
*.svd text eol=lf
*.txt text

should suffice. Or short version:

* text=auto
*.svd text eol=lf
VincentDary commented 1 year ago

Than's for your feedback @BenBE.

If I understand gitattributes, this applies automatic changes on the SVD files.

I think we must distribute the files from the manufacturer as is, without any changes.

From my point of view, if a line conversion is apply on a SVD file, the original file signature is lost, and it is no longer possible to certify that the file is supplied by the manufacturer.

Moreover, even if the changes are minor, this poses a licensing problem, as pointed out by paul here.

VincentDary commented 1 year ago

@posborne these changes (README, CONTRIBUTING) are ok for you ?