TI-OpenThread  1.07.00.21
CC1352R1_LAUNCHXL/thread/ncp_ftd/task_config.h
Go to the documentation of this file.
1 /******************************************************************************
2 
3  @file task_config.h
4 
5  @brief Contains the definitions of the RTOS task priorities and stack sizes.
6 
7  Group: CMCU, LPC
8  Target Device: cc13x2_26x2
9 
10  ******************************************************************************
11 
12  Copyright (c) 2017-2020, Texas Instruments Incorporated
13  All rights reserved.
14 
15  Redistribution and use in source and binary forms, with or without
16  modification, are permitted provided that the following conditions
17  are met:
18 
19  * Redistributions of source code must retain the above copyright
20  notice, this list of conditions and the following disclaimer.
21 
22  * Redistributions in binary form must reproduce the above copyright
23  notice, this list of conditions and the following disclaimer in the
24  documentation and/or other materials provided with the distribution.
25 
26  * Neither the name of Texas Instruments Incorporated nor the names of
27  its contributors may be used to endorse or promote products derived
28  from this software without specific prior written permission.
29 
30  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
32  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
33  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
34  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
35  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
36  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
37  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
38  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
39  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
40  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 
42  ******************************************************************************
43 
44 
45  *****************************************************************************/
46 
47 #ifndef TASK_CONFIG_H_
48 #define TASK_CONFIG_H_
49 
53 #ifndef TASK_CONFIG_OT_TASK_PRIORITY
54 #define TASK_CONFIG_OT_TASK_PRIORITY 1
55 #endif
56 
60 #ifndef TASK_CONFIG_OT_TASK_STACK_SIZE
61 #define TASK_CONFIG_OT_TASK_STACK_SIZE 7168
62 #endif
63 
67 #ifndef TASK_CONFIG_NCP_TASK_PRIORITY
68 #define TASK_CONFIG_NCP_TASK_PRIORITY 2
69 #endif
70 
74 #ifndef TASK_CONFIG_NCP_TASK_STACK_SIZE
75 #define TASK_CONFIG_NCP_TASK_STACK_SIZE 2048
76 #endif
77 
81 extern void OtStack_taskCreate(void);
82 
86 extern void ncp_taskCreate(void);
87 
88 #endif /* TASK_CONFIG_H_ */
89 
void ncp_taskCreate(void)
Definition: CC1352P_2_LAUNCHXL/thread/ncp_ftd/ncp.c:83
void OtStack_taskCreate(void)
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:293
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale