TI-OpenThread  1.08.06.06
LP_EM_CC1314R10/thread/empty_ftd/task_config.h
Go to the documentation of this file.
1 /******************************************************************************
2 
3  @file task_config.h
4 
5  @brief Definitions of the RTOS task priorities and stack sizes
6 
7  Group: CMCU, LPC
8  Target Device: cc13xx_cc26xx
9 
10  ******************************************************************************
11 
12  Copyright (c) 2017-2022, 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 
64 #ifndef TASK_CONFIG_OT_TASK_STACK_SIZE
65 #define TASK_CONFIG_OT_TASK_STACK_SIZE 4096
66 #endif
67 
71 #ifndef TASK_CONFIG_EMPTY_TASK_PRIORITY
72 #define TASK_CONFIG_EMPTY_TASK_PRIORITY 2
73 #endif
74 
78 #ifndef TASK_CONFIG_EMPTY_TASK_STACK_SIZE
79 #define TASK_CONFIG_EMPTY_TASK_STACK_SIZE 1096
80 #endif
81 
85 extern void OtStack_taskCreate(void);
86 
90 extern void empty_taskCreate(void);
91 
92 #endif /* TASK_CONFIG_H_ */
93 
void empty_taskCreate(void)
Definition: CC1352P_2_LAUNCHXL/thread/empty_ftd/empty.c:447
void OtStack_taskCreate(void)
Definition: CC1352P_2_LAUNCHXL/thread/cli_ftd/otstack.c:293
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale