File tree Expand file tree Collapse file tree 9 files changed +32
-1
lines changed Expand file tree Collapse file tree 9 files changed +32
-1
lines changed 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_2: led_2 {
28
29
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
29
30
label = "User LD2";
32
33
33
34
gpio_keys {
34
35
compatible = "gpio-keys";
36
+
35
37
user_button: button {
36
38
label = "User";
37
39
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 21
21
22
22
leds: leds {
23
23
compatible = "gpio-leds";
24
+
24
25
green_led_3: led_3 {
25
26
gpios = <&gpiob 3 GPIO_ACTIVE_HIGH>;
26
27
label = "User LD3";
29
30
30
31
pwmleds {
31
32
compatible = "pwm-leds";
33
+
32
34
green_pwm_led: green_pwm_led {
33
35
pwms = <&pwm2 2 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
34
36
};
Original file line number Diff line number Diff line change 21
21
22
22
leds: leds {
23
23
compatible = "gpio-leds";
24
+
24
25
green_led_3: led_3 {
25
26
gpios = <&gpiob 3 GPIO_ACTIVE_HIGH>;
26
27
label = "User LD3";
29
30
30
31
pwmleds {
31
32
compatible = "pwm-leds";
33
+
32
34
green_pwm_led: green_pwm_led {
33
35
pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
34
36
};
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_2: led_2 {
29
30
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
30
31
label = "User LD2";
33
34
34
35
gpio_keys {
35
36
compatible = "gpio-keys";
37
+
36
38
user_button: button {
37
39
label = "User";
38
40
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
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_2: led_2 {
28
29
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
29
30
label = "User LD2";
32
33
33
34
gpio_keys {
34
35
compatible = "gpio-keys";
36
+
35
37
user_button: button {
36
38
label = "User";
37
39
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
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_2: led_2 {
29
30
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
30
31
label = "User LD2";
33
34
34
35
gpio_keys {
35
36
compatible = "gpio-keys";
37
+
36
38
user_button: button {
37
39
label = "User";
38
40
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
142
144
};
143
145
144
146
&flash0 {
145
-
146
147
partitions {
147
148
compatible = "fixed-partitions";
148
149
#address-cells = <1>;
Original file line number Diff line number Diff line change 22
22
23
23
leds {
24
24
compatible = "gpio-leds";
25
+
25
26
green_led_1: led_1 {
26
27
gpios = <&gpiod 8 GPIO_ACTIVE_HIGH>;
27
28
label = "User LD1";
28
29
};
30
+
29
31
orange_led_2: led_2 {
30
32
gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
31
33
label = "User LD2";
32
34
};
35
+
33
36
red_led_3: led_3 {
34
37
gpios = <&gpiod 10 GPIO_ACTIVE_HIGH>;
35
38
label = "User LD3";
36
39
};
40
+
37
41
blue_led_4: led_4 {
38
42
gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
39
43
label = "User LD4";
42
46
43
47
gpio_keys {
44
48
compatible = "gpio-keys";
49
+
45
50
tamper: tamper_button {
46
51
label = "tamper button";
47
52
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
48
53
zephyr,code = <INPUT_KEY_0>;
49
54
};
55
+
50
56
joy_sel: joystick_selection {
51
57
label = "joystick selection";
52
58
gpios = <&gpioa 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
53
59
zephyr,code = <INPUT_KEY_ENTER>;
54
60
};
61
+
55
62
joy_down: joystick_down {
56
63
label = "joystick down";
57
64
gpios = <&gpiof 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
58
65
zephyr,code = <INPUT_KEY_DOWN>;
59
66
};
67
+
60
68
joy_up: joystick_up {
61
69
label = "joystick up";
62
70
gpios = <&gpiof 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
63
71
zephyr,code = <INPUT_KEY_UP>;
64
72
};
73
+
65
74
joy_left: joystick_left {
66
75
label = "joystick left";
67
76
gpios = <&gpiof 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
68
77
zephyr,code = <INPUT_KEY_LEFT>;
69
78
};
79
+
70
80
joy_right: joystick_right {
71
81
label = "joystick right";
72
82
gpios = <&gpioe 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
Original file line number Diff line number Diff line change 23
23
24
24
leds {
25
25
compatible = "gpio-leds";
26
+
26
27
red_up_led_3: led_3 {
27
28
gpios = <&gpioc 6 GPIO_ACTIVE_HIGH>;
28
29
label = "User LD3";
29
30
};
31
+
30
32
yellow_left_4: led_4 {
31
33
gpios = <&gpioc 8 GPIO_ACTIVE_HIGH>;
32
34
label = "User LD4";
33
35
};
36
+
34
37
green_right_led_5: led_5 {
35
38
gpios = <&gpioc 9 GPIO_ACTIVE_HIGH>;
36
39
label = "User LD5";
37
40
};
41
+
38
42
blue_low_led_6: led_6 {
39
43
gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>;
40
44
label = "User LD6";
43
47
44
48
gpio_keys {
45
49
compatible = "gpio-keys";
50
+
46
51
user_button: button {
47
52
label = "User";
48
53
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
Original file line number Diff line number Diff line change 23
23
24
24
leds {
25
25
compatible = "gpio-leds";
26
+
26
27
green_led_3: led_3 {
27
28
gpios = <&gpioc 9 GPIO_ACTIVE_HIGH>;
28
29
label = "User LD3";
29
30
};
31
+
30
32
blue_led_4: led_4 {
31
33
gpios = <&gpioc 8 GPIO_ACTIVE_HIGH>;
32
34
label = "User LD4";
35
37
36
38
gpio_keys {
37
39
compatible = "gpio-keys";
40
+
38
41
user_button: button {
39
42
label = "Key";
40
43
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
112
115
label = "image-0";
113
116
reg = <0x00004000 DT_SIZE_K(16)>;
114
117
};
118
+
115
119
slot1_partition: partition@8000 {
116
120
label = "image-1";
117
121
reg = <0x00008000 DT_SIZE_K(16)>;
118
122
};
123
+
119
124
scratch_partition: partition@c000 {
120
125
label = "image-scratch";
121
126
reg = <0x0000C000 DT_SIZE_K(16)>;
You can’t perform that action at this time.
0 commit comments