]> begriffs open source - cmsis-freertos/blob - Source/include/deprecated_definitions.h
osThreadTerminate: thread state check added before delete operation
[cmsis-freertos] / Source / include / deprecated_definitions.h
1 /*
2     FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
3     All rights reserved
4
5     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
6
7     This file is part of the FreeRTOS distribution.
8
9     FreeRTOS is free software; you can redistribute it and/or modify it under
10     the terms of the GNU General Public License (version 2) as published by the
11     Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
12
13     ***************************************************************************
14     >>!   NOTE: The modification to the GPL is included to allow you to     !<<
15     >>!   distribute a combined work that includes FreeRTOS without being   !<<
16     >>!   obliged to provide the source code for proprietary components     !<<
17     >>!   outside of the FreeRTOS kernel.                                   !<<
18     ***************************************************************************
19
20     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
21     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22     FOR A PARTICULAR PURPOSE.  Full license text is available on the following
23     link: http://www.freertos.org/a00114.html
24
25     ***************************************************************************
26      *                                                                       *
27      *    FreeRTOS provides completely free yet professionally developed,    *
28      *    robust, strictly quality controlled, supported, and cross          *
29      *    platform software that is more than just the market leader, it     *
30      *    is the industry's de facto standard.                               *
31      *                                                                       *
32      *    Help yourself get started quickly while simultaneously helping     *
33      *    to support the FreeRTOS project by purchasing a FreeRTOS           *
34      *    tutorial book, reference manual, or both:                          *
35      *    http://www.FreeRTOS.org/Documentation                              *
36      *                                                                       *
37     ***************************************************************************
38
39     http://www.FreeRTOS.org/FAQHelp.html - Having a problem?  Start by reading
40     the FAQ page "My application does not run, what could be wrong?".  Have you
41     defined configASSERT()?
42
43     http://www.FreeRTOS.org/support - In return for receiving this top quality
44     embedded software for free we request you assist our global community by
45     participating in the support forum.
46
47     http://www.FreeRTOS.org/training - Investing in training allows your team to
48     be as productive as possible as early as possible.  Now you can receive
49     FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
50     Ltd, and the world's leading authority on the world's leading RTOS.
51
52     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
53     including FreeRTOS+Trace - an indispensable productivity tool, a DOS
54     compatible FAT file system, and our tiny thread aware UDP/IP stack.
55
56     http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
57     Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
58
59     http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
60     Integrity Systems ltd. to sell under the OpenRTOS brand.  Low cost OpenRTOS
61     licenses offer ticketed support, indemnification and commercial middleware.
62
63     http://www.SafeRTOS.com - High Integrity Systems also provide a safety
64     engineered and independently SIL3 certified version for use in safety and
65     mission critical applications that require provable dependability.
66
67     1 tab == 4 spaces!
68 */
69
70 #ifndef DEPRECATED_DEFINITIONS_H
71 #define DEPRECATED_DEFINITIONS_H
72
73
74 /* Each FreeRTOS port has a unique portmacro.h header file.  Originally a
75 pre-processor definition was used to ensure the pre-processor found the correct
76 portmacro.h file for the port being used.  That scheme was deprecated in favour
77 of setting the compiler's include path such that it found the correct
78 portmacro.h file - removing the need for the constant and allowing the
79 portmacro.h file to be located anywhere in relation to the port being used.  The
80 definitions below remain in the code for backward compatibility only.  New
81 projects should not use them. */
82
83 #ifdef OPEN_WATCOM_INDUSTRIAL_PC_PORT
84         #include "..\..\Source\portable\owatcom\16bitdos\pc\portmacro.h"
85         typedef void ( __interrupt __far *pxISR )();
86 #endif
87
88 #ifdef OPEN_WATCOM_FLASH_LITE_186_PORT
89         #include "..\..\Source\portable\owatcom\16bitdos\flsh186\portmacro.h"
90         typedef void ( __interrupt __far *pxISR )();
91 #endif
92
93 #ifdef GCC_MEGA_AVR
94         #include "../portable/GCC/ATMega323/portmacro.h"
95 #endif
96
97 #ifdef IAR_MEGA_AVR
98         #include "../portable/IAR/ATMega323/portmacro.h"
99 #endif
100
101 #ifdef MPLAB_PIC24_PORT
102         #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
103 #endif
104
105 #ifdef MPLAB_DSPIC_PORT
106         #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
107 #endif
108
109 #ifdef MPLAB_PIC18F_PORT
110         #include "../../Source/portable/MPLAB/PIC18F/portmacro.h"
111 #endif
112
113 #ifdef MPLAB_PIC32MX_PORT
114         #include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"
115 #endif
116
117 #ifdef _FEDPICC
118         #include "libFreeRTOS/Include/portmacro.h"
119 #endif
120
121 #ifdef SDCC_CYGNAL
122         #include "../../Source/portable/SDCC/Cygnal/portmacro.h"
123 #endif
124
125 #ifdef GCC_ARM7
126         #include "../../Source/portable/GCC/ARM7_LPC2000/portmacro.h"
127 #endif
128
129 #ifdef GCC_ARM7_ECLIPSE
130         #include "portmacro.h"
131 #endif
132
133 #ifdef ROWLEY_LPC23xx
134         #include "../../Source/portable/GCC/ARM7_LPC23xx/portmacro.h"
135 #endif
136
137 #ifdef IAR_MSP430
138         #include "..\..\Source\portable\IAR\MSP430\portmacro.h"
139 #endif
140
141 #ifdef GCC_MSP430
142         #include "../../Source/portable/GCC/MSP430F449/portmacro.h"
143 #endif
144
145 #ifdef ROWLEY_MSP430
146         #include "../../Source/portable/Rowley/MSP430F449/portmacro.h"
147 #endif
148
149 #ifdef ARM7_LPC21xx_KEIL_RVDS
150         #include "..\..\Source\portable\RVDS\ARM7_LPC21xx\portmacro.h"
151 #endif
152
153 #ifdef SAM7_GCC
154         #include "../../Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h"
155 #endif
156
157 #ifdef SAM7_IAR
158         #include "..\..\Source\portable\IAR\AtmelSAM7S64\portmacro.h"
159 #endif
160
161 #ifdef SAM9XE_IAR
162         #include "..\..\Source\portable\IAR\AtmelSAM9XE\portmacro.h"
163 #endif
164
165 #ifdef LPC2000_IAR
166         #include "..\..\Source\portable\IAR\LPC2000\portmacro.h"
167 #endif
168
169 #ifdef STR71X_IAR
170         #include "..\..\Source\portable\IAR\STR71x\portmacro.h"
171 #endif
172
173 #ifdef STR75X_IAR
174         #include "..\..\Source\portable\IAR\STR75x\portmacro.h"
175 #endif
176
177 #ifdef STR75X_GCC
178         #include "..\..\Source\portable\GCC\STR75x\portmacro.h"
179 #endif
180
181 #ifdef STR91X_IAR
182         #include "..\..\Source\portable\IAR\STR91x\portmacro.h"
183 #endif
184
185 #ifdef GCC_H8S
186         #include "../../Source/portable/GCC/H8S2329/portmacro.h"
187 #endif
188
189 #ifdef GCC_AT91FR40008
190         #include "../../Source/portable/GCC/ARM7_AT91FR40008/portmacro.h"
191 #endif
192
193 #ifdef RVDS_ARMCM3_LM3S102
194         #include "../../Source/portable/RVDS/ARM_CM3/portmacro.h"
195 #endif
196
197 #ifdef GCC_ARMCM3_LM3S102
198         #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
199 #endif
200
201 #ifdef GCC_ARMCM3
202         #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
203 #endif
204
205 #ifdef IAR_ARM_CM3
206         #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
207 #endif
208
209 #ifdef IAR_ARMCM3_LM
210         #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
211 #endif
212
213 #ifdef HCS12_CODE_WARRIOR
214         #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"
215 #endif
216
217 #ifdef MICROBLAZE_GCC
218         #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"
219 #endif
220
221 #ifdef TERN_EE
222         #include "..\..\Source\portable\Paradigm\Tern_EE\small\portmacro.h"
223 #endif
224
225 #ifdef GCC_HCS12
226         #include "../../Source/portable/GCC/HCS12/portmacro.h"
227 #endif
228
229 #ifdef GCC_MCF5235
230     #include "../../Source/portable/GCC/MCF5235/portmacro.h"
231 #endif
232
233 #ifdef COLDFIRE_V2_GCC
234         #include "../../../Source/portable/GCC/ColdFire_V2/portmacro.h"
235 #endif
236
237 #ifdef COLDFIRE_V2_CODEWARRIOR
238         #include "../../Source/portable/CodeWarrior/ColdFire_V2/portmacro.h"
239 #endif
240
241 #ifdef GCC_PPC405
242         #include "../../Source/portable/GCC/PPC405_Xilinx/portmacro.h"
243 #endif
244
245 #ifdef GCC_PPC440
246         #include "../../Source/portable/GCC/PPC440_Xilinx/portmacro.h"
247 #endif
248
249 #ifdef _16FX_SOFTUNE
250         #include "..\..\Source\portable\Softune\MB96340\portmacro.h"
251 #endif
252
253 #ifdef BCC_INDUSTRIAL_PC_PORT
254         /* A short file name has to be used in place of the normal
255         FreeRTOSConfig.h when using the Borland compiler. */
256         #include "frconfig.h"
257         #include "..\portable\BCC\16BitDOS\PC\prtmacro.h"
258     typedef void ( __interrupt __far *pxISR )();
259 #endif
260
261 #ifdef BCC_FLASH_LITE_186_PORT
262         /* A short file name has to be used in place of the normal
263         FreeRTOSConfig.h when using the Borland compiler. */
264         #include "frconfig.h"
265         #include "..\portable\BCC\16BitDOS\flsh186\prtmacro.h"
266     typedef void ( __interrupt __far *pxISR )();
267 #endif
268
269 #ifdef __GNUC__
270    #ifdef __AVR32_AVR32A__
271            #include "portmacro.h"
272    #endif
273 #endif
274
275 #ifdef __ICCAVR32__
276    #ifdef __CORE__
277       #if __CORE__ == __AVR32A__
278               #include "portmacro.h"
279       #endif
280    #endif
281 #endif
282
283 #ifdef __91467D
284         #include "portmacro.h"
285 #endif
286
287 #ifdef __96340
288         #include "portmacro.h"
289 #endif
290
291
292 #ifdef __IAR_V850ES_Fx3__
293         #include "../../Source/portable/IAR/V850ES/portmacro.h"
294 #endif
295
296 #ifdef __IAR_V850ES_Jx3__
297         #include "../../Source/portable/IAR/V850ES/portmacro.h"
298 #endif
299
300 #ifdef __IAR_V850ES_Jx3_L__
301         #include "../../Source/portable/IAR/V850ES/portmacro.h"
302 #endif
303
304 #ifdef __IAR_V850ES_Jx2__
305         #include "../../Source/portable/IAR/V850ES/portmacro.h"
306 #endif
307
308 #ifdef __IAR_V850ES_Hx2__
309         #include "../../Source/portable/IAR/V850ES/portmacro.h"
310 #endif
311
312 #ifdef __IAR_78K0R_Kx3__
313         #include "../../Source/portable/IAR/78K0R/portmacro.h"
314 #endif
315
316 #ifdef __IAR_78K0R_Kx3L__
317         #include "../../Source/portable/IAR/78K0R/portmacro.h"
318 #endif
319
320 #endif /* DEPRECATED_DEFINITIONS_H */
321