mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Make the metapac gen enr/rst missing regs non-fatal to the build.
Should be solved in a separate effort.
This commit is contained in:
parent
6b78d56ceb
commit
2a25de3d3e
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user