Update revision to use TI's mqtt and Freertos.

Dependencies:   mbed client server

Fork of cc3100_Test_mqtt_CM3 by David Fletcher

Committer:
dflet
Date:
Thu Sep 03 14:02:37 2015 +0000
Revision:
3:a8c249046181
SPI Mode change 1 to 0

Who changed what in which revision?

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