Francisco Paez / freertos

Dependents:   frdm_k64f_freertos_lib

Committer:
fep
Date:
Wed May 31 02:27:10 2017 +0000
Revision:
0:62cd296ba2a7
FreeRTOS v9.0.0 for Cortex-M4F (FRDM-K64F and others...)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fep 0:62cd296ba2a7 1 /*
fep 0:62cd296ba2a7 2 FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
fep 0:62cd296ba2a7 3 All rights reserved
fep 0:62cd296ba2a7 4
fep 0:62cd296ba2a7 5 VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
fep 0:62cd296ba2a7 6
fep 0:62cd296ba2a7 7 This file is part of the FreeRTOS distribution.
fep 0:62cd296ba2a7 8
fep 0:62cd296ba2a7 9 FreeRTOS is free software; you can redistribute it and/or modify it under
fep 0:62cd296ba2a7 10 the terms of the GNU General Public License (version 2) as published by the
fep 0:62cd296ba2a7 11 Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
fep 0:62cd296ba2a7 12
fep 0:62cd296ba2a7 13 ***************************************************************************
fep 0:62cd296ba2a7 14 >>! NOTE: The modification to the GPL is included to allow you to !<<
fep 0:62cd296ba2a7 15 >>! distribute a combined work that includes FreeRTOS without being !<<
fep 0:62cd296ba2a7 16 >>! obliged to provide the source code for proprietary components !<<
fep 0:62cd296ba2a7 17 >>! outside of the FreeRTOS kernel. !<<
fep 0:62cd296ba2a7 18 ***************************************************************************
fep 0:62cd296ba2a7 19
fep 0:62cd296ba2a7 20 FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
fep 0:62cd296ba2a7 21 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
fep 0:62cd296ba2a7 22 FOR A PARTICULAR PURPOSE. Full license text is available on the following
fep 0:62cd296ba2a7 23 link: http://www.freertos.org/a00114.html
fep 0:62cd296ba2a7 24
fep 0:62cd296ba2a7 25 ***************************************************************************
fep 0:62cd296ba2a7 26 * *
fep 0:62cd296ba2a7 27 * FreeRTOS provides completely free yet professionally developed, *
fep 0:62cd296ba2a7 28 * robust, strictly quality controlled, supported, and cross *
fep 0:62cd296ba2a7 29 * platform software that is more than just the market leader, it *
fep 0:62cd296ba2a7 30 * is the industry's de facto standard. *
fep 0:62cd296ba2a7 31 * *
fep 0:62cd296ba2a7 32 * Help yourself get started quickly while simultaneously helping *
fep 0:62cd296ba2a7 33 * to support the FreeRTOS project by purchasing a FreeRTOS *
fep 0:62cd296ba2a7 34 * tutorial book, reference manual, or both: *
fep 0:62cd296ba2a7 35 * http://www.FreeRTOS.org/Documentation *
fep 0:62cd296ba2a7 36 * *
fep 0:62cd296ba2a7 37 ***************************************************************************
fep 0:62cd296ba2a7 38
fep 0:62cd296ba2a7 39 http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
fep 0:62cd296ba2a7 40 the FAQ page "My application does not run, what could be wrong?". Have you
fep 0:62cd296ba2a7 41 defined configASSERT()?
fep 0:62cd296ba2a7 42
fep 0:62cd296ba2a7 43 http://www.FreeRTOS.org/support - In return for receiving this top quality
fep 0:62cd296ba2a7 44 embedded software for free we request you assist our global community by
fep 0:62cd296ba2a7 45 participating in the support forum.
fep 0:62cd296ba2a7 46
fep 0:62cd296ba2a7 47 http://www.FreeRTOS.org/training - Investing in training allows your team to
fep 0:62cd296ba2a7 48 be as productive as possible as early as possible. Now you can receive
fep 0:62cd296ba2a7 49 FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
fep 0:62cd296ba2a7 50 Ltd, and the world's leading authority on the world's leading RTOS.
fep 0:62cd296ba2a7 51
fep 0:62cd296ba2a7 52 http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
fep 0:62cd296ba2a7 53 including FreeRTOS+Trace - an indispensable productivity tool, a DOS
fep 0:62cd296ba2a7 54 compatible FAT file system, and our tiny thread aware UDP/IP stack.
fep 0:62cd296ba2a7 55
fep 0:62cd296ba2a7 56 http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
fep 0:62cd296ba2a7 57 Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
fep 0:62cd296ba2a7 58
fep 0:62cd296ba2a7 59 http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
fep 0:62cd296ba2a7 60 Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
fep 0:62cd296ba2a7 61 licenses offer ticketed support, indemnification and commercial middleware.
fep 0:62cd296ba2a7 62
fep 0:62cd296ba2a7 63 http://www.SafeRTOS.com - High Integrity Systems also provide a safety
fep 0:62cd296ba2a7 64 engineered and independently SIL3 certified version for use in safety and
fep 0:62cd296ba2a7 65 mission critical applications that require provable dependability.
fep 0:62cd296ba2a7 66
fep 0:62cd296ba2a7 67 1 tab == 4 spaces!
fep 0:62cd296ba2a7 68 */
fep 0:62cd296ba2a7 69
fep 0:62cd296ba2a7 70 #ifndef DEPRECATED_DEFINITIONS_H
fep 0:62cd296ba2a7 71 #define DEPRECATED_DEFINITIONS_H
fep 0:62cd296ba2a7 72
fep 0:62cd296ba2a7 73
fep 0:62cd296ba2a7 74 /* Each FreeRTOS port has a unique portmacro.h header file. Originally a
fep 0:62cd296ba2a7 75 pre-processor definition was used to ensure the pre-processor found the correct
fep 0:62cd296ba2a7 76 portmacro.h file for the port being used. That scheme was deprecated in favour
fep 0:62cd296ba2a7 77 of setting the compiler's include path such that it found the correct
fep 0:62cd296ba2a7 78 portmacro.h file - removing the need for the constant and allowing the
fep 0:62cd296ba2a7 79 portmacro.h file to be located anywhere in relation to the port being used. The
fep 0:62cd296ba2a7 80 definitions below remain in the code for backward compatibility only. New
fep 0:62cd296ba2a7 81 projects should not use them. */
fep 0:62cd296ba2a7 82
fep 0:62cd296ba2a7 83 #ifdef OPEN_WATCOM_INDUSTRIAL_PC_PORT
fep 0:62cd296ba2a7 84 #include "..\..\Source\portable\owatcom\16bitdos\pc\portmacro.h"
fep 0:62cd296ba2a7 85 typedef void ( __interrupt __far *pxISR )();
fep 0:62cd296ba2a7 86 #endif
fep 0:62cd296ba2a7 87
fep 0:62cd296ba2a7 88 #ifdef OPEN_WATCOM_FLASH_LITE_186_PORT
fep 0:62cd296ba2a7 89 #include "..\..\Source\portable\owatcom\16bitdos\flsh186\portmacro.h"
fep 0:62cd296ba2a7 90 typedef void ( __interrupt __far *pxISR )();
fep 0:62cd296ba2a7 91 #endif
fep 0:62cd296ba2a7 92
fep 0:62cd296ba2a7 93 #ifdef GCC_MEGA_AVR
fep 0:62cd296ba2a7 94 #include "../portable/GCC/ATMega323/portmacro.h"
fep 0:62cd296ba2a7 95 #endif
fep 0:62cd296ba2a7 96
fep 0:62cd296ba2a7 97 #ifdef IAR_MEGA_AVR
fep 0:62cd296ba2a7 98 #include "../portable/IAR/ATMega323/portmacro.h"
fep 0:62cd296ba2a7 99 #endif
fep 0:62cd296ba2a7 100
fep 0:62cd296ba2a7 101 #ifdef MPLAB_PIC24_PORT
fep 0:62cd296ba2a7 102 #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
fep 0:62cd296ba2a7 103 #endif
fep 0:62cd296ba2a7 104
fep 0:62cd296ba2a7 105 #ifdef MPLAB_DSPIC_PORT
fep 0:62cd296ba2a7 106 #include "../../Source/portable/MPLAB/PIC24_dsPIC/portmacro.h"
fep 0:62cd296ba2a7 107 #endif
fep 0:62cd296ba2a7 108
fep 0:62cd296ba2a7 109 #ifdef MPLAB_PIC18F_PORT
fep 0:62cd296ba2a7 110 #include "../../Source/portable/MPLAB/PIC18F/portmacro.h"
fep 0:62cd296ba2a7 111 #endif
fep 0:62cd296ba2a7 112
fep 0:62cd296ba2a7 113 #ifdef MPLAB_PIC32MX_PORT
fep 0:62cd296ba2a7 114 #include "../../Source/portable/MPLAB/PIC32MX/portmacro.h"
fep 0:62cd296ba2a7 115 #endif
fep 0:62cd296ba2a7 116
fep 0:62cd296ba2a7 117 #ifdef _FEDPICC
fep 0:62cd296ba2a7 118 #include "libFreeRTOS/Include/portmacro.h"
fep 0:62cd296ba2a7 119 #endif
fep 0:62cd296ba2a7 120
fep 0:62cd296ba2a7 121 #ifdef SDCC_CYGNAL
fep 0:62cd296ba2a7 122 #include "../../Source/portable/SDCC/Cygnal/portmacro.h"
fep 0:62cd296ba2a7 123 #endif
fep 0:62cd296ba2a7 124
fep 0:62cd296ba2a7 125 #ifdef GCC_ARM7
fep 0:62cd296ba2a7 126 #include "../../Source/portable/GCC/ARM7_LPC2000/portmacro.h"
fep 0:62cd296ba2a7 127 #endif
fep 0:62cd296ba2a7 128
fep 0:62cd296ba2a7 129 #ifdef GCC_ARM7_ECLIPSE
fep 0:62cd296ba2a7 130 #include "portmacro.h"
fep 0:62cd296ba2a7 131 #endif
fep 0:62cd296ba2a7 132
fep 0:62cd296ba2a7 133 #ifdef ROWLEY_LPC23xx
fep 0:62cd296ba2a7 134 #include "../../Source/portable/GCC/ARM7_LPC23xx/portmacro.h"
fep 0:62cd296ba2a7 135 #endif
fep 0:62cd296ba2a7 136
fep 0:62cd296ba2a7 137 #ifdef IAR_MSP430
fep 0:62cd296ba2a7 138 #include "..\..\Source\portable\IAR\MSP430\portmacro.h"
fep 0:62cd296ba2a7 139 #endif
fep 0:62cd296ba2a7 140
fep 0:62cd296ba2a7 141 #ifdef GCC_MSP430
fep 0:62cd296ba2a7 142 #include "../../Source/portable/GCC/MSP430F449/portmacro.h"
fep 0:62cd296ba2a7 143 #endif
fep 0:62cd296ba2a7 144
fep 0:62cd296ba2a7 145 #ifdef ROWLEY_MSP430
fep 0:62cd296ba2a7 146 #include "../../Source/portable/Rowley/MSP430F449/portmacro.h"
fep 0:62cd296ba2a7 147 #endif
fep 0:62cd296ba2a7 148
fep 0:62cd296ba2a7 149 #ifdef ARM7_LPC21xx_KEIL_RVDS
fep 0:62cd296ba2a7 150 #include "..\..\Source\portable\RVDS\ARM7_LPC21xx\portmacro.h"
fep 0:62cd296ba2a7 151 #endif
fep 0:62cd296ba2a7 152
fep 0:62cd296ba2a7 153 #ifdef SAM7_GCC
fep 0:62cd296ba2a7 154 #include "../../Source/portable/GCC/ARM7_AT91SAM7S/portmacro.h"
fep 0:62cd296ba2a7 155 #endif
fep 0:62cd296ba2a7 156
fep 0:62cd296ba2a7 157 #ifdef SAM7_IAR
fep 0:62cd296ba2a7 158 #include "..\..\Source\portable\IAR\AtmelSAM7S64\portmacro.h"
fep 0:62cd296ba2a7 159 #endif
fep 0:62cd296ba2a7 160
fep 0:62cd296ba2a7 161 #ifdef SAM9XE_IAR
fep 0:62cd296ba2a7 162 #include "..\..\Source\portable\IAR\AtmelSAM9XE\portmacro.h"
fep 0:62cd296ba2a7 163 #endif
fep 0:62cd296ba2a7 164
fep 0:62cd296ba2a7 165 #ifdef LPC2000_IAR
fep 0:62cd296ba2a7 166 #include "..\..\Source\portable\IAR\LPC2000\portmacro.h"
fep 0:62cd296ba2a7 167 #endif
fep 0:62cd296ba2a7 168
fep 0:62cd296ba2a7 169 #ifdef STR71X_IAR
fep 0:62cd296ba2a7 170 #include "..\..\Source\portable\IAR\STR71x\portmacro.h"
fep 0:62cd296ba2a7 171 #endif
fep 0:62cd296ba2a7 172
fep 0:62cd296ba2a7 173 #ifdef STR75X_IAR
fep 0:62cd296ba2a7 174 #include "..\..\Source\portable\IAR\STR75x\portmacro.h"
fep 0:62cd296ba2a7 175 #endif
fep 0:62cd296ba2a7 176
fep 0:62cd296ba2a7 177 #ifdef STR75X_GCC
fep 0:62cd296ba2a7 178 #include "..\..\Source\portable\GCC\STR75x\portmacro.h"
fep 0:62cd296ba2a7 179 #endif
fep 0:62cd296ba2a7 180
fep 0:62cd296ba2a7 181 #ifdef STR91X_IAR
fep 0:62cd296ba2a7 182 #include "..\..\Source\portable\IAR\STR91x\portmacro.h"
fep 0:62cd296ba2a7 183 #endif
fep 0:62cd296ba2a7 184
fep 0:62cd296ba2a7 185 #ifdef GCC_H8S
fep 0:62cd296ba2a7 186 #include "../../Source/portable/GCC/H8S2329/portmacro.h"
fep 0:62cd296ba2a7 187 #endif
fep 0:62cd296ba2a7 188
fep 0:62cd296ba2a7 189 #ifdef GCC_AT91FR40008
fep 0:62cd296ba2a7 190 #include "../../Source/portable/GCC/ARM7_AT91FR40008/portmacro.h"
fep 0:62cd296ba2a7 191 #endif
fep 0:62cd296ba2a7 192
fep 0:62cd296ba2a7 193 #ifdef RVDS_ARMCM3_LM3S102
fep 0:62cd296ba2a7 194 #include "../../Source/portable/RVDS/ARM_CM3/portmacro.h"
fep 0:62cd296ba2a7 195 #endif
fep 0:62cd296ba2a7 196
fep 0:62cd296ba2a7 197 #ifdef GCC_ARMCM3_LM3S102
fep 0:62cd296ba2a7 198 #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
fep 0:62cd296ba2a7 199 #endif
fep 0:62cd296ba2a7 200
fep 0:62cd296ba2a7 201 #ifdef GCC_ARMCM3
fep 0:62cd296ba2a7 202 #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"
fep 0:62cd296ba2a7 203 #endif
fep 0:62cd296ba2a7 204
fep 0:62cd296ba2a7 205 #ifdef IAR_ARM_CM3
fep 0:62cd296ba2a7 206 #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
fep 0:62cd296ba2a7 207 #endif
fep 0:62cd296ba2a7 208
fep 0:62cd296ba2a7 209 #ifdef IAR_ARMCM3_LM
fep 0:62cd296ba2a7 210 #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"
fep 0:62cd296ba2a7 211 #endif
fep 0:62cd296ba2a7 212
fep 0:62cd296ba2a7 213 #ifdef HCS12_CODE_WARRIOR
fep 0:62cd296ba2a7 214 #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"
fep 0:62cd296ba2a7 215 #endif
fep 0:62cd296ba2a7 216
fep 0:62cd296ba2a7 217 #ifdef MICROBLAZE_GCC
fep 0:62cd296ba2a7 218 #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"
fep 0:62cd296ba2a7 219 #endif
fep 0:62cd296ba2a7 220
fep 0:62cd296ba2a7 221 #ifdef TERN_EE
fep 0:62cd296ba2a7 222 #include "..\..\Source\portable\Paradigm\Tern_EE\small\portmacro.h"
fep 0:62cd296ba2a7 223 #endif
fep 0:62cd296ba2a7 224
fep 0:62cd296ba2a7 225 #ifdef GCC_HCS12
fep 0:62cd296ba2a7 226 #include "../../Source/portable/GCC/HCS12/portmacro.h"
fep 0:62cd296ba2a7 227 #endif
fep 0:62cd296ba2a7 228
fep 0:62cd296ba2a7 229 #ifdef GCC_MCF5235
fep 0:62cd296ba2a7 230 #include "../../Source/portable/GCC/MCF5235/portmacro.h"
fep 0:62cd296ba2a7 231 #endif
fep 0:62cd296ba2a7 232
fep 0:62cd296ba2a7 233 #ifdef COLDFIRE_V2_GCC
fep 0:62cd296ba2a7 234 #include "../../../Source/portable/GCC/ColdFire_V2/portmacro.h"
fep 0:62cd296ba2a7 235 #endif
fep 0:62cd296ba2a7 236
fep 0:62cd296ba2a7 237 #ifdef COLDFIRE_V2_CODEWARRIOR
fep 0:62cd296ba2a7 238 #include "../../Source/portable/CodeWarrior/ColdFire_V2/portmacro.h"
fep 0:62cd296ba2a7 239 #endif
fep 0:62cd296ba2a7 240
fep 0:62cd296ba2a7 241 #ifdef GCC_PPC405
fep 0:62cd296ba2a7 242 #include "../../Source/portable/GCC/PPC405_Xilinx/portmacro.h"
fep 0:62cd296ba2a7 243 #endif
fep 0:62cd296ba2a7 244
fep 0:62cd296ba2a7 245 #ifdef GCC_PPC440
fep 0:62cd296ba2a7 246 #include "../../Source/portable/GCC/PPC440_Xilinx/portmacro.h"
fep 0:62cd296ba2a7 247 #endif
fep 0:62cd296ba2a7 248
fep 0:62cd296ba2a7 249 #ifdef _16FX_SOFTUNE
fep 0:62cd296ba2a7 250 #include "..\..\Source\portable\Softune\MB96340\portmacro.h"
fep 0:62cd296ba2a7 251 #endif
fep 0:62cd296ba2a7 252
fep 0:62cd296ba2a7 253 #ifdef BCC_INDUSTRIAL_PC_PORT
fep 0:62cd296ba2a7 254 /* A short file name has to be used in place of the normal
fep 0:62cd296ba2a7 255 FreeRTOSConfig.h when using the Borland compiler. */
fep 0:62cd296ba2a7 256 #include "frconfig.h"
fep 0:62cd296ba2a7 257 #include "..\portable\BCC\16BitDOS\PC\prtmacro.h"
fep 0:62cd296ba2a7 258 typedef void ( __interrupt __far *pxISR )();
fep 0:62cd296ba2a7 259 #endif
fep 0:62cd296ba2a7 260
fep 0:62cd296ba2a7 261 #ifdef BCC_FLASH_LITE_186_PORT
fep 0:62cd296ba2a7 262 /* A short file name has to be used in place of the normal
fep 0:62cd296ba2a7 263 FreeRTOSConfig.h when using the Borland compiler. */
fep 0:62cd296ba2a7 264 #include "frconfig.h"
fep 0:62cd296ba2a7 265 #include "..\portable\BCC\16BitDOS\flsh186\prtmacro.h"
fep 0:62cd296ba2a7 266 typedef void ( __interrupt __far *pxISR )();
fep 0:62cd296ba2a7 267 #endif
fep 0:62cd296ba2a7 268
fep 0:62cd296ba2a7 269 #ifdef __GNUC__
fep 0:62cd296ba2a7 270 #ifdef __AVR32_AVR32A__
fep 0:62cd296ba2a7 271 #include "portmacro.h"
fep 0:62cd296ba2a7 272 #endif
fep 0:62cd296ba2a7 273 #endif
fep 0:62cd296ba2a7 274
fep 0:62cd296ba2a7 275 #ifdef __ICCAVR32__
fep 0:62cd296ba2a7 276 #ifdef __CORE__
fep 0:62cd296ba2a7 277 #if __CORE__ == __AVR32A__
fep 0:62cd296ba2a7 278 #include "portmacro.h"
fep 0:62cd296ba2a7 279 #endif
fep 0:62cd296ba2a7 280 #endif
fep 0:62cd296ba2a7 281 #endif
fep 0:62cd296ba2a7 282
fep 0:62cd296ba2a7 283 #ifdef __91467D
fep 0:62cd296ba2a7 284 #include "portmacro.h"
fep 0:62cd296ba2a7 285 #endif
fep 0:62cd296ba2a7 286
fep 0:62cd296ba2a7 287 #ifdef __96340
fep 0:62cd296ba2a7 288 #include "portmacro.h"
fep 0:62cd296ba2a7 289 #endif
fep 0:62cd296ba2a7 290
fep 0:62cd296ba2a7 291
fep 0:62cd296ba2a7 292 #ifdef __IAR_V850ES_Fx3__
fep 0:62cd296ba2a7 293 #include "../../Source/portable/IAR/V850ES/portmacro.h"
fep 0:62cd296ba2a7 294 #endif
fep 0:62cd296ba2a7 295
fep 0:62cd296ba2a7 296 #ifdef __IAR_V850ES_Jx3__
fep 0:62cd296ba2a7 297 #include "../../Source/portable/IAR/V850ES/portmacro.h"
fep 0:62cd296ba2a7 298 #endif
fep 0:62cd296ba2a7 299
fep 0:62cd296ba2a7 300 #ifdef __IAR_V850ES_Jx3_L__
fep 0:62cd296ba2a7 301 #include "../../Source/portable/IAR/V850ES/portmacro.h"
fep 0:62cd296ba2a7 302 #endif
fep 0:62cd296ba2a7 303
fep 0:62cd296ba2a7 304 #ifdef __IAR_V850ES_Jx2__
fep 0:62cd296ba2a7 305 #include "../../Source/portable/IAR/V850ES/portmacro.h"
fep 0:62cd296ba2a7 306 #endif
fep 0:62cd296ba2a7 307
fep 0:62cd296ba2a7 308 #ifdef __IAR_V850ES_Hx2__
fep 0:62cd296ba2a7 309 #include "../../Source/portable/IAR/V850ES/portmacro.h"
fep 0:62cd296ba2a7 310 #endif
fep 0:62cd296ba2a7 311
fep 0:62cd296ba2a7 312 #ifdef __IAR_78K0R_Kx3__
fep 0:62cd296ba2a7 313 #include "../../Source/portable/IAR/78K0R/portmacro.h"
fep 0:62cd296ba2a7 314 #endif
fep 0:62cd296ba2a7 315
fep 0:62cd296ba2a7 316 #ifdef __IAR_78K0R_Kx3L__
fep 0:62cd296ba2a7 317 #include "../../Source/portable/IAR/78K0R/portmacro.h"
fep 0:62cd296ba2a7 318 #endif
fep 0:62cd296ba2a7 319
fep 0:62cd296ba2a7 320 #endif /* DEPRECATED_DEFINITIONS_H */
fep 0:62cd296ba2a7 321
fep 0:62cd296ba2a7 322