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(_)) => {
|
(None, Some(_)) => {
|
||||||
panic!("Unable to find enable register for {}", name)
|
print!("Unable to find enable register for {}", name)
|
||||||
}
|
}
|
||||||
(Some(_), None) => {
|
(Some(_), None) => {
|
||||||
panic!("Unable to find reset register for {}", name)
|
print!("Unable to find reset register for {}", name)
|
||||||
}
|
}
|
||||||
(None, None) => {
|
(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