1 /* 2 * Renesas SCP/MCP Software 3 * Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights 4 * reserved. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 #ifndef FREERTOS_CONFIG_H 10 #define FREERTOS_CONFIG_H 11 12 #define configUSE_IDLE_HOOK 1 13 #define configUSE_TICK_HOOK 0 14 #define configMINIMAL_STACK_SIZE ((unsigned short)200) 15 #define configTOTAL_HEAP_SIZE ((size_t)(20 * 1024)) 16 17 /* Software timer definitions. */ 18 #define configUSE_TIMERS 1 19 #define configTIMER_TASK_PRIORITY (configMAX_PRIORITIES - 1) 20 #define configTIMER_QUEUE_LENGTH 5 21 #define configTIMER_TASK_STACK_DEPTH (configMINIMAL_STACK_SIZE * 2) 22 23 /* Set the following definitions to 1 to include the API function, or zero 24 to exclude the API function. */ 25 #define INCLUDE_vTaskDelay 1 26 27 #define INCLUDE_xSemaphoreGetMutexHolder 1 28 29 void vConfigureTickInterrupt(void); 30 #define configSETUP_TICK_INTERRUPT() vConfigureTickInterrupt() 31 void vClearTickInterrupt(void); 32 #define configCLEAR_TICK_INTERRUPT() vClearTickInterrupt() 33 34 /* Defines needed by FreeRTOS to implement CMSIS RTOS2 API. Do not change! */ 35 #define configTICK_RATE_HZ ((TickType_t)1000 /* 1ms */) 36 #define configSUPPORT_STATIC_ALLOCATION 1 37 #define configSUPPORT_DYNAMIC_ALLOCATION 1 38 #define configUSE_PREEMPTION 0 39 #define configUSE_TIMERS 1 40 #define configUSE_MUTEXES 1 41 #define configUSE_RECURSIVE_MUTEXES 1 42 #define configUSE_COUNTING_SEMAPHORES 1 43 #define configUSE_TASK_NOTIFICATIONS 1 44 #define configUSE_TRACE_FACILITY 1 45 #define configUSE_16_BIT_TICKS 0 46 #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0 47 #define configMAX_PRIORITIES 56 48 #define configUSE_TASK_NOTIFICATIONS 1 49 #define configUSE_OS2_THREAD_FLAGS 1 50 #endif /* FREERTOS_CONFIG_H */ 51