Revert "boards: Raspberry Pi pico pwm led adjustment"
This reverts commit 037a3b52a4
.
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
0be0d2175b
commit
96b6c0c015
|
@ -8,10 +8,6 @@
|
|||
|
||||
#include "rpi_pico-common.dtsi"
|
||||
|
||||
/* Only the rpi_pico/rp2040 has a pwm. */
|
||||
/* This define can be used to avoid sourcing board overlays when the PWM is not available */
|
||||
#define HAS_DT_PWM_LED 1
|
||||
|
||||
/ {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/* The rpi_pico/rp2040/w doesn't have a pwm. */
|
||||
/* Use the HAS_DT_PWM defined by the based board to identify when this overlay is valid */
|
||||
#if HAS_DT_PWM_LED
|
||||
|
||||
&{/pwm_leds} {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -15,5 +11,3 @@
|
|||
divider-frac-4 = <15>;
|
||||
divider-int-4 = <255>;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -8,3 +8,4 @@ tests:
|
|||
- pwm
|
||||
depends_on: pwm
|
||||
harness: led
|
||||
platform_exclude: rpi_pico/rp2040/w
|
||||
|
|
Loading…
Reference in New Issue