Skip to main content

database_for

Function database_for 

Source
pub fn database_for(family: &str) -> Result<Database, UnknownFamily>
Expand description

The database to validate against for family. Empty or "STM32F446RE" resolves to the F446RE; "STM32F411RE" to the F411RE. Any other value is an UnknownFamily error so the CLI/LSP can warn and fall back.