• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /*************************************************************/
17 #ifndef _SYSTEM_CONFIG_H
18 #define _SYSTEM_CONFIG_H
19 
20 #ifdef __cplusplus
21 #if __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24 #endif /* __cplusplus */
25 
26 /** system source configuration **/
27 /**
28  * @ingroup los_config
29  * Maximum supported number of tasks except the idle task rather than the number of usable tasks
30  */
31 #define LOSCFG_BASE_CORE_TSK_CONFIG                 64
32 /**
33  * @ingroup los_config
34  * Maximum supported number of semaphores
35  */
36 #define LOSCFG_BASE_IPC_SEM_CONFIG                  1024
37 /**
38  * @ingroup los_config
39  * Maximum supported number of mutexes
40  */
41 #define LOSCFG_BASE_IPC_MUX_CONFIG                 1024
42 /**
43  * @ingroup los_config
44  * Maximum supported number of queues rather than the number of usable queues
45  */
46 #define LOSCFG_BASE_IPC_QUEUE_CONFIG               1024
47 /**
48  * @ingroup los_config
49  * Maximum supported number of software timers rather than the number of usable software timers
50  */
51 #define LOSCFG_BASE_CORE_SWTMR_CONFIG               1024
52 
53 #ifdef __cplusplus
54 #if __cplusplus
55 }
56 #endif /* __cplusplus */
57 #endif /* __cplusplus */
58 
59 
60 #endif /* _SYSTEM_CONFIG_H */
61 /*************************************************************/
62