Open switefaster opened 2 years ago
I invited you to the ch32-rs team just now. The original svd files for WCH 32-bit MCUs are very buggy. Check out https://github.com/ch32-rs/ch32-rs/tree/main/svd.
I invited you to the ch32-rs team just now. The original svd files for WCH 32-bit MCUs are very buggy. Check out https://github.com/ch32-rs/ch32-rs/tree/main/svd.
Thanks for your invitation. I will try patching the original file to support enum while checking for errors with respect to WCH's user manuals. Feel free to tell me if you and other members have had some plans and task assignments.
As documented in svd2rust,
<enumeratedValues>
tag is supported to generate enum for enumerative values(e.g.RCC_BDCTLR.RTCSEL
andPWR_CTLR.PLS
and so forth). It is better for hal-crates creators that they don't need to enumerate the value themselves. I suggest that the svd files should be patched to support enumerative values.