Expand description
The Nucleus pinmux compiler.
Owns the stm32.toml → diagnostics pipeline: config parses the file,
solver validates it against the nucleus_db constraint database, and
check is the one-call entry point the CLI and (later) the LSP build on.
Phase 2 ships the parser and the constraint solver (four conflict classes). HAL code generation lands in Phase 3.
Re-exports§
pub use codegen::generate;pub use codegen::Generated;pub use config::Config;pub use config::ParseError;pub use solver::Conflict;
Modules§
- codegen
- HAL code generation.
- config
- Parsing of the
stm32.tomlproject configuration. - model
- The static peripheral model: how
stm32.tomlkeys map to database signals, which pins a peripheral requires, and which bus clock domain feeds it. - solver
- The hardware constraint solver.
Structs§
- Check
Report - The outcome of checking one
stm32.toml. - Unknown
Family - Returned when
[device].familynames an MCU the database doesn’t cover yet.
Functions§
- check
- Parse and validate
stm32.tomltext in one call. - check_
family - Like
check, but also reports an unsupported[device].family.