Merge pull request #457 from eZioPan/UID-to-GHOST_PERIS

move "UID" to "GHOST_PERIS"
This commit is contained in:
Dario Nieuwenhuis 2024-04-06 20:41:14 +00:00 committed by GitHub
commit 378deee68b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -956,7 +956,6 @@ fn process_core(
let defines = h.get_defines(&core_name); let defines = h.get_defines(&core_name);
let mut peri_kinds = HashMap::new(); let mut peri_kinds = HashMap::new();
peri_kinds.insert("UID".to_string(), "UID".to_string());
for ip in group.ips.values() { for ip in group.ips.values() {
let pname = ip.instance_name.clone(); let pname = ip.instance_name.clone();
let pkind = format!("{}:{}", ip.name, ip.version); let pkind = format!("{}:{}", ip.name, ip.version);
@ -1047,6 +1046,7 @@ fn process_core(
"BKP", "BKP",
"USBRAM", "USBRAM",
"VREFINTCAL", "VREFINTCAL",
"UID",
]; ];
for pname in GHOST_PERIS { for pname in GHOST_PERIS {
if let Entry::Vacant(entry) = peri_kinds.entry(pname.to_string()) { if let Entry::Vacant(entry) = peri_kinds.entry(pname.to_string()) {