deprecated_definitions.h 7.3 KB

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