File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
boards/wemos/esp32s2_lolin_mini Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11
11
&pinctrl {
12
12
uart0_default: uart0_default {
13
13
group1 {
14
- pinmux = <UART0_TX_GPIO16>;
15
14
output-high;
15
+ pinmux = <UART0_TX_GPIO16>;
16
16
};
17
17
18
18
group2 {
19
- pinmux = <UART0_RX_GPIO17>;
20
19
bias-pull-up;
20
+ pinmux = <UART0_RX_GPIO17>;
21
21
};
22
22
};
23
23
};
Original file line number Diff line number Diff line change 12
12
#include <espressif/partitions_0x1000_default.dtsi>
13
13
14
14
/ {
15
- model = "Wemos ESP32S2-Lolin Mini";
16
15
compatible = "espressif,esp32s2";
16
+ model = "Wemos ESP32S2-Lolin Mini";
17
17
18
18
aliases {
19
- sw0 = &user_button;
20
19
led0 = &user_led;
20
+ sw0 = &user_button;
21
21
watchdog0 = &wdt0;
22
22
};
23
23
24
24
chosen {
25
- zephyr,sram = &sram1 ;
25
+ zephyr,code-partition = &slot0_partition ;
26
26
zephyr,console = &uart0;
27
- zephyr,shell-uart = &uart0;
28
27
zephyr,flash = &flash0;
29
- zephyr,code-partition = &slot0_partition;
28
+ zephyr,shell-uart = &uart0;
29
+ zephyr,sram = &sram1;
30
30
};
31
31
32
32
leds {
42
42
compatible = "gpio-keys";
43
43
44
44
user_button: user_button {
45
- label = "0";
46
45
gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
46
+ label = "0";
47
47
zephyr,code = <INPUT_KEY_0>;
48
48
};
49
49
};
54
54
};
55
55
56
56
&uart0 {
57
- status = "okay";
58
57
current-speed = <115200>;
59
58
pinctrl-0 = <&uart0_default>;
60
59
pinctrl-names = "default";
60
+ status = "okay";
61
61
};
62
62
63
63
&gpio0 {
You can’t perform that action at this time.
0 commit comments