9346ded0af
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 k64-based boards, fixing the test for frdm_k64f and hexiwear_k64 boards. The test is not changed for i.mx rt boards because the pwm clock source on these boards is much faster than on k64 boards, and thus the same pwm frequency operation does not underflow. Signed-off-by: Maureen Helm <maureen.helm@nxp.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
testcase.yaml |