#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H

#define configCPU_CLOCK_HZ              ( 50000000UL )
#define configTICK_RATE_HZ              ( 1000UL )
#define configMAX_PRIORITIES            ( 8 )
#define configMINIMAL_STACK_SIZE        ( 256 )
#define configTOTAL_HEAP_SIZE           ( ( size_t ) ( 24 * 1024 ) )
#define configMAX_TASK_NAME_LEN         ( 16 )
#define configUSE_PREEMPTION            1
#define configUSE_TIME_SLICING          1
#define configUSE_IDLE_HOOK             1
#define configUSE_TICK_HOOK             0
#define configUSE_MUTEXES               1
#define configUSE_RECURSIVE_MUTEXES     0
#define configUSE_COUNTING_SEMAPHORES   0
#define configUSE_TASK_NOTIFICATIONS    1
#define configUSE_TRACE_FACILITY        0
#define configUSE_STATS_FORMATTING_FUNCTIONS 0
#define configUSE_16_BIT_TICKS          0
#define configIDLE_SHOULD_YIELD         1
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
#define configSUPPORT_STATIC_ALLOCATION 0
#define configSUPPORT_DYNAMIC_ALLOCATION 1
#define configUSE_MALLOC_FAILED_HOOK    1
#define INCLUDE_xTaskDelayUntil         1
#define INCLUDE_uxTaskGetStackHighWaterMark 1
#define configCHECK_FOR_STACK_OVERFLOW  2
#define configQUEUE_REGISTRY_SIZE       0
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 0
#define configUSE_TIMERS                0
#define configUSE_EVENT_GROUPS          0
#define configUSE_STREAM_BUFFERS        0
#define configGENERATE_RUN_TIME_STATS   0
#define configUSE_NEWLIB_REENTRANT      0
#define configUSE_POSIX_ERRNO           0

#define configMTIME_BASE_ADDRESS        ( 0x2000BFF8UL )
#define configMTIMECMP_BASE_ADDRESS     ( 0x20004000UL )
#define configISR_STACK_SIZE_WORDS      ( 256 )
#define configTASK_RETURN_ADDRESS       0

void vAssertCalled( const char * file, unsigned long line );
#define configASSERT( x ) do { if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ ); } while( 0 )

#endif
