Commit 8d8ad502 authored by Petr Kocian's avatar Petr Kocian
Browse files

check whether ESFree is enabled if dyntick is enabled

parent 6a206ec7
......@@ -580,6 +580,10 @@ void FreeRTOS_ClearTickInterrupt( void );
#if (ENABLE_DynamicTick == 1)
#if (ENABLE_SchedulerExtension_ESFree == 0)
#error Dynamic tick requires ESFree scheduler
#endif
#ifndef __ASSEMBLER__
void FreeRTOS_DynamicTick( void );
uint64_t FreeRTOS_GetTickTimerCounterValue( void );
......@@ -593,7 +597,7 @@ void vSchedulerSetDeadline( void );
#define configGET_TIMER_VALUE() FreeRTOS_GetTickTimerCounterValue()
#define configGET_TIMER_VALUE_RESET() FreeRTOS_GetTickTimerCounterValueAndResetTimer()
#endif
#endif /* (ENABLE_DynamicTick) */
#define configSETUP_TICK_INTERRUPT() FreeRTOS_SetupTickInterrupt()
#define configCLEAR_TICK_INTERRUPT() FreeRTOS_ClearTickInterrupt()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment