zephyr/tests
Maureen Helm 9346ded0af tests: pwm_api: Use smaller pwm period cycles on k64-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
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>
2019-08-13 09:33:31 -05:00
..
application_development cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
arch tests: clean up fatal error handlers 2019-08-06 19:32:22 -07:00
benchmarks tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
bluetooth Bluetooth: mesh_shell: Disable controller filter 2019-08-11 16:42:52 +02:00
boards tests: boards: board_shell: Activate CAN shell 2019-07-29 10:27:54 +03:00
booting/stub license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cmsis_rtos_v1 tests/cmsis_rtos_v1: relax timing check a bit 2019-08-02 12:47:41 +02:00
cmsis_rtos_v2 tests/cmsis_rtos_v2: exclude m2gl025_miv due to tick rate conflict 2019-08-02 12:47:41 +02:00
crypto kernel: lib: Add convert functions for hex strings and binary arrays 2019-07-16 12:44:18 +02:00
drivers tests: pwm_api: Use smaller pwm period cycles on k64-based boards 2019-08-13 09:33:31 -05:00
kernel tests: enable hsdk and nsim_hs_smp for smp test 2019-08-11 21:18:38 +02:00
lib riscv: add a qemu_riscv64 board 2019-08-09 09:11:45 -05:00
misc cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
net tests: net: increase stack size 2019-08-08 13:50:32 -07:00
posix tests: posix: No longer use target_include_directories 2019-08-08 14:31:35 +02:00
shell shell: add test for new built-in command 2019-05-24 11:04:42 +02:00
subsys riscv: add a qemu_riscv64 board 2019-08-09 09:11:45 -05:00
unit tests: crc: convert to regular test case 2019-07-06 00:31:04 +02:00
ztest subsys/testsuite/ztest: change zassert_mem_equal to macro 2019-06-03 09:39:37 -04:00