use super::memory::MemoryRegion;
use std::borrow::Cow;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Chip {
pub name: Cow<'static, str>,
#[serde(skip_serializing_if = "Option::is_none")]
pub part: Option<u16>,
pub memory_map: Cow<'static, [MemoryRegion]>,
pub flash_algorithms: Cow<'static, [Cow<'static, str>]>,
}