You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently started adding support for ATSAMD51P19A. While I was doing this I ran update.sh and noticed that at least one other ATSAMD51 doesn't actually build at head. I started digging in to this and discovered a few issues.
svd2rust 0.17.0 doesn't support dimable names (CHANNEL[%s], for example). This is because in December of 2019 the svd-parser package was patched to enforce naming rules, but it uses the pre-CMSIS 1.3.3 naming rules.
Some register reset values generated by svd2rust are bigger than their containing types. This doesn't get caught until after svd patch, svd2rust, and form are run. This doesn't block getting update.sh running again, but it's a quality-of-life improvement that would help catch breakages early.
I recently started adding support for ATSAMD51P19A. While I was doing this I ran
update.shand noticed that at least one other ATSAMD51 doesn't actually build at head. I started digging in to this and discovered a few issues.svd2rust0.17.0 doesn't support dimable names (CHANNEL[%s], for example). This is because in December of 2019 thesvd-parserpackage was patched to enforce naming rules, but it uses the pre-CMSIS 1.3.3 naming rules.dimableIdentifierType-style names rust-embedded/svd#119.svd2rustis missing adding someusedeclarations in some modules.svd2rustare bigger than their containing types. This doesn't get caught until aftersvd patch,svd2rust, andformare run. This doesn't block gettingupdate.shrunning again, but it's a quality-of-life improvement that would help catch breakages early.update.shto install the release ofsvd2rustthat includes the above changes.svd2rust#197 to address.ATSAMD5X-series devices.ATSAMD11C14A.USB.DEVICEcluster has wrong register size.update.shand merge results as a PR.