|
25 | 25 |
|
26 | 26 | leds: leds {
|
27 | 27 | compatible = "gpio-leds";
|
| 28 | + |
28 | 29 | blue_led_1: led_0 {
|
29 | 30 | gpios = <&gpiob 15 GPIO_ACTIVE_HIGH>;
|
30 | 31 | label = "User LED1";
|
31 | 32 | };
|
| 33 | + |
32 | 34 | green_led_2: led_1 {
|
33 | 35 | gpios = <&gpiob 9 GPIO_ACTIVE_HIGH>;
|
34 | 36 | label = "User LED2";
|
35 | 37 | };
|
| 38 | + |
36 | 39 | green_led_3: led_2 {
|
37 | 40 | gpios = <&gpiob 11 GPIO_ACTIVE_HIGH>;
|
38 | 41 | label = "User LED3";
|
|
41 | 44 |
|
42 | 45 | gpio_keys {
|
43 | 46 | compatible = "gpio-keys";
|
| 47 | + |
44 | 48 | user_button_1: button_0 {
|
45 | 49 | label = "SW1";
|
46 | 50 | gpios = <&gpioa 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
47 | 51 | zephyr,code = <INPUT_KEY_0>;
|
48 | 52 | };
|
| 53 | + |
49 | 54 | user_button_2: button_1 {
|
50 | 55 | label = "SW2";
|
51 | 56 | gpios = <&gpioa 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
52 | 57 | zephyr,code = <INPUT_KEY_1>;
|
53 | 58 | };
|
| 59 | + |
54 | 60 | user_button_3: button_2 {
|
55 | 61 | label = "SW3";
|
56 | 62 | gpios = <&gpioc 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
@@ -138,6 +144,7 @@ stm32_lp_tick_source: &lptim1 {
|
138 | 144 |
|
139 | 145 | &timers2 {
|
140 | 146 | status = "okay";
|
| 147 | + |
141 | 148 | pwm2: pwm {
|
142 | 149 | status = "okay";
|
143 | 150 | pinctrl-0 = <&tim2_ch4_pb11>;
|
@@ -172,6 +179,7 @@ stm32_lp_tick_source: &lptim1 {
|
172 | 179 |
|
173 | 180 | &subghzspi {
|
174 | 181 | status = "okay";
|
| 182 | + |
175 | 183 | lora: radio@0 {
|
176 | 184 | status = "okay";
|
177 | 185 | tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
|
@@ -200,10 +208,12 @@ stm32_lp_tick_source: &lptim1 {
|
200 | 208 | reg = <0x00000000 DT_SIZE_K(32)>;
|
201 | 209 | read-only;
|
202 | 210 | };
|
| 211 | + |
203 | 212 | slot0_partition: partition@8000 {
|
204 | 213 | label = "image-0";
|
205 | 214 | reg = <0x00008000 DT_SIZE_K(104)>;
|
206 | 215 | };
|
| 216 | + |
207 | 217 | slot1_partition: partition@22000 {
|
208 | 218 | label = "image-1";
|
209 | 219 | reg = <0x00022000 DT_SIZE_K(104)>;
|
|
0 commit comments