From 60398cad51afccef12a29948c11187ccd0a47ef7 Mon Sep 17 00:00:00 2001 From: eZio Pan Date: Sat, 6 Apr 2024 22:07:19 +0800 Subject: [PATCH] move "UID" to "GHOST_PERIS" --- stm32-data-gen/src/chips.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32-data-gen/src/chips.rs b/stm32-data-gen/src/chips.rs index 66ce3b8..a64ec43 100644 --- a/stm32-data-gen/src/chips.rs +++ b/stm32-data-gen/src/chips.rs @@ -956,7 +956,6 @@ fn process_core( let defines = h.get_defines(&core_name); let mut peri_kinds = HashMap::new(); - peri_kinds.insert("UID".to_string(), "UID".to_string()); for ip in group.ips.values() { let pname = ip.instance_name.clone(); let pkind = format!("{}:{}", ip.name, ip.version); @@ -1047,6 +1046,7 @@ fn process_core( "BKP", "USBRAM", "VREFINTCAL", + "UID", ]; for pname in GHOST_PERIS { if let Entry::Vacant(entry) = peri_kinds.entry(pname.to_string()) {