This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FreeRTOS Tickless Tick Correction Issue

By default, the NRF_DEBUG is disabled. After enabling, and removing this assert check:

devzone.nordicsemi.com/.../

I am now hitting another one here:

#if ( configUSE_TICKLESS_IDLE != 0 )

	void vTaskStepTick( const TickType_t xTicksToJump )
	{
		/* Correct the tick count value after a period during which the tick
		was suppressed.  Note this does *not* call the tick hook function for
		each stepped tick. */
		configASSERT( ( xTickCount + xTicksToJump ) <= xNextTaskUnblockTime );

It appears that the ticks to jump is not correct.

Related