deprecated_definitions.h 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /*
  2. * FreeRTOS Kernel V10.4.4
  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. #ifndef DEPRECATED_DEFINITIONS_H
  29. #define DEPRECATED_DEFINITIONS_H
  30. /* Each FreeRTOS port has a unique portmacro.h header file. Originally a
  31. * pre-processor definition was used to ensure the pre-processor found the correct
  32. * portmacro.h file for the port being used. That scheme was deprecated in favour
  33. * of setting the compiler's include path such that it found the correct
  34. * portmacro.h file - removing the need for the constant and allowing the
  35. * portmacro.h file to be located anywhere in relation to the port being used. The
  36. * definitions below remain in the code for backward compatibility only. New
  37. * projects should not use them. */
  38. #ifdef OPEN_WATCOM_INDUSTRIAL_PC_PORT
  39. #include "..\..\Source\portable\owatcom\16bitdos\pc\portmacro.h"
  40. typedef void ( __interrupt __far * pxISR )();
  41. #endif
  42. #ifdef OPEN_WATCOM_FLASH_LITE_186_PORT
  43. #include "..\..\Source\portable\owatcom\16bitdos\flsh186\portmacro.h"
  44. typedef void ( __interrupt __far * pxISR )();
  45. #endif
  46. #ifdef GCC_MEGA_AVR
  47. #include "../portable/GCC/ATMega323/portmacro.h"
  48. #endif
  49. #ifdef IAR_MEGA_AVR
  50. #include "../portable/IAR/ATMega323/portmacro.h"
  51. #endif
  52. #ifdef MPLAB_PIC24_PORT
  53. #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
  54. #endif
  55. #ifdef MPLAB_DSPIC_PORT
  56. #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
  57. #endif
  58. #ifdef MPLAB_PIC18F_PORT
  59. #include "../../Source/portable/MPLAB/PIC18F/portmacro.h"
  60. #endif
  61. #ifdef MPLAB_PIC32MX_PORT
  62. #include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"
  63. #endif
  64. #ifdef _FEDPICC
  65. #include "libFreeRTOS/Include/portmacro.h"
  66. #endif
  67. #ifdef SDCC_CYGNAL
  68. #include "../../Source/portable/SDCC/Cygnal/portmacro.h"
  69. #endif
  70. #ifdef GCC_ARM7
  71. #include "../../Source/portable/GCC/ARM7_LPC2000/portmacro.h"
  72. #endif
  73. #ifdef GCC_ARM7_ECLIPSE
  74. #include "portmacro.h"
  75. #endif
  76. #ifdef ROWLEY_LPC23xx
  77. #include "../../Source/portable/GCC/ARM7_LPC23xx/portmacro.h"
  78. #endif
  79. #ifdef IAR_MSP430
  80. #include "..\..\Source\portable\IAR\MSP430\portmacro.h"
  81. #endif
  82. #ifdef GCC_MSP430
  83. #include "../../Source/portable/GCC/MSP430F449/portmacro.h"
  84. #endif
  85. #ifdef ROWLEY_MSP430
  86. #include "../../Source/portable/Rowley/MSP430F449/portmacro.h"
  87. #endif
  88. #ifdef ARM7_LPC21xx_KEIL_RVDS
  89. #include "..\..\Source\portable\RVDS\ARM7_LPC21xx\portmacro.h"
  90. #endif
  91. #ifdef SAM7_GCC
  92. #include "../../Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h"
  93. #endif
  94. #ifdef SAM7_IAR
  95. #include "..\..\Source\portable\IAR\AtmelSAM7S64\portmacro.h"
  96. #endif
  97. #ifdef SAM9XE_IAR
  98. #include "..\..\Source\portable\IAR\AtmelSAM9XE\portmacro.h"
  99. #endif
  100. #ifdef LPC2000_IAR
  101. #include "..\..\Source\portable\IAR\LPC2000\portmacro.h"
  102. #endif
  103. #ifdef STR71X_IAR
  104. #include "..\..\Source\portable\IAR\STR71x\portmacro.h"
  105. #endif
  106. #ifdef STR75X_IAR
  107. #include "..\..\Source\portable\IAR\STR75x\portmacro.h"
  108. #endif
  109. #ifdef STR75X_GCC
  110. #include "..\..\Source\portable\GCC\STR75x\portmacro.h"
  111. #endif
  112. #ifdef STR91X_IAR
  113. #include "..\..\Source\portable\IAR\STR91x\portmacro.h"
  114. #endif
  115. #ifdef GCC_H8S
  116. #include "../../Source/portable/GCC/H8S2329/portmacro.h"
  117. #endif
  118. #ifdef GCC_AT91FR40008
  119. #include "../../Source/portable/GCC/ARM7_AT91FR40008/portmacro.h"
  120. #endif
  121. #ifdef RVDS_ARMCM3_LM3S102
  122. #include "../../Source/portable/RVDS/ARM_CM3/portmacro.h"
  123. #endif
  124. #ifdef GCC_ARMCM3_LM3S102
  125. #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
  126. #endif
  127. #ifdef GCC_ARMCM3
  128. #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
  129. #endif
  130. #ifdef IAR_ARM_CM3
  131. #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
  132. #endif
  133. #ifdef IAR_ARMCM3_LM
  134. #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
  135. #endif
  136. #ifdef HCS12_CODE_WARRIOR
  137. #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"
  138. #endif
  139. #ifdef MICROBLAZE_GCC
  140. #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"
  141. #endif
  142. #ifdef TERN_EE
  143. #include "..\..\Source\portable\Paradigm\Tern_EE\small\portmacro.h"
  144. #endif
  145. #ifdef GCC_HCS12
  146. #include "../../Source/portable/GCC/HCS12/portmacro.h"
  147. #endif
  148. #ifdef GCC_MCF5235
  149. #include "../../Source/portable/GCC/MCF5235/portmacro.h"
  150. #endif
  151. #ifdef COLDFIRE_V2_GCC
  152. #include "../../../Source/portable/GCC/ColdFire_V2/portmacro.h"
  153. #endif
  154. #ifdef COLDFIRE_V2_CODEWARRIOR
  155. #include "../../Source/portable/CodeWarrior/ColdFire_V2/portmacro.h"
  156. #endif
  157. #ifdef GCC_PPC405
  158. #include "../../Source/portable/GCC/PPC405_Xilinx/portmacro.h"
  159. #endif
  160. #ifdef GCC_PPC440
  161. #include "../../Source/portable/GCC/PPC440_Xilinx/portmacro.h"
  162. #endif
  163. #ifdef _16FX_SOFTUNE
  164. #include "..\..\Source\portable\Softune\MB96340\portmacro.h"
  165. #endif
  166. #ifdef BCC_INDUSTRIAL_PC_PORT
  167. /* A short file name has to be used in place of the normal
  168. * FreeRTOSConfig.h when using the Borland compiler. */
  169. #include "frconfig.h"
  170. #include "..\portable\BCC\16BitDOS\PC\prtmacro.h"
  171. typedef void ( __interrupt __far * pxISR )();
  172. #endif
  173. #ifdef BCC_FLASH_LITE_186_PORT
  174. /* A short file name has to be used in place of the normal
  175. * FreeRTOSConfig.h when using the Borland compiler. */
  176. #include "frconfig.h"
  177. #include "..\portable\BCC\16BitDOS\flsh186\prtmacro.h"
  178. typedef void ( __interrupt __far * pxISR )();
  179. #endif
  180. #ifdef __GNUC__
  181. #ifdef __AVR32_AVR32A__
  182. #include "portmacro.h"
  183. #endif
  184. #endif
  185. #ifdef __ICCAVR32__
  186. #ifdef __CORE__
  187. #if __CORE__ == __AVR32A__
  188. #include "portmacro.h"
  189. #endif
  190. #endif
  191. #endif
  192. #ifdef __91467D
  193. #include "portmacro.h"
  194. #endif
  195. #ifdef __96340
  196. #include "portmacro.h"
  197. #endif
  198. #ifdef __IAR_V850ES_Fx3__
  199. #include "../../Source/portable/IAR/V850ES/portmacro.h"
  200. #endif
  201. #ifdef __IAR_V850ES_Jx3__
  202. #include "../../Source/portable/IAR/V850ES/portmacro.h"
  203. #endif
  204. #ifdef __IAR_V850ES_Jx3_L__
  205. #include "../../Source/portable/IAR/V850ES/portmacro.h"
  206. #endif
  207. #ifdef __IAR_V850ES_Jx2__
  208. #include "../../Source/portable/IAR/V850ES/portmacro.h"
  209. #endif
  210. #ifdef __IAR_V850ES_Hx2__
  211. #include "../../Source/portable/IAR/V850ES/portmacro.h"
  212. #endif
  213. #ifdef __IAR_78K0R_Kx3__
  214. #include "../../Source/portable/IAR/78K0R/portmacro.h"
  215. #endif
  216. #ifdef __IAR_78K0R_Kx3L__
  217. #include "../../Source/portable/IAR/78K0R/portmacro.h"
  218. #endif
  219. #endif /* DEPRECATED_DEFINITIONS_H */