1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33include!("../metadata_0101.rs");
use crate::metadata::PeripheralRccKernelClock::{Clock, Mux};
pub static METADATA: Metadata = Metadata {
name: "STM32F105V8",
family: "STM32F1",
line: "STM32F105/107",
memory: &[
MemoryRegion {
name: "BANK_1",
kind: MemoryRegionKind::Flash,
address: 0x8000000,
size: 65536,
settings: Some(
FlashSettings {
erase_size: 2048,
write_size: 4,
erase_value: 255,
},
),
},
MemoryRegion {
name: "SRAM",
kind: MemoryRegionKind::Ram,
address: 0x20000000,
size: 65536,
settings: None,
},
],
peripherals: PERIPHERALS,
nvic_priority_bits: Some(4),
interrupts: INTERRUPTS,
dma_channels: DMA_CHANNELS,
};