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