commit
e4a769aa67
@ -2440,7 +2440,7 @@ enum/OCTOSPISEL:
|
|||||||
- name: PLL2_R
|
- name: PLL2_R
|
||||||
description: pll2_r_ck selected as kernel clock
|
description: pll2_r_ck selected as kernel clock
|
||||||
value: 2
|
value: 2
|
||||||
- name: PER_CLK
|
- name: PER
|
||||||
description: per_ck selected as kernel clock
|
description: per_ck selected as kernel clock
|
||||||
value: 3
|
value: 3
|
||||||
enum/PLLDIV:
|
enum/PLLDIV:
|
||||||
|
@ -26,6 +26,7 @@ impl PeripheralToClock {
|
|||||||
"HSI_KER",
|
"HSI_KER",
|
||||||
"CSI_KER",
|
"CSI_KER",
|
||||||
"LSI_KER",
|
"LSI_KER",
|
||||||
|
"PER_CLK",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let rcc_enum_map: HashMap<&String, HashMap<&String, &Enum>> = {
|
let rcc_enum_map: HashMap<&String, HashMap<&String, &Enum>> = {
|
||||||
|
@ -16,7 +16,7 @@ pub mod ir {
|
|||||||
.blocks
|
.blocks
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(name, block)| {
|
.map(|(name, block)| {
|
||||||
let mut items: Vec<_> = block
|
let items = block
|
||||||
.items
|
.items
|
||||||
.iter()
|
.iter()
|
||||||
.map(|item| BlockItem {
|
.map(|item| BlockItem {
|
||||||
@ -54,8 +54,6 @@ pub mod ir {
|
|||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
items.sort_by_key(|i| i.name.clone());
|
|
||||||
|
|
||||||
Block {
|
Block {
|
||||||
name: name.to_string(),
|
name: name.to_string(),
|
||||||
items: items,
|
items: items,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user