Demo for the problem with nsdl_lib and rtos on FRDM- K64F
Dependencies: C12832_lcd WiflyInterface mbed-rtos mbed nsdl_lib
dbg.h
- Committer:
- lvwei1990
- Date:
- 2015-01-16
- Revision:
- 0:e41e45a41f0f
File content as of revision 0:e41e45a41f0f:
#ifndef DEBUG_H #define DEBUG_H #include "nsdl_support.h" #include "mbed.h" //Debug is disabled by default #define DEBUG 0 #if (DEBUG) extern Serial pc; #define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); #else #define NSDL_DEBUG(x, ...) #endif #endif