This repository has been archived by the owner on Nov 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stm32f4_discovery.json
89 lines (89 loc) · 2.75 KB
/
stm32f4_discovery.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"menu-platform": {
"config-name": "STM32",
"menu-stm32": {
"config-device": "STM32F407VG",
"menu-clock": {
"config-source": "HSE",
"config-speed": "8000000"
},
"config-console": "USART3",
"menu-uart": {
"table-uart": [
"USART3"
],
"menu-USART3": {
"config-baud": 115200
}
},
"menu-pins": {
"table-pins": [
"PD8",
"PD9",
"PB6",
"PB9"
],
"menu-PD8": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-comment": "Console UART pin",
"config-afsel": "AF7: USART3_TX",
"config-speed": 25
},
"menu-PD9": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-comment": "Console UART pin",
"config-afsel": "AF7: USART3_RX",
"config-speed": 25
},
"menu-PB6": {
"config-mode": "af",
"config-pull": "no",
"config-type": "open drain",
"config-speed": 25,
"config-afsel": "AF4: I2C1_SCL"
},
"menu-PB9": {
"config-mode": "af",
"config-pull": "no",
"config-type": "open drain",
"config-speed": 25,
"config-afsel": "AF4: I2C1_SDA"
}
},
"menu-timer": {
"config-source": "systick",
"config-freq": "100",
"config-owner": "user"
},
"menu-i2c": {
"table-i2c": [
"I2C1"
],
"menu-I2C1": {
"config-mode": "IRQ",
"config-speed": "1000",
"config-duty-cycle": "2/1",
"config-ack": true,
"config-ack-addr-bit": 7,
"config-own-address": "51"
}
}
}
},
"menu-dev": {
"menu-sensors": {
"menu-htu21d": {
"table-htu21d-dev": [
"htu21d_sensor"
],
"menu-htu21d_sensor": {
"config-i2c": "I2C1"
}
}
}
}
}