1 /*
2  * Copyright (c) 2021 Arm Limited. All rights reserved.
3  *
4  * This Software is licensed under an Arm proprietary license.
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * Project:     CMSIS-RTOS RTX
9  * Title:       RTX derived definitions
10  *
11  * -----------------------------------------------------------------------------
12  */
13 
14 #ifndef RTX_DEF_H_
15 #define RTX_DEF_H_
16 
17 #ifdef   _RTE_
18 #include "RTE_Components.h"
19 #endif
20 #include "RTX_Config.h"
21 
22 #if (defined(OS_OBJ_MEM_USAGE) && (OS_OBJ_MEM_USAGE != 0))
23   #define RTX_OBJ_MEM_USAGE
24 #endif
25 
26 #if (defined(OS_STACK_CHECK) && (OS_STACK_CHECK != 0))
27   #define RTX_STACK_CHECK
28 #endif
29 
30 #ifdef  RTE_CMSIS_RTOS2_RTX5_ARMV8M_NS
31   #define DOMAIN_NS             1
32 #endif
33 
34 #endif  // RTX_DEF_H_
35