MabezDev / idf2svd

Apache License 2.0
14 stars 7 forks source link

Set correct device name #17

Closed aykevl closed 4 years ago

aykevl commented 4 years ago

Regarding the root <name> element: http://www.keil.com/pack/doc/CMSIS/SVD/html/elem_device.html

The string identifies the device or device series. Device names are required to be unique.

Hardcoding the string Espressif is not unique. In most other SVD files I've seen the name is the chip name. Hence this PR to fix that. I use the chip name for my own SVD to Go converter, the name is used as the output file name.

MabezDev commented 4 years ago

Good catch. Thanks!