Skip to content
Commit 4ec5ab20 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

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: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent c80a75d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment