Merge pull request #181 from Lytehorse/feat/add-uid-regs
Feat/add uid regs
This commit is contained in:
commit
eb0a32cd86
13
data/registers/uid_v1.yaml
Normal file
13
data/registers/uid_v1.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
block/UID:
|
||||
description: Device Factory programmed 96-bit unique device identifier
|
||||
items:
|
||||
- name: UID
|
||||
description: Factory programmed 96-bit unique device identifier word 0
|
||||
array:
|
||||
len: 3
|
||||
stride: 4
|
||||
byte_offset: 0
|
||||
access: Read
|
||||
|
||||
|
@ -384,6 +384,7 @@ impl PeriMatcher {
|
||||
(".*:LCD:lcdc1_v1.0.*", ("lcd", "v1", "LCD")),
|
||||
(".*:LCD:lcdc1_v1.2.*", ("lcd", "v2", "LCD")),
|
||||
(".*:LCD:lcdc1_v1.3.*", ("lcd", "v2", "LCD")),
|
||||
(".*:UID:.*", ("uid", "v1", "UID")),
|
||||
];
|
||||
|
||||
Self {
|
||||
@ -746,6 +747,7 @@ fn process_core(
|
||||
.collect();
|
||||
interrupts.sort_unstable_by_key(|x| x.number);
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user