1 /*************************************************************************** 2 * Copyright (c) 2024 Microsoft Corporation 3 * 4 * This program and the accompanying materials are made available under the 5 * terms of the MIT License which is available at 6 * https://opensource.org/licenses/MIT. 7 * 8 * SPDX-License-Identifier: MIT 9 **************************************************************************/ 10 11 /**************************************************************************/ 12 /**************************************************************************/ 13 /** */ 14 /** ThreadX Component */ 15 /** */ 16 /** FreeRTOS compatibility Kit */ 17 /** */ 18 /**************************************************************************/ 19 /**************************************************************************/ 20 /* RELEASE HISTORY */ 21 /* */ 22 /* DATE NAME DESCRIPTION */ 23 /* */ 24 /* 09-30-2020 William E. Lamie Initial Version 6.1 */ 25 /* 10-31-2022 Scott Larson Change configSTACK_DEPTH_TYPE */ 26 /* to 32 bit instead of 16 bit, */ 27 /* resulting in version 6.2.0 */ 28 /* */ 29 /**************************************************************************/ 30 31 #ifndef FREERTOS_CONFIG_H 32 #define FREERTOS_CONFIG_H 33 34 /* #define configENABLE_FPU 0 */ 35 /* #define configENABLE_MPU 0 */ 36 37 /* #define configUSE_PREEMPTION 1 */ 38 /* #define configSUPPORT_STATIC_ALLOCATION 1 */ 39 /* #define configSUPPORT_DYNAMIC_ALLOCATION 1 */ 40 /* #define configUSE_IDLE_HOOK 0 */ 41 /* #define configUSE_TICK_HOOK 0 */ 42 /* #define configCPU_CLOCK_HZ (SystemCoreClock) */ 43 #define configTICK_RATE_HZ (1000u) 44 #define configMAX_PRIORITIES (32u) 45 #define configMINIMAL_STACK_SIZE (512u) 46 #define configTOTAL_HEAP_SIZE (1024u * 128u) 47 /* #define configMAX_TASK_NAME_LEN (16) */ 48 /* #define configUSE_TRACE_FACILITY 0 */ 49 #define configUSE_16_BIT_TICKS 0 50 /* #define configUSE_MUTEXES 1 */ 51 /* #define configQUEUE_REGISTRY_SIZE 0 */ 52 /* #define configUSE_RECURSIVE_MUTEXES 1 */ 53 /* #define configUSE_COUNTING_SEMAPHORES 1 */ 54 /* #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0 */ 55 56 /* #define configMESSAGE_BUFFER_LENGTH_TYPE size_t */ 57 #define configSTACK_DEPTH_TYPE uint32_t 58 59 /* #define configUSE_CO_ROUTINES 0 */ 60 /* #define configMAX_CO_ROUTINE_PRIORITIES (2) */ 61 62 /* Software timer definitions. */ 63 /* #define configUSE_TIMERS 1 */ 64 /* #define configTIMER_TASK_PRIORITY (2) */ 65 /* #define configTIMER_QUEUE_LENGTH 10 */ 66 /* #define configTIMER_TASK_STACK_DEPTH 256 */ 67 68 /* Set the following definitions to 1 to include the API function, or zero 69 to exclude the API function. */ 70 /* #define INCLUDE_vTaskPrioritySet 1 */ 71 /* #define INCLUDE_uxTaskPriorityGet 1 */ 72 #define INCLUDE_vTaskDelete 1 /* Set to 0 to disable task deletion and the idle task. */ 73 /* #define INCLUDE_vTaskCleanUpResources 0 */ 74 /* #define INCLUDE_vTaskSuspend 1 */ 75 /* #define INCLUDE_vTaskDelayUntil 1 */ 76 /* #define INCLUDE_vTaskDelay 1 */ 77 /* #define INCLUDE_xTaskGetSchedulerState 1 */ 78 /* #define INCLUDE_xTimerPendFunctionCall 1 */ 79 /* #define INCLUDE_xQueueGetMutexHolder 1 */ 80 /* #define INCLUDE_uxTaskGetStackHighWaterMark 0 */ 81 /* #define INCLUDE_eTaskGetState 1 */ 82 83 /* Define to a macro invoked to check for invalid arguments. */ 84 #define configASSERT(x) 85 /* #define configASSERT(x) if ((x) == 0) {taskDISABLE_INTERRUPTS(); for(;;) {};} */ 86 87 /* Define to a macro invoked on internal assertion failures from within the adaptation layer. */ 88 #define TX_FREERTOS_ASSERT_FAIL() 89 /* #define TX_FREERTOS_ASSERT_FAIL() {taskDISABLE_INTERRUPTS(); for(;;) {};} */ 90 91 /* Set to 1 to support auto initialization, see documentation for details. */ 92 #define TX_FREERTOS_AUTO_INIT 0 93 94 #endif /* #ifndef FREERTOS_CONFIG_H */ 95