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

http/server/HttpDebug.cpp

Committer:
dflet
Date:
2015-09-11
Revision:
1:e448e81c416f
Parent:
0:400d8e75a8d0

File content as of revision 1:e448e81c416f:

//*****************************************************************************
// Copyright (C) 2014 Texas Instruments Incorporated
//
// All rights reserved. Property of Texas Instruments Incorporated.
// Restricted rights to use, duplicate or disclose this code are
// granted through contract.
// The program may not be used without the written permission of
// Texas Instruments Incorporated or against the terms and conditions
// stipulated in the agreement under which this program has been supplied,
// and under no circumstances can it be used with non-TI connectivity device.
//
//*****************************************************************************

/**
 * @addtogroup HttpDebug
 *
 * @{
 */

#include "mbed.h"
#include "cli_uart.h"
#include "HttpDebug.h"


#ifdef HTTP_CORE_ENABLE_DEBUG

void HttpDebugStr(uint8_t* pString)
{
#ifndef NOTERM
    Report("%s\n\r", pString);
#endif
}

void HttpAssert(int condition)
{
    if (condition)
        return;
#ifndef NOTERM
    Report("ASSERTION!\n\r");
#endif

    while (1)
    {
    }
}

#else

void HttpDebugStr(const char* pString)
{

}
void HttpAssert(int condition)
{

}
#endif

/// @}