samples: blinky_pwm: Fix sample for rpi_pico
The RP2040 needs a DTS overlay for the PWM to work with the blinky_pwm examples. This commit adds the required overlay. Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
This commit is contained in:
parent
85c6de4335
commit
c5cb0d1a3b
9
samples/basic/blinky_pwm/boards/rpi_pico.overlay
Normal file
9
samples/basic/blinky_pwm/boards/rpi_pico.overlay
Normal file
@ -0,0 +1,9 @@
|
||||
&pwm_led0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm {
|
||||
status = "okay";
|
||||
divider-frac-4 = <255>;
|
||||
divider-int-4 = <255>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user