adding resources firmware and 1/0/8

Dependencies:   Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib

Fork of LWM2M_NanoService_Ethernet by MBED_DEMOS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dbg.h Source File

dbg.h

00001 #ifndef DEBUG_H
00002 #define DEBUG_H
00003 
00004 #include "nsdl_support.h"
00005 #include "mbed.h"
00006 
00007 //Debug is disabled by default
00008 #define DEBUG 1
00009 
00010 #if (DEBUG)
00011 extern Serial pc;
00012 
00013 #define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
00014 #else
00015 #define NSDL_DEBUG(x, ...)
00016 #endif
00017 
00018 #endif