//! UART catalog for compile-check examples. use platform_stm32f7::{ F722UserConfig, UART1, UART2, kaptan_ports::{PortCatalog, PortDescriptor}, }; pub struct Both; impl PortCatalog<2> for Both { const DESCRIPTORS: [PortDescriptor; 2] = [UART1, UART2]; } pub type UserConfig = F722UserConfig; pub const FACTORY: UserConfig = UserConfig::FACTORY;