usesuper::memory::MemoryRegion;/// This describes a single chip model.
/// It can come in different configurations (memory, peripherals).
/// E.g. `nRF52832` is a `Chip` where `nRF52832_xxAA` and `nRF52832_xxBB` are its `Variant`s.
#[derive(Debug, Clone, Serialize, Deserialize)]pubstructChip{/// This is the name of the chip in base form.
/// E.g. `nRF52832`.
pubname: String,
/// The `PART` register of the chip.
/// This value can be determined via the `cli info` command.
pubpart:Option<u16>,
/// The memory regions available on the chip.
pubmemory_map:Vec<MemoryRegion>,
pubflash_algorithms:Vec<String>,
}