rp-rs / rp2040-pac

A Rust PAC for the RP2040 Microcontroller
145 stars 28 forks source link

Fix SIE_STATUS patch not being applied due to duplicate YAML key #42

Closed adamgreig closed 3 years ago

adamgreig commented 3 years ago

I'm updating svdtools to detect and reject duplicate YAML keys, because currently they'll cause a silent error where some patches will simply not be applied (in YAML it's not permitted to have duplicate keys in one mapping, but the Python parsers silently accept it). https://github.com/stm32-rs/svdtools/pull/72

Since the RP2040 PAC is now in the svdtools CI, it needs to build before the PR will merge, and it turns out there is one small such problem here, fixed in this PR.