We update 'blink_led', 'fade_led' and 'rgb_led' to support dt generated defines for the PWM info needed for each. Since hexiwear_k64 supports generating the info, moved the support for hexiwear_k64 to just use the dt generated defines. For 'blink_led' and 'fade_led' we use an alias in dt called 'pwm-led0'. For 'rgb_led' we use aliases 'red-pwm-led', 'green-pwm-led' and 'blue-pwm-led' Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| main.c | ||