zephyr/tests/portability
Peter Bigot 4ec5ab2059 tests: cmsis_rtos_v2: adjust timer period to avoid starvation
Most boards run with 10 kHz ticks producing a period of 5 ms for 50
tick interval used in the timer periodic test.  On Nordic 50 ticks
corresponds to 1.5 ms which is too short to complete the TC_PRINT()
call within the handler, causing the periodic timer to starve the
osDelay that would turn off the timer.

Adjust the period to be at least 5 ms or 50 ticks to avoid this
problem while not breaking other platform with slower tick rates.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-05-19 17:18:43 +02:00
..
cmsis_rtos_v1 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
cmsis_rtos_v2 tests: cmsis_rtos_v2: adjust timer period to avoid starvation 2020-05-19 17:18:43 +02:00