-
Notifications
You must be signed in to change notification settings - Fork 12
Bitfield stripping is broken on indexed peripherals #17
Comments
Ah that is unfortunate. :/ If you'd like to back out #14, that'd be fine. I'm trying to approach this more generally directly in the idf2svd tool, but don't have that ready to go yet. On the idf2svd front, I can identify which of the peripherals are indexed by looking for defines which look like |
I will try and figure out why svdtools isn't patching the copied peripherals, but I will resort to reverting #14 if I can't figure it out.
I looked into a similar approach but didn't go any further with it because of the inconsistencies in soc.h, for example the timer groups are referred to everywhere as timg but inside soc.h they are referred to as timergroup. I hope you have more luck than I did! |
I have an idea as to why this stopped working. Instead of Now that we Something like changing the following line from: esp32/svd/patches/_rename_bitfields.yaml Line 38 in 9a41f6a
|
Re-opening as we had to revert the fix in #19 |
Seems like #14 has unfortunately & subtley broken the code gen for indexed registers.
The text was updated successfully, but these errors were encountered: