File tree Expand file tree Collapse file tree 9 files changed +75
-0
lines changed Expand file tree Collapse file tree 9 files changed +75
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ The Zephyr _nucleo_u031r8_ board configuration supports the following hardware f
144
144
+-----------+------------+-------------------------------------+
145
145
| I2C | on-chip | i2c |
146
146
+-----------+------------+-------------------------------------+
147
+ | PWM | on-chip | pwm |
148
+ +-----------+------------+-------------------------------------+
147
149
148
150
Other hardware features are not yet supported on this Zephyr port.
149
151
Original file line number Diff line number Diff line change 101
101
status = "okay";
102
102
clock-frequency = <I2C_BITRATE_FAST>;
103
103
};
104
+
105
+ &timers1 {
106
+ st,prescaler = <10000>;
107
+ status = "okay";
108
+
109
+ pwm1: pwm {
110
+ status = "okay";
111
+ pinctrl-0 = <&tim1_ch1_pa8>;
112
+ pinctrl-names = "default";
113
+ };
114
+ };
115
+
116
+ &timers2 {
117
+ st,prescaler = <10000>;
118
+ status = "okay";
119
+
120
+ pwm2: pwm {
121
+ pinctrl-0 = <&tim2_ch1_pa5>;
122
+ pinctrl-names = "default";
123
+ status = "okay";
124
+ };
125
+ };
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ supported:
9
9
- dac
10
10
- gpio
11
11
- i2c
12
+ - pwm
12
13
- usart
13
14
ram : 12
14
15
flash : 64
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ The Zephyr nucleo_u083rc board configuration supports the following hardware fea
150
150
+-----------+------------+-------------------------------------+
151
151
| I2C | on-chip | i2c |
152
152
+-----------+------------+-------------------------------------+
153
+ | PWM | on-chip | pwm |
154
+ +-----------+------------+-------------------------------------+
153
155
154
156
Other hardware features are not yet supported on this Zephyr port.
155
157
Original file line number Diff line number Diff line change 101
101
status = "okay";
102
102
clock-frequency = <I2C_BITRATE_FAST>;
103
103
};
104
+
105
+ &timers1 {
106
+ st,prescaler = <10000>;
107
+ status = "okay";
108
+
109
+ pwm1: pwm {
110
+ status = "okay";
111
+ pinctrl-0 = <&tim1_ch1_pa8>;
112
+ pinctrl-names = "default";
113
+ };
114
+ };
115
+
116
+ &timers2 {
117
+ st,prescaler = <10000>;
118
+ status = "okay";
119
+
120
+ pwm2: pwm {
121
+ pinctrl-0 = <&tim2_ch1_pa5>;
122
+ pinctrl-names = "default";
123
+ status = "okay";
124
+ };
125
+ };
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ supported:
11
11
- dac
12
12
- gpio
13
13
- i2c
14
+ - pwm
14
15
- usart
15
16
ram : 40
16
17
flash : 256
Original file line number Diff line number Diff line change @@ -163,6 +163,8 @@ The Zephyr stm32u083c_dk board configuration supports the following hardware fea
163
163
+-----------+------------+-------------------------------------+
164
164
| I2C | on-chip | i2c |
165
165
+-----------+------------+-------------------------------------+
166
+ | PWM | on-chip | pwm |
167
+ +-----------+------------+-------------------------------------+
166
168
167
169
Other hardware features are not yet supported on this Zephyr port.
168
170
Original file line number Diff line number Diff line change 91
91
status = "okay";
92
92
clock-frequency = <I2C_BITRATE_FAST>;
93
93
};
94
+
95
+ &timers1 {
96
+ st,prescaler = <10000>;
97
+ status = "okay";
98
+
99
+ pwm1: pwm {
100
+ status = "okay";
101
+ pinctrl-0 = <&tim1_ch1_pa8>;
102
+ pinctrl-names = "default";
103
+ };
104
+ };
105
+
106
+ &timers2 {
107
+ st,prescaler = <10000>;
108
+ status = "okay";
109
+
110
+ pwm2: pwm {
111
+ pinctrl-0 = <&tim2_ch1_pa5>;
112
+ pinctrl-names = "default";
113
+ status = "okay";
114
+ };
115
+ };
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ supported:
11
11
- dac
12
12
- gpio
13
13
- i2c
14
+ - pwm
14
15
- usart
15
16
ram : 40
16
17
flash : 256
You can’t perform that action at this time.
0 commit comments