]> begriffs open source - freertos/blob - include/deprecated_definitions.h
Add SPDX-License-Identifier: MIT to MIT licensed files.
[freertos] / include / deprecated_definitions.h
1 /*\r
2  * FreeRTOS Kernel <DEVELOPMENT BRANCH>\r
3  * Copyright (C) 2021 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
4  *\r
5  * SPDX-License-Identifier: MIT
6  *
7  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
8  * this software and associated documentation files (the "Software"), to deal in\r
9  * the Software without restriction, including without limitation the rights to\r
10  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
11  * the Software, and to permit persons to whom the Software is furnished to do so,\r
12  * subject to the following conditions:\r
13  *\r
14  * The above copyright notice and this permission notice shall be included in all\r
15  * copies or substantial portions of the Software.\r
16  *\r
17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
18  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
19  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
20  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
21  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
22  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
23  *\r
24  * https://www.FreeRTOS.org\r
25  * https://github.com/FreeRTOS\r
26  *\r
27  */\r
28 \r
29 #ifndef DEPRECATED_DEFINITIONS_H\r
30 #define DEPRECATED_DEFINITIONS_H\r
31 \r
32 \r
33 /* Each FreeRTOS port has a unique portmacro.h header file.  Originally a\r
34  * pre-processor definition was used to ensure the pre-processor found the correct\r
35  * portmacro.h file for the port being used.  That scheme was deprecated in favour\r
36  * of setting the compiler's include path such that it found the correct\r
37  * portmacro.h file - removing the need for the constant and allowing the\r
38  * portmacro.h file to be located anywhere in relation to the port being used.  The\r
39  * definitions below remain in the code for backward compatibility only.  New\r
40  * projects should not use them. */\r
41 \r
42 #ifdef OPEN_WATCOM_INDUSTRIAL_PC_PORT\r
43     #include "..\..\Source\portable\owatcom\16bitdos\pc\portmacro.h"\r
44     typedef void ( __interrupt __far * pxISR )();\r
45 #endif\r
46 \r
47 #ifdef OPEN_WATCOM_FLASH_LITE_186_PORT\r
48     #include "..\..\Source\portable\owatcom\16bitdos\flsh186\portmacro.h"\r
49     typedef void ( __interrupt __far * pxISR )();\r
50 #endif\r
51 \r
52 #ifdef GCC_MEGA_AVR\r
53     #include "../portable/GCC/ATMega323/portmacro.h"\r
54 #endif\r
55 \r
56 #ifdef IAR_MEGA_AVR\r
57     #include "../portable/IAR/ATMega323/portmacro.h"\r
58 #endif\r
59 \r
60 #ifdef MPLAB_PIC24_PORT\r
61     #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"\r
62 #endif\r
63 \r
64 #ifdef MPLAB_DSPIC_PORT\r
65     #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"\r
66 #endif\r
67 \r
68 #ifdef MPLAB_PIC18F_PORT\r
69     #include "../../Source/portable/MPLAB/PIC18F/portmacro.h"\r
70 #endif\r
71 \r
72 #ifdef MPLAB_PIC32MX_PORT\r
73     #include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"\r
74 #endif\r
75 \r
76 #ifdef _FEDPICC\r
77     #include "libFreeRTOS/Include/portmacro.h"\r
78 #endif\r
79 \r
80 #ifdef SDCC_CYGNAL\r
81     #include "../../Source/portable/SDCC/Cygnal/portmacro.h"\r
82 #endif\r
83 \r
84 #ifdef GCC_ARM7\r
85     #include "../../Source/portable/GCC/ARM7_LPC2000/portmacro.h"\r
86 #endif\r
87 \r
88 #ifdef GCC_ARM7_ECLIPSE\r
89     #include "portmacro.h"\r
90 #endif\r
91 \r
92 #ifdef ROWLEY_LPC23xx\r
93     #include "../../Source/portable/GCC/ARM7_LPC23xx/portmacro.h"\r
94 #endif\r
95 \r
96 #ifdef IAR_MSP430\r
97     #include "..\..\Source\portable\IAR\MSP430\portmacro.h"\r
98 #endif\r
99 \r
100 #ifdef GCC_MSP430\r
101     #include "../../Source/portable/GCC/MSP430F449/portmacro.h"\r
102 #endif\r
103 \r
104 #ifdef ROWLEY_MSP430\r
105     #include "../../Source/portable/Rowley/MSP430F449/portmacro.h"\r
106 #endif\r
107 \r
108 #ifdef ARM7_LPC21xx_KEIL_RVDS\r
109     #include "..\..\Source\portable\RVDS\ARM7_LPC21xx\portmacro.h"\r
110 #endif\r
111 \r
112 #ifdef SAM7_GCC\r
113     #include "../../Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h"\r
114 #endif\r
115 \r
116 #ifdef SAM7_IAR\r
117     #include "..\..\Source\portable\IAR\AtmelSAM7S64\portmacro.h"\r
118 #endif\r
119 \r
120 #ifdef SAM9XE_IAR\r
121     #include "..\..\Source\portable\IAR\AtmelSAM9XE\portmacro.h"\r
122 #endif\r
123 \r
124 #ifdef LPC2000_IAR\r
125     #include "..\..\Source\portable\IAR\LPC2000\portmacro.h"\r
126 #endif\r
127 \r
128 #ifdef STR71X_IAR\r
129     #include "..\..\Source\portable\IAR\STR71x\portmacro.h"\r
130 #endif\r
131 \r
132 #ifdef STR75X_IAR\r
133     #include "..\..\Source\portable\IAR\STR75x\portmacro.h"\r
134 #endif\r
135 \r
136 #ifdef STR75X_GCC\r
137     #include "..\..\Source\portable\GCC\STR75x\portmacro.h"\r
138 #endif\r
139 \r
140 #ifdef STR91X_IAR\r
141     #include "..\..\Source\portable\IAR\STR91x\portmacro.h"\r
142 #endif\r
143 \r
144 #ifdef GCC_H8S\r
145     #include "../../Source/portable/GCC/H8S2329/portmacro.h"\r
146 #endif\r
147 \r
148 #ifdef GCC_AT91FR40008\r
149     #include "../../Source/portable/GCC/ARM7_AT91FR40008/portmacro.h"\r
150 #endif\r
151 \r
152 #ifdef RVDS_ARMCM3_LM3S102\r
153     #include "../../Source/portable/RVDS/ARM_CM3/portmacro.h"\r
154 #endif\r
155 \r
156 #ifdef GCC_ARMCM3_LM3S102\r
157     #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"\r
158 #endif\r
159 \r
160 #ifdef GCC_ARMCM3\r
161     #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"\r
162 #endif\r
163 \r
164 #ifdef IAR_ARM_CM3\r
165     #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
166 #endif\r
167 \r
168 #ifdef IAR_ARMCM3_LM\r
169     #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
170 #endif\r
171 \r
172 #ifdef HCS12_CODE_WARRIOR\r
173     #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"\r
174 #endif\r
175 \r
176 #ifdef MICROBLAZE_GCC\r
177     #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"\r
178 #endif\r
179 \r
180 #ifdef TERN_EE\r
181     #include "..\..\Source\portable\Paradigm\Tern_EE\small\portmacro.h"\r
182 #endif\r
183 \r
184 #ifdef GCC_HCS12\r
185     #include "../../Source/portable/GCC/HCS12/portmacro.h"\r
186 #endif\r
187 \r
188 #ifdef GCC_MCF5235\r
189     #include "../../Source/portable/GCC/MCF5235/portmacro.h"\r
190 #endif\r
191 \r
192 #ifdef COLDFIRE_V2_GCC\r
193     #include "../../../Source/portable/GCC/ColdFire_V2/portmacro.h"\r
194 #endif\r
195 \r
196 #ifdef COLDFIRE_V2_CODEWARRIOR\r
197     #include "../../Source/portable/CodeWarrior/ColdFire_V2/portmacro.h"\r
198 #endif\r
199 \r
200 #ifdef GCC_PPC405\r
201     #include "../../Source/portable/GCC/PPC405_Xilinx/portmacro.h"\r
202 #endif\r
203 \r
204 #ifdef GCC_PPC440\r
205     #include "../../Source/portable/GCC/PPC440_Xilinx/portmacro.h"\r
206 #endif\r
207 \r
208 #ifdef _16FX_SOFTUNE\r
209     #include "..\..\Source\portable\Softune\MB96340\portmacro.h"\r
210 #endif\r
211 \r
212 #ifdef BCC_INDUSTRIAL_PC_PORT\r
213 \r
214 /* A short file name has to be used in place of the normal\r
215  * FreeRTOSConfig.h when using the Borland compiler. */\r
216     #include "frconfig.h"\r
217     #include "..\portable\BCC\16BitDOS\PC\prtmacro.h"\r
218     typedef void ( __interrupt __far * pxISR )();\r
219 #endif\r
220 \r
221 #ifdef BCC_FLASH_LITE_186_PORT\r
222 \r
223 /* A short file name has to be used in place of the normal\r
224  * FreeRTOSConfig.h when using the Borland compiler. */\r
225     #include "frconfig.h"\r
226     #include "..\portable\BCC\16BitDOS\flsh186\prtmacro.h"\r
227     typedef void ( __interrupt __far * pxISR )();\r
228 #endif\r
229 \r
230 #ifdef __GNUC__\r
231     #ifdef __AVR32_AVR32A__\r
232         #include "portmacro.h"\r
233     #endif\r
234 #endif\r
235 \r
236 #ifdef __ICCAVR32__\r
237     #ifdef __CORE__\r
238         #if __CORE__ == __AVR32A__\r
239             #include "portmacro.h"\r
240         #endif\r
241     #endif\r
242 #endif\r
243 \r
244 #ifdef __91467D\r
245     #include "portmacro.h"\r
246 #endif\r
247 \r
248 #ifdef __96340\r
249     #include "portmacro.h"\r
250 #endif\r
251 \r
252 \r
253 #ifdef __IAR_V850ES_Fx3__\r
254     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
255 #endif\r
256 \r
257 #ifdef __IAR_V850ES_Jx3__\r
258     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
259 #endif\r
260 \r
261 #ifdef __IAR_V850ES_Jx3_L__\r
262     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
263 #endif\r
264 \r
265 #ifdef __IAR_V850ES_Jx2__\r
266     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
267 #endif\r
268 \r
269 #ifdef __IAR_V850ES_Hx2__\r
270     #include "../../Source/portable/IAR/V850ES/portmacro.h"\r
271 #endif\r
272 \r
273 #ifdef __IAR_78K0R_Kx3__\r
274     #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
275 #endif\r
276 \r
277 #ifdef __IAR_78K0R_Kx3L__\r
278     #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
279 #endif\r
280 \r
281 #endif /* DEPRECATED_DEFINITIONS_H */\r