zephyr/tests
Peter Bigot 243ea2a1e1 tests/kernel/sleep: relax upper bound to support additional delays
Nordic platforms measure ticks in cycles of a 32 KiHz clock for which
the minimum compare delay is 2 ticks.  The test assumed an upper bound
of four ticks delay per loop iteration, resulting from alignment at
various layers.  This delay is met on Nordic for tick rates at or below
16384, but is too short for the default 32768 Hz tick rate.

Instrumentation confirms that the usleep test loop body on Nordic at 32
KiHz ticks takes 3 ticks as the optimum delay, only when a debug probe
is active.  In other circumstances it can take either 5 or 6 ticks,
depending on timer alignment and stability.

Relax the upper bound for platforms using this system timer at the
highest rate.

Closes #17965.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-08-23 14:43:31 +02:00
..
application_development tests/ /gen_inc_file: convert 4,5,6,7 enumeration to an interval 2019-08-21 07:27:22 -05:00
arch tests: arch: arm_thread_swap: fix ASSERT statements on volatile vars 2019-08-19 09:46:24 +02:00
benchmarks
bluetooth Bluetooth: GATT: Fix using variable size storage for CCC 2019-08-22 15:14:39 +03:00
boards
booting/stub
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
drivers tests: drivers: can: Add test for TX callback 2019-08-18 15:14:30 +02:00
kernel tests/kernel/sleep: relax upper bound to support additional delays 2019-08-23 14:43:31 +02:00
lib tests: lib: sprintf: filter-out MCIMX7_M4 platform 2019-08-16 17:35:04 +02:00
misc
net tests: net: Fix for coverity CID 203499 2019-08-19 16:27:23 +02:00
posix tests: posix: No longer use target_include_directories 2019-08-08 14:31:35 +02:00
shell
subsys tests/subsys/settings/fcb: deletion test 2019-08-20 13:18:38 +02:00
unit
ztest