David Fletcher / Mbed 2 deprecated cc3100_Test_websock_Camera_CM4F

Dependencies:   mbed

Committer:
dflet
Date:
Wed Jun 24 09:54:16 2015 +0000
Revision:
0:50cedd586816
First commit work in progress

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dflet 0:50cedd586816 1 /*
dflet 0:50cedd586816 2 FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd.
dflet 0:50cedd586816 3 All rights reserved
dflet 0:50cedd586816 4
dflet 0:50cedd586816 5 VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
dflet 0:50cedd586816 6
dflet 0:50cedd586816 7 This file is part of the FreeRTOS distribution.
dflet 0:50cedd586816 8
dflet 0:50cedd586816 9 FreeRTOS is free software; you can redistribute it and/or modify it under
dflet 0:50cedd586816 10 the terms of the GNU General Public License (version 2) as published by the
dflet 0:50cedd586816 11 Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
dflet 0:50cedd586816 12
dflet 0:50cedd586816 13 ***************************************************************************
dflet 0:50cedd586816 14 >>! NOTE: The modification to the GPL is included to allow you to !<<
dflet 0:50cedd586816 15 >>! distribute a combined work that includes FreeRTOS without being !<<
dflet 0:50cedd586816 16 >>! obliged to provide the source code for proprietary components !<<
dflet 0:50cedd586816 17 >>! outside of the FreeRTOS kernel. !<<
dflet 0:50cedd586816 18 ***************************************************************************
dflet 0:50cedd586816 19
dflet 0:50cedd586816 20 FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
dflet 0:50cedd586816 21 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
dflet 0:50cedd586816 22 FOR A PARTICULAR PURPOSE. Full license text is available on the following
dflet 0:50cedd586816 23 link: http://www.freertos.org/a00114.html
dflet 0:50cedd586816 24
dflet 0:50cedd586816 25 ***************************************************************************
dflet 0:50cedd586816 26 * *
dflet 0:50cedd586816 27 * FreeRTOS provides completely free yet professionally developed, *
dflet 0:50cedd586816 28 * robust, strictly quality controlled, supported, and cross *
dflet 0:50cedd586816 29 * platform software that is more than just the market leader, it *
dflet 0:50cedd586816 30 * is the industry's de facto standard. *
dflet 0:50cedd586816 31 * *
dflet 0:50cedd586816 32 * Help yourself get started quickly while simultaneously helping *
dflet 0:50cedd586816 33 * to support the FreeRTOS project by purchasing a FreeRTOS *
dflet 0:50cedd586816 34 * tutorial book, reference manual, or both: *
dflet 0:50cedd586816 35 * http://www.FreeRTOS.org/Documentation *
dflet 0:50cedd586816 36 * *
dflet 0:50cedd586816 37 ***************************************************************************
dflet 0:50cedd586816 38
dflet 0:50cedd586816 39 http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
dflet 0:50cedd586816 40 the FAQ page "My application does not run, what could be wrong?". Have you
dflet 0:50cedd586816 41 defined configASSERT()?
dflet 0:50cedd586816 42
dflet 0:50cedd586816 43 http://www.FreeRTOS.org/support - In return for receiving this top quality
dflet 0:50cedd586816 44 embedded software for free we request you assist our global community by
dflet 0:50cedd586816 45 participating in the support forum.
dflet 0:50cedd586816 46
dflet 0:50cedd586816 47 http://www.FreeRTOS.org/training - Investing in training allows your team to
dflet 0:50cedd586816 48 be as productive as possible as early as possible. Now you can receive
dflet 0:50cedd586816 49 FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
dflet 0:50cedd586816 50 Ltd, and the world's leading authority on the world's leading RTOS.
dflet 0:50cedd586816 51
dflet 0:50cedd586816 52 http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
dflet 0:50cedd586816 53 including FreeRTOS+Trace - an indispensable productivity tool, a DOS
dflet 0:50cedd586816 54 compatible FAT file system, and our tiny thread aware UDP/IP stack.
dflet 0:50cedd586816 55
dflet 0:50cedd586816 56 http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
dflet 0:50cedd586816 57 Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
dflet 0:50cedd586816 58
dflet 0:50cedd586816 59 http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
dflet 0:50cedd586816 60 Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
dflet 0:50cedd586816 61 licenses offer ticketed support, indemnification and commercial middleware.
dflet 0:50cedd586816 62
dflet 0:50cedd586816 63 http://www.SafeRTOS.com - High Integrity Systems also provide a safety
dflet 0:50cedd586816 64 engineered and independently SIL3 certified version for use in safety and
dflet 0:50cedd586816 65 mission critical applications that require provable dependability.
dflet 0:50cedd586816 66
dflet 0:50cedd586816 67 1 tab == 4 spaces!
dflet 0:50cedd586816 68 */
dflet 0:50cedd586816 69
dflet 0:50cedd586816 70 #ifndef PROJDEFS_H
dflet 0:50cedd586816 71 #define PROJDEFS_H
dflet 0:50cedd586816 72
dflet 0:50cedd586816 73 /*
dflet 0:50cedd586816 74 * Defines the prototype to which task functions must conform. Defined in this
dflet 0:50cedd586816 75 * file to ensure the type is known before portable.h is included.
dflet 0:50cedd586816 76 */
dflet 0:50cedd586816 77 typedef void (*TaskFunction_t)( void * );
dflet 0:50cedd586816 78
dflet 0:50cedd586816 79 /* Converts a time in milliseconds to a time in ticks. */
dflet 0:50cedd586816 80 #define pdMS_TO_TICKS( xTimeInMs ) ( ( TickType_t ) ( ( ( TickType_t ) ( xTimeInMs ) * ( TickType_t ) configTICK_RATE_HZ ) / ( TickType_t ) 1000 ) )
dflet 0:50cedd586816 81
dflet 0:50cedd586816 82 #define pdFALSE ( ( BaseType_t ) 0 )
dflet 0:50cedd586816 83 #define pdTRUE ( ( BaseType_t ) 1 )
dflet 0:50cedd586816 84
dflet 0:50cedd586816 85 #define pdPASS ( pdTRUE )
dflet 0:50cedd586816 86 #define pdFAIL ( pdFALSE )
dflet 0:50cedd586816 87 #define errQUEUE_EMPTY ( ( BaseType_t ) 0 )
dflet 0:50cedd586816 88 #define errQUEUE_FULL ( ( BaseType_t ) 0 )
dflet 0:50cedd586816 89
dflet 0:50cedd586816 90 /* FreeRTOS error definitions. */
dflet 0:50cedd586816 91 #define errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY ( -1 )
dflet 0:50cedd586816 92 #define errQUEUE_BLOCKED ( -4 )
dflet 0:50cedd586816 93 #define errQUEUE_YIELD ( -5 )
dflet 0:50cedd586816 94
dflet 0:50cedd586816 95 /* Macros used for basic data corruption checks. */
dflet 0:50cedd586816 96 #ifndef configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
dflet 0:50cedd586816 97 #define configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES 0
dflet 0:50cedd586816 98 #endif
dflet 0:50cedd586816 99
dflet 0:50cedd586816 100 #if( configUSE_16_BIT_TICKS == 1 )
dflet 0:50cedd586816 101 #define pdINTEGRITY_CHECK_VALUE 0x5a5a
dflet 0:50cedd586816 102 #else
dflet 0:50cedd586816 103 #define pdINTEGRITY_CHECK_VALUE 0x5a5a5a5aUL
dflet 0:50cedd586816 104 #endif
dflet 0:50cedd586816 105
dflet 0:50cedd586816 106 /* The following endian values are used by FreeRTOS+ components, not FreeRTOS
dflet 0:50cedd586816 107 itself. */
dflet 0:50cedd586816 108 #define pdFREERTOS_LITTLE_ENDIAN 0
dflet 0:50cedd586816 109 #define pdFREERTOS_BIG_ENDIAN 1
dflet 0:50cedd586816 110
dflet 0:50cedd586816 111 #endif /* PROJDEFS_H */
dflet 0:50cedd586816 112
dflet 0:50cedd586816 113
dflet 0:50cedd586816 114
dflet 0:50cedd586816 115