Skip to main content

Crate rlvgl_chips_nrf

Crate rlvgl_chips_nrf 

Source
Expand description

Board database for Nordic Semiconductor devices.

This crate embeds chip and board configuration data extracted from the Nordic Product Specifications and datasheets. Data is kept as YAML in db/chips/ and db/boards/; build.rs packs each file into the binary at build time.

Consumers (the rlvgl-creator BSP generator) call chip_yaml / board_yaml to retrieve the raw YAML text for a given name, then feed it through their own serde schema. This keeps the chipdb crate free of any chip-specific Rust types so adding new chips is a data-only change.

Structs§

BoardInfo
Information about a supported board.

Functions§

board_names
Returns the list of board spec file stems (e.g. "nrf52840_dk").
board_yaml
Looks up a board spec by its file stem (e.g. "nrf52840_dk").
boards
Returns the list of supported boards.
chip_names
Returns the list of chip spec file stems (e.g. "nrf52840").
chip_yaml
Looks up a chip spec by its file stem (e.g. "nrf52840").
find
Looks up a board by its human-friendly name (the name key in the YAML).
vendor
Returns the vendor name used by the UI.