TI's CC3100 websocket camera demo with Arducam mini ov5642 and freertos. Should work with other M3's. Work in progress test demo.

Dependencies:   mbed

Committer:
dflet
Date:
Fri Sep 11 15:38:33 2015 +0000
Revision:
1:e448e81c416f
Parent:
0:400d8e75a8d0
Removed some debud.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dflet 0:400d8e75a8d0 1 //*****************************************************************************
dflet 0:400d8e75a8d0 2 // Copyright (C) 2014 Texas Instruments Incorporated
dflet 0:400d8e75a8d0 3 //
dflet 0:400d8e75a8d0 4 // All rights reserved. Property of Texas Instruments Incorporated.
dflet 0:400d8e75a8d0 5 // Restricted rights to use, duplicate or disclose this code are
dflet 0:400d8e75a8d0 6 // granted through contract.
dflet 0:400d8e75a8d0 7 // The program may not be used without the written permission of
dflet 0:400d8e75a8d0 8 // Texas Instruments Incorporated or against the terms and conditions
dflet 0:400d8e75a8d0 9 // stipulated in the agreement under which this program has been supplied,
dflet 0:400d8e75a8d0 10 // and under no circumstances can it be used with non-TI connectivity device.
dflet 0:400d8e75a8d0 11 //
dflet 0:400d8e75a8d0 12 //*****************************************************************************
dflet 0:400d8e75a8d0 13
dflet 0:400d8e75a8d0 14 /**
dflet 0:400d8e75a8d0 15 * @addtogroup HttpDebug
dflet 0:400d8e75a8d0 16 *
dflet 0:400d8e75a8d0 17 * @{
dflet 0:400d8e75a8d0 18 */
dflet 0:400d8e75a8d0 19
dflet 0:400d8e75a8d0 20 #include "mbed.h"
dflet 0:400d8e75a8d0 21 #include "cli_uart.h"
dflet 0:400d8e75a8d0 22 #include "HttpDebug.h"
dflet 0:400d8e75a8d0 23
dflet 0:400d8e75a8d0 24
dflet 0:400d8e75a8d0 25 #ifdef HTTP_CORE_ENABLE_DEBUG
dflet 0:400d8e75a8d0 26
dflet 0:400d8e75a8d0 27 void HttpDebugStr(uint8_t* pString)
dflet 0:400d8e75a8d0 28 {
dflet 0:400d8e75a8d0 29 #ifndef NOTERM
dflet 0:400d8e75a8d0 30 Report("%s\n\r", pString);
dflet 0:400d8e75a8d0 31 #endif
dflet 0:400d8e75a8d0 32 }
dflet 0:400d8e75a8d0 33
dflet 0:400d8e75a8d0 34 void HttpAssert(int condition)
dflet 0:400d8e75a8d0 35 {
dflet 0:400d8e75a8d0 36 if (condition)
dflet 0:400d8e75a8d0 37 return;
dflet 0:400d8e75a8d0 38 #ifndef NOTERM
dflet 0:400d8e75a8d0 39 Report("ASSERTION!\n\r");
dflet 0:400d8e75a8d0 40 #endif
dflet 0:400d8e75a8d0 41
dflet 0:400d8e75a8d0 42 while (1)
dflet 0:400d8e75a8d0 43 {
dflet 0:400d8e75a8d0 44 }
dflet 0:400d8e75a8d0 45 }
dflet 0:400d8e75a8d0 46
dflet 0:400d8e75a8d0 47 #else
dflet 0:400d8e75a8d0 48
dflet 0:400d8e75a8d0 49 void HttpDebugStr(const char* pString)
dflet 0:400d8e75a8d0 50 {
dflet 0:400d8e75a8d0 51
dflet 0:400d8e75a8d0 52 }
dflet 0:400d8e75a8d0 53 void HttpAssert(int condition)
dflet 0:400d8e75a8d0 54 {
dflet 0:400d8e75a8d0 55
dflet 0:400d8e75a8d0 56 }
dflet 0:400d8e75a8d0 57 #endif
dflet 0:400d8e75a8d0 58
dflet 0:400d8e75a8d0 59 /// @}
dflet 0:400d8e75a8d0 60