espressif / svd

SVD files for Espressif devices
Apache License 2.0
55 stars 2 forks source link

Merging large array based registers #7

Closed MabezDev closed 3 years ago

MabezDev commented 3 years ago

Whilst most of the patches in esp32 are hacks to supplement the broken svd, some are actually useful QoL improvements.

These patches reduce the size of the svd & allow svd2rust to generate code that can access these registers via index, instead of by name.

jessebraham commented 3 years ago

This would definitely be an improvement over the current version, I agree. This was brought up in #3 as well and I am actively investigating it!

jessebraham commented 3 years ago

The noted registers have been collected into arrays in 11b28a1.