zephyr/tests/portability/cmsis_rtos_v2
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
..
src tests: cmsis_rtos_v2: adjust timer period to avoid starvation 2020-05-19 17:18:43 +02:00
CMakeLists.txt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
prj.conf lib/cmsis_rtos_v2: Update to newer timeout API 2020-05-06 06:05:03 -04:00
testcase.yaml tests: samples: portability: fix test tags and identifiers 2019-12-09 15:53:44 -05:00