zephyr/tests/drivers/pwm/pwm_api/src
Maureen Helm 6dc38b570c tests: pwm_api: Use smaller pwm period cycles on kw41z-based boards
The mcux pwm drivers use period cycles as a divisor to calculate the pwm
frequency in hertz. This operation can underflow easily with large
values of period cycles relative to the pwm clock source, causing the
driver to return an error code and the pwm_api test to fail.

Updates the test to use the smaller set of period and pulse cycles on
kw41z-based boards, fixing the test for the frdm_kw41z board.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-07-13 13:11:37 +02:00
..
main.c tests: pwm: Fix missing unit test 2019-09-26 16:52:58 -04:00
test_pwm.c tests: pwm_api: Use smaller pwm period cycles on kw41z-based boards 2020-07-13 13:11:37 +02:00