Make the metapac gen enr/rst missing regs non-fatal to the build.
Should be solved in a separate effort.
@@ -431,13 +431,13 @@ pub fn gen(options: Options) {
]);
}
(None, Some(_)) => {
- panic!("Unable to find enable register for {}", name)
+ print!("Unable to find enable register for {}", name)
}
(Some(_), None) => {
- panic!("Unable to find reset register for {}", name)
+ print!("Unable to find reset register for {}", name)
}
(None, None) => {
- panic!("Unable to find enable and reset register for {}", name)
+ print!("Unable to find enable and reset register for {}", name)
}
}
}
