1 /*! 2 * Copyright (c) 2015, Freescale Semiconductor, Inc. 3 * Copyright 2016-2018 NXP 4 * 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 #ifndef _FSL_OS_ABSTRACTION_CONFIG_H_ 10 #define _FSL_OS_ABSTRACTION_CONFIG_H_ 11 12 #ifndef gMainThreadStackSize_c 13 #define gMainThreadStackSize_c 1024 14 #endif 15 16 #ifndef gMainThreadPriority_c 17 #define gMainThreadPriority_c 7 18 #endif 19 20 #ifndef gTaskMultipleInstancesManagement_c 21 #define gTaskMultipleInstancesManagement_c 0 22 #endif 23 24 /*! @brief Definition to determine whether enable OSA's TASK module. */ 25 #ifndef OSA_USED 26 #ifndef FSL_OSA_TASK_ENABLE 27 #define FSL_OSA_TASK_ENABLE 0U 28 #endif 29 #else 30 #if defined(FSL_OSA_TASK_ENABLE) 31 #undef FSL_OSA_TASK_ENABLE 32 #endif 33 #define FSL_OSA_TASK_ENABLE 1U 34 #endif /* OSA_USED */ 35 36 #ifndef FSL_OSA_MAIN_FUNC_ENABLE 37 #define FSL_OSA_MAIN_FUNC_ENABLE 0U 38 #endif 39 40 #ifndef FSL_OSA_BM_TIMEOUT_ENABLE 41 #define FSL_OSA_BM_TIMEOUT_ENABLE 0U 42 #endif 43 44 #endif /* _FSL_OS_ABSTRACTION_CONFIG_H_ */ 45