File tree Expand file tree Collapse file tree 8 files changed +37
-5
lines changed Expand file tree Collapse file tree 8 files changed +37
-5
lines changed Original file line number Diff line number Diff line change 27
27
28
28
leds {
29
29
compatible = "gpio-leds";
30
+
30
31
green_led: led_1 {
31
32
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
32
33
label = "User LD1";
33
34
};
35
+
34
36
blue_led: led_2 {
35
37
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
36
38
label = "User LD2";
37
39
};
40
+
38
41
red_led: led_3 {
39
42
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
40
43
label = "User LD3";
43
46
44
47
gpio_keys {
45
48
compatible = "gpio-keys";
49
+
46
50
user_button: button {
47
51
label = "User";
48
52
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
@@ -217,7 +221,6 @@ zephyr_udc0: &usbotg_fs {
217
221
};
218
222
219
223
&flash0 {
220
-
221
224
partitions {
222
225
compatible = "fixed-partitions";
223
226
#address-cells = <1>;
Original file line number Diff line number Diff line change 32
32
33
33
leds: leds {
34
34
compatible = "gpio-leds";
35
+
35
36
green_led: led_0 {
36
37
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
37
38
label = "User LD1";
38
39
};
40
+
39
41
blue_led: led_1 {
40
42
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
41
43
label = "User LD2";
42
44
};
45
+
43
46
red_led: led_2 {
44
47
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
45
48
label = "User LD3";
48
51
49
52
gpio_keys {
50
53
compatible = "gpio-keys";
54
+
51
55
user_button: button_0 {
52
56
label = "User";
53
57
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 32
32
33
33
leds: leds {
34
34
compatible = "gpio-leds";
35
+
35
36
green_led: led_0 {
36
37
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
37
38
label = "User LD1";
38
39
};
40
+
39
41
blue_led: led_1 {
40
42
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
41
43
label = "User LD2";
42
44
};
45
+
43
46
red_led: led_2 {
44
47
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
45
48
label = "User LD3";
48
51
49
52
gpio_keys {
50
53
compatible = "gpio-keys";
54
+
51
55
user_button: button_0 {
52
56
label = "User";
53
57
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
@@ -198,6 +202,5 @@ zephyr_udc0: &usbotg_fs {
198
202
label = "image-scratch";
199
203
reg = <0x000C0000 DT_SIZE_K(256)>;
200
204
};
201
-
202
205
};
203
206
};
Original file line number Diff line number Diff line change 33
33
34
34
leds: leds {
35
35
compatible = "gpio-leds";
36
+
36
37
green_led: led_0 {
37
38
gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>;
38
39
label = "User LD1";
39
40
};
41
+
40
42
blue_led: led_1 {
41
43
gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>;
42
44
label = "User LD2";
43
45
};
46
+
44
47
red_led: led_2 {
45
48
gpios = <&gpiob 14 GPIO_ACTIVE_HIGH>;
46
49
label = "User LD3";
49
52
50
53
gpio_keys {
51
54
compatible = "gpio-keys";
55
+
52
56
user_button: button_0 {
53
57
label = "User";
54
58
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 24
24
25
25
leds {
26
26
compatible = "gpio-leds";
27
+
27
28
blue_led: led_1 {
28
29
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
29
30
label = "User LD1";
30
31
};
32
+
31
33
red_led: led_2 {
32
34
gpios = <&gpioa 7 GPIO_ACTIVE_HIGH>;
33
35
label = "User LD5";
34
36
};
37
+
35
38
green_led: led_3 {
36
39
gpios = <&gpiob 1 GPIO_ACTIVE_HIGH>;
37
40
label = "User LD6";
40
43
41
44
gpio_keys {
42
45
compatible = "gpio-keys";
46
+
43
47
user_button: button {
44
48
label = "User";
45
49
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
Original file line number Diff line number Diff line change 29
29
30
30
leds {
31
31
compatible = "gpio-leds";
32
+
32
33
green_led_1: led_1 {
33
34
gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
34
35
label = "User LD1";
37
38
38
39
gpio_keys {
39
40
compatible = "gpio-keys";
41
+
40
42
user_button: button {
41
43
label = "User";
42
44
gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>;
@@ -222,7 +224,7 @@ zephyr_udc0: &usbotg_fs {
222
224
slot1_partition: partition@0 {
223
225
label = "image-1";
224
226
reg = <0x00000000 DT_SIZE_K(640)>;
225
- };
227
+ };
226
228
227
229
storage_partition: partition@a0000 {
228
230
label = "storage";
@@ -258,6 +260,7 @@ zephyr_udc0: &usbotg_fs {
258
260
* Note: SDRAM_CLK_MHZ = HCLK_MHZ / 2 (108 MHz)
259
261
*/
260
262
refresh-rate = <1667>;
263
+
261
264
bank@0 {
262
265
reg = <0>;
263
266
st,sdram-control = <STM32_FMC_SDRAM_NC_8
@@ -290,6 +293,7 @@ zephyr_udc0: &usbotg_fs {
290
293
width = <480>;
291
294
height = <272>;
292
295
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
296
+
293
297
display-timings {
294
298
compatible = "zephyr,panel-timing";
295
299
de-active = <0>;
@@ -303,6 +307,7 @@ zephyr_udc0: &usbotg_fs {
303
307
hfront-porch = <8>;
304
308
vfront-porch = <4>;
305
309
};
310
+
306
311
def-back-color-red = <0xFF>;
307
312
def-back-color-green = <0xFF>;
308
313
def-back-color-blue = <0xFF>;
Original file line number Diff line number Diff line change 29
29
30
30
leds {
31
31
compatible = "gpio-leds";
32
+
32
33
green_led_1: led_1 {
33
34
gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
34
35
label = "User LD1";
37
38
38
39
gpio_keys {
39
40
compatible = "gpio-keys";
41
+
40
42
user_button: button {
41
43
label = "User";
42
44
gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>;
@@ -209,7 +211,7 @@ zephyr_udc0: &usbotg_fs {
209
211
slot1_partition: partition@0 {
210
212
label = "image-1";
211
213
reg = <0x00000000 DT_SIZE_K(640)>;
212
- };
214
+ };
213
215
214
216
storage_partition: partition@a0000 {
215
217
label = "storage";
@@ -245,6 +247,7 @@ zephyr_udc0: &usbotg_fs {
245
247
* Note: SDRAM_CLK_MHZ = HCLK_MHZ / 2 (108 MHz)
246
248
*/
247
249
refresh-rate = <1667>;
250
+
248
251
bank@0 {
249
252
reg = <0>;
250
253
st,sdram-control = <STM32_FMC_SDRAM_NC_8
@@ -277,6 +280,7 @@ zephyr_udc0: &usbotg_fs {
277
280
width = <480>;
278
281
height = <272>;
279
282
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>;
283
+
280
284
display-timings {
281
285
compatible = "zephyr,panel-timing";
282
286
de-active = <0>;
@@ -290,6 +294,7 @@ zephyr_udc0: &usbotg_fs {
290
294
hfront-porch = <8>;
291
295
vfront-porch = <4>;
292
296
};
297
+
293
298
def-back-color-red = <0xFF>;
294
299
def-back-color-green = <0xFF>;
295
300
def-back-color-blue = <0xFF>;
Original file line number Diff line number Diff line change 40
40
41
41
leds {
42
42
compatible = "gpio-leds";
43
+
43
44
red_led_1:led_1 {
44
45
gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>;
45
46
label = "User LD1";
46
47
};
48
+
47
49
green_led_2:led_2 {
48
50
gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
49
51
label = "User LD2";
50
52
};
53
+
51
54
green_led_3:led_3 {
52
55
gpios = <&gpioa 12 GPIO_ACTIVE_HIGH>;
53
56
label = "User LD3";
56
59
57
60
gpio_keys {
58
61
compatible = "gpio-keys";
62
+
59
63
user_button: button {
60
64
label = "User";
61
65
gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>;
@@ -205,7 +209,7 @@ arduino_serial: &usart6 {};
205
209
slot1_partition: partition@0 {
206
210
label = "image-1";
207
211
reg = <0x00000000 DT_SIZE_K(16)>;
208
- };
212
+ };
209
213
210
214
storage_partition: partition@1a0000 {
211
215
label = "storage";
You can’t perform that action at this time.
0 commit comments