Hi, I am quite new to Zephyr and currently developing a custom PWM controller, to control PWM outputs via the main.c.
To test the functionality, i wanted to use the 2 (led0, led1) on board LEDs, turns out, there is nothing else to been seen than before.
After flashing my board with the Fade LED sample, the LED still does not fade and the serial output also says "found 0 LEDs"
This is my mcxa156.overlay for now:
#include <zephyr/dt-bindings/adc/adc.h>
#include <zephyr/dt-bindings/adc/mcux-lpadc.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
/ {
aliases{
myled0 = &pwm_led0;
myled1 = &pwm_led1;
pwm_leds {
compatible = "pwm-leds";
pwm_led0: led_0 {
pwms = <&flexpwm0_pwm0 0 PWM_USEC(20000) PWM_POLARITY_NORMAL>;
};
pwm_led1: led_1 {
pwms = <&flexpwm0_pwm0 1 PWM_USEC(20000) PWM_POLARITY_NORMAL>;
};
};
};
Would be glad for any help,
Mika