osal-FreeRTOS  0.2.2
osal-FreeRTOS
osal_portmacro.h
Go to the documentation of this file.
1 /*
2  * C
3  *
4  * Copyright 2017 IS2T. All rights reserved
5  * This library is provided in source code for use, modification and test, subject to license terms
6  * Any modification of the source code will break IS2T warranties on the whole library
7  */
8 
9 #ifndef OSAL_PORTMACRO_H
10 #define OSAL_PORTMACRO_H
11 
19 #include <stdint.h>
20 
22 typedef int32_t OSAL_task_stack_t;
23 
24 /*
25  * @brief Declare a task stack.
26  *
27  * @param[in] _name name of the variable that defines the stack.
28  * @param[in] _size size of the stack in bytes. _size must be compile time constant value.
29  */
30 #define OSAL_task_stack_declare(_name, _size) OSAL_task_stack_t _name = _size
31 
32 
33 #endif // OSAL_PORTMACRO_H
int32_t OSAL_task_stack_t
OS task stack.