Closed Irvise closed 10 months ago
After taking a closer look at the issue I noticed that Rust had already a HAL for the C6 which was being automatically generated correctly. I looked at the CMSIS-SVD specification and the %s
specifier is allowed in order to denote several sequenced names. I will close the issue and open it with svd2ada
.
Sorry for the noise!
Hi all,
in the ESP32-C6 SVD, some data registers seem to be incorrectly named. One such example is the entry
The name of the registry is
IN_INT_RAW_CH%s
. I believe thesvd
generator should have created theIN_INT_RAW_CH0
name, as per the documentation manual https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf There are a few other registers with the same issue.I saw this issue after trying to automagically generate a HAL (Hardware Abstraction Layer) for Ada using
svd2ada
(which worked as intended). But the compiler, obviously, did not like that a spurious % was present in several name identifiers.Could it be fixed? I suppose other SVD->HAL generators will have the same issue.
Best regards, Fer