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