zephyr/samples/basic
Loic Poulain 16d8ce519c sample: blink_led: Adjust PWM period
The maximum period a PWM controller can generate depends on its input
clock and its resolution (16-bit, 32-bit...). Setting a 1s max period
generates error with some hardwares (mimxrt1064_evk) because of clock
limitation.

This patch fixes this issue by calculating maximum period of the PWM
device to adjust max and min periods accordingly.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
2019-08-07 07:38:40 -05:00
..
blink_led sample: blink_led: Adjust PWM period 2019-08-07 07:38:40 -05:00
blinky dts: Rename LED._GPIO_* -> DT_ALIAS_LED._GPIOS_* 2019-07-02 08:26:37 -04:00
button sample: button: Fix format specifier 2019-07-31 17:11:19 +02:00
disco dts: Rename LED._GPIO_* -> DT_ALIAS_LED._GPIOS_* 2019-07-02 08:26:37 -04:00
fade_led boards: remove arduino 101 and related boards 2019-07-29 21:30:25 -07:00
minimal kernel: Crank up default tick rate 2019-07-02 22:52:29 -04:00
rgb_led boards: remove arduino 101 and related boards 2019-07-29 21:30:25 -07:00
servo_motor samples: servo_motor: remove whitelisting 2019-07-12 05:54:16 -07:00
threads dts: Rename LED._GPIO_* -> DT_ALIAS_LED._GPIOS_* 2019-07-02 08:26:37 -04:00
basic.rst