Closed MabezDev closed 3 years ago
Whilst most of the patches in esp32 are hacks to supplement the broken svd, some are actually useful QoL improvements.
esp32
FUNC*_IN_SEL_CFG
FUNC*_OUT_SEL_CFG
PIN*
These patches reduce the size of the svd & allow svd2rust to generate code that can access these registers via index, instead of by name.
svd2rust
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!
The noted registers have been collected into arrays in 11b28a1.
Whilst most of the patches in
esp32
are hacks to supplement the broken svd, some are actually useful QoL improvements.FUNC*_IN_SEL_CFG
&FUNC*_OUT_SEL_CFG
.PIN*
registers.These patches reduce the size of the svd & allow
svd2rust
to generate code that can access these registers via index, instead of by name.