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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#![no_std]
use bern_conf_type::*;
pub const CONF: Conf = Conf {
task: Task {
pool_size: 8,
priorities: 8,
},
event: Event {
pool_size: 32,
},
memory: Memory {
flash: MemorySection {
start_address: 0x0800_0000,
size: Size::S512K,
},
sram: MemorySection {
start_address: 0x2000_0000,
size: Size::S128K,
},
peripheral: MemorySection {
start_address: 0x4000_0000,
size: Size::S512M,
},
shared: MemorySection {
start_address: 0x2001FC00,
size: Size::S1K,
}
},
};