feat(f722): enforce board policy and emit diagnostics
This commit is contained in:
1 parent
a4ef0f0740
commit
f4f47d7302
16 files changed
+580
-179
No files matched your search
@@ -1,9 +1,10 @@
|
||||
//! STM32F722 USART routes used by supported boards.
|
||||
|
||||
use kaptan_log::KaptanError;
|
||||
use stm32f7::stm32f722;
|
||||
|
||||
/// UART baud-rate configuration error.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, KaptanError)]
|
||||
pub enum BaudRateError {
|
||||
/// Zero is not a valid baud rate.
|
||||
Zero,
|
||||
|
||||
Reference in new issue
Block a user