File tree Expand file tree Collapse file tree 16 files changed +96
-30
lines changed Expand file tree Collapse file tree 16 files changed +96
-30
lines changed Original file line number Diff line number Diff line change 29
29
30
30
leds: leds {
31
31
compatible = "gpio-leds";
32
+
32
33
green_led: led_0 {
33
34
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
34
35
label = "User LD1";
35
36
};
37
+
36
38
yellow_led: led_1 {
37
39
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
38
40
label = "User LD2";
39
41
};
42
+
40
43
red_led: led_2 {
41
44
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
42
45
label = "User LD3";
54
57
55
58
gpio_keys {
56
59
compatible = "gpio-keys";
60
+
57
61
user_button: button_0 {
58
62
label = "User";
59
63
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 26
26
27
27
leds: leds {
28
28
compatible = "gpio-leds";
29
+
29
30
green_led: led_0 {
30
31
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
31
32
label = "User LD1";
32
33
};
34
+
33
35
yellow_led: led_1 {
34
36
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
35
37
label = "User LD2";
46
48
47
49
gpio_keys {
48
50
compatible = "gpio-keys";
51
+
49
52
user_button: button_0 {
50
53
label = "User";
51
54
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
@@ -272,7 +275,6 @@ zephyr_udc0: &usbotg_fs {
272
275
label = "image-scratch";
273
276
reg = <0x000c0000 DT_SIZE_K(128)>;
274
277
};
275
-
276
278
};
277
279
};
278
280
Original file line number Diff line number Diff line change 11
11
/ {
12
12
leds: leds {
13
13
compatible = "gpio-leds";
14
+
14
15
green_led: led_1 {
15
16
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
16
17
label = "User LD1";
17
18
};
19
+
18
20
yellow_led: led_2 {
19
21
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
20
22
label = "User LD2";
23
25
24
26
gpio_keys {
25
27
compatible = "gpio-keys";
28
+
26
29
user_button: button_0 {
27
30
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
28
31
label = "User SB1";
Original file line number Diff line number Diff line change 26
26
27
27
leds: leds {
28
28
compatible = "gpio-leds";
29
+
29
30
green_led: led_0 {
30
31
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
31
32
label = "User LD1";
32
33
};
34
+
33
35
yellow_led: led_1 {
34
36
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
35
37
label = "User LD2";
46
48
47
49
gpio_keys {
48
50
compatible = "gpio-keys";
51
+
49
52
user_button: button_0 {
50
53
label = "User";
51
54
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
@@ -260,6 +263,5 @@ zephyr_udc0: &usbotg_fs {
260
263
label = "image-scratch";
261
264
reg = <0x000c0000 DT_SIZE_K(128)>;
262
265
};
263
-
264
266
};
265
267
};
Original file line number Diff line number Diff line change 11
11
/ {
12
12
leds: leds {
13
13
compatible = "gpio-leds";
14
+
14
15
green_led: led_1 {
15
16
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
16
17
label = "User LD1";
17
18
};
19
+
18
20
yellow_led: led_2 {
19
21
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
20
22
label = "User LD2";
21
23
};
24
+
22
25
red_led: led_3 {
23
26
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
24
27
label = "User LD3";
27
30
28
31
gpio_keys {
29
32
compatible = "gpio-keys";
33
+
30
34
user_button: button_0 {
31
35
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
32
36
label = "User SB1";
Original file line number Diff line number Diff line change 25
25
26
26
leds: leds {
27
27
compatible = "gpio-leds";
28
+
28
29
green_led: led_0 {
29
30
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
30
31
label = "User LD1";
31
32
};
33
+
32
34
yellow_led: led_1 {
33
35
gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>;
34
36
label = "User LD2";
45
47
46
48
gpio_keys {
47
49
compatible = "gpio-keys";
50
+
48
51
user_button: button_0 {
49
52
label = "User";
50
53
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 24
24
25
25
leds: leds {
26
26
compatible = "gpio-leds";
27
+
27
28
green_led: led_1 {
28
29
gpios = <&gpiod 10 GPIO_ACTIVE_HIGH>;
29
30
label = "User LD1";
30
31
};
32
+
31
33
yellow_led: led_2 {
32
34
gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>;
33
35
label = "User LD2";
34
36
};
37
+
35
38
red_led: led_3 {
36
39
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
37
40
label = "User LD3";
40
43
41
44
gpio_keys {
42
45
compatible = "gpio-keys";
46
+
43
47
user_button: button_0 {
44
48
label = "User";
45
49
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
196
200
label = "image-0";
197
201
reg = <0x00000000 DT_SIZE_K(512)>;
198
202
};
203
+
199
204
slot1_partition: partition@80000 {
200
205
label = "image-1";
201
206
reg = <0x0080000 DT_SIZE_K(512)>;
202
207
};
208
+
203
209
scratch_partition: partition@100000 {
204
210
label = "image-scratch";
205
211
reg = <0x00100000 DT_SIZE_K(64)>;
206
212
};
213
+
207
214
storage_partition: partition@110000 {
208
215
label = "storage";
209
216
reg = <0x00110000 DT_SIZE_K(64)>;
Original file line number Diff line number Diff line change 24
24
25
25
leds {
26
26
compatible = "gpio-leds";
27
+
27
28
red_led: led_1 {
28
29
gpios = <&gpioc 2 GPIO_ACTIVE_LOW>;
29
30
label = "User LD2";
30
31
};
32
+
31
33
green_led: led_2 {
32
34
gpios = <&gpioc 3 GPIO_ACTIVE_LOW>;
33
35
label = "User LD1";
36
38
37
39
gpio_keys {
38
40
compatible = "gpio-keys";
41
+
39
42
user_button: button {
40
43
label = "User";
41
44
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
186
189
status = "okay";
187
190
188
191
partitions {
189
- compatible = "fixed-partitions";
190
- #address-cells = <1>;
191
- #size-cells = <1>;
192
-
193
- partition@0 {
194
- label = "nor";
195
- reg = <0x00000000 DT_SIZE_M(4)>;
196
- };
192
+ compatible = "fixed-partitions";
193
+ #address-cells = <1>;
194
+ #size-cells = <1>;
195
+
196
+ partition@0 {
197
+ label = "nor";
198
+ reg = <0x00000000 DT_SIZE_M(4)>;
199
+ };
197
200
};
198
201
};
199
202
};
Original file line number Diff line number Diff line change 12
12
/ {
13
13
leds: leds {
14
14
compatible = "gpio-leds";
15
+
15
16
green_led: led_1 {
16
17
gpios = <&gpioj 2 GPIO_ACTIVE_HIGH>;
17
18
label = "User LD7";
18
19
};
20
+
19
21
red_led: led_2 {
20
22
gpios = <&gpioi 13 GPIO_ACTIVE_HIGH>;
21
23
label = "User LD6";
22
24
};
25
+
23
26
green_led_2: led_3 {
24
27
gpios = <&gpiod 3 GPIO_ACTIVE_HIGH>;
25
28
label = "User LD8";
28
31
29
32
gpio_keys {
30
33
compatible = "gpio-keys";
34
+
31
35
user_button: button_0 {
32
36
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
33
37
label = "User SB1";
Original file line number Diff line number Diff line change 189
189
status = "okay";
190
190
191
191
partitions {
192
- compatible = "fixed-partitions";
193
- #address-cells = <1>;
194
- #size-cells = <1>;
192
+ compatible = "fixed-partitions";
193
+ #address-cells = <1>;
194
+ #size-cells = <1>;
195
195
196
- storage_partition: partition@0 {
197
- reg = <0x0 DT_SIZE_M(64)>;
198
- };
196
+ storage_partition: partition@0 {
197
+ reg = <0x0 DT_SIZE_M(64)>;
198
+ };
199
199
};
200
200
};
201
201
264
264
num-auto-refresh = <8>;
265
265
mode-register = <0x220>;
266
266
refresh-rate = <0x603>;
267
+
267
268
bank@1 {
268
269
reg = <1>;
269
270
st,sdram-control = <STM32_FMC_SDRAM_NC_8
You can’t perform that action at this time.
0 commit comments