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