Select one of the symbols to view example projects that use it.
 
Outline
#define _FREERTOS_POSIX_PORTABLE_DEFAULT_H_
#define posixconfigPTHREAD_TASK_NAME
#define posixconfigTIMER_NAME
#define posixconfigMQ_MAX_MESSAGES
#define posixconfigMQ_MAX_SIZE
#define PTHREAD_STACK_MIN
#define NAME_MAX
#define SEM_VALUE_MAX
#define posixconfigENABLE_CLOCK_T
#define posixconfigENABLE_CLOCKID_T
#define posixconfigENABLE_MODE_T
#define posixconfigENABLE_PID_T
#define posixconfigENABLE_PTHREAD_ATTR_T
#define posixconfigENABLE_PTHREAD_COND_T
#define posixconfigENABLE_PTHREAD_CONDATTR_T
#define posixconfigENABLE_PTHREAD_MUTEX_T
#define posixconfigENABLE_PTHREAD_MUTEXATTR_T
#define posixconfigENABLE_PTHREAD_T
#define posixconfigENABLE_SSIZE_T
#define posixconfigENABLE_TIME_T
#define posixconfigENABLE_TIMER_T
#define posixconfigENABLE_USECONDS_T
#define posixconfigENABLE_TIMESPEC
#define posixconfigENABLE_ITIMERSPEC
#define posixconfigENABLE_TM
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/rt/private_include/portable/FreeRTOS_POSIX_portable_default.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * Amazon FreeRTOS+POSIX V1.0.0 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-FileCopyrightText: 2018 Amazon.com, Inc. or its affiliates * * SPDX-License-Identifier: MIT * * SPDX-FileContributor: 2024 Espressif Systems (Shanghai) CO LTD * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of * the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * http://aws.amazon.com/freertos * http://www.FreeRTOS.org *//* ... */ /** * @file FreeRTOS_POSIX_portable_default.h * @brief Defaults for port-specific configuration of FreeRTOS+POSIX. *//* ... */ #ifndef _FREERTOS_POSIX_PORTABLE_DEFAULT_H_ #define _FREERTOS_POSIX_PORTABLE_DEFAULT_H_ /** * @brief The FreeRTOS task name given to pthreads. *//* ... */ #ifndef posixconfigPTHREAD_TASK_NAME #define posixconfigPTHREAD_TASK_NAME "pthread" #endif /** * @brief the FreeRTOS timer name given to POSIX timers. *//* ... */ #ifndef posixconfigTIMER_NAME #define posixconfigTIMER_NAME "timer" #endif /** * @defgroup Defaults for POSIX message queue implementation. *//* ... */ /**@{ */ #ifndef posixconfigMQ_MAX_MESSAGES #define posixconfigMQ_MAX_MESSAGES 10 /**< Maximum number of messages in an mq at one time. */ #endif #ifndef posixconfigMQ_MAX_SIZE #define posixconfigMQ_MAX_SIZE 128 /**< Maximum size (in bytes) of each message. */ #endif /**@} */ /** * @defgroup POSIX implementation-dependent constants usually defined in limits.h. * * They are defined here to provide portability between platforms. *//* ... */ /**@{ */ #ifndef PTHREAD_STACK_MIN #define PTHREAD_STACK_MIN configMINIMAL_STACK_SIZE * sizeof( StackType_t ) /**< Minimum size in bytes of thread stack storage. */ #endif #ifndef NAME_MAX #define NAME_MAX 64 /**< Maximum number of bytes in a filename (not including terminating null). */ #endif #ifndef SEM_VALUE_MAX #define SEM_VALUE_MAX 0xFFFFU /**< Maximum value of a sem_t. */ #endif /**@} */ /** * @defgroup Enable typedefs of POSIX types. * * Set these values to 1 or 0 to enable or disable the typedefs, respectively. * These typedefs should only be disabled if they conflict with system typedefs. *//* ... */ /**@{ */ #ifndef posixconfigENABLE_CLOCK_T #define posixconfigENABLE_CLOCK_T 1 /**< clock_t in sys/types.h */ #endif #ifndef posixconfigENABLE_CLOCKID_T #define posixconfigENABLE_CLOCKID_T 1 /**< clockid_t in sys/types.h */ #endif #ifndef posixconfigENABLE_MODE_T #define posixconfigENABLE_MODE_T 1 /**< mode_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PID_T #define posixconfigENABLE_PID_T 1 /**< pid_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_ATTR_T #define posixconfigENABLE_PTHREAD_ATTR_T 1 /**< pthread_attr_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_COND_T #define posixconfigENABLE_PTHREAD_COND_T 1 /**< pthread_cond_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_CONDATTR_T #define posixconfigENABLE_PTHREAD_CONDATTR_T 1 /**< pthread_condattr_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_MUTEX_T #define posixconfigENABLE_PTHREAD_MUTEX_T 1 /**< pthread_mutex_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_MUTEXATTR_T #define posixconfigENABLE_PTHREAD_MUTEXATTR_T 1 /**< pthread_mutexattr_t in sys/types.h */ #endif #ifndef posixconfigENABLE_PTHREAD_T #define posixconfigENABLE_PTHREAD_T 1 /**< pthread_t in sys/types.h */ #endif #ifndef posixconfigENABLE_SSIZE_T #define posixconfigENABLE_SSIZE_T 1 /**< ssize_t in sys/types.h */ #endif #ifndef posixconfigENABLE_TIME_T #define posixconfigENABLE_TIME_T 1 /**< time_t in sys/types.h */ #endif #ifndef posixconfigENABLE_TIMER_T #define posixconfigENABLE_TIMER_T 1 /**< timer_t in sys/types.h */ #endif #ifndef posixconfigENABLE_USECONDS_T #define posixconfigENABLE_USECONDS_T 1 /**< useconds_t in sys/types.h */ #endif #ifndef posixconfigENABLE_TIMESPEC #define posixconfigENABLE_TIMESPEC 1 /**< struct timespec in time.h */ #endif #ifndef posixconfigENABLE_ITIMERSPEC #define posixconfigENABLE_ITIMERSPEC 1 /**< struct itimerspec in time.h */ #endif #ifndef posixconfigENABLE_TM #define posixconfigENABLE_TM 1 /**< struct tm in time.h */ #endif /**@} */ /* ... */ #endif /* ifndef _FREERTOS_POSIX_PORTABLE_DEFAULT_H_ */
Details