diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:14:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:14:27 +0100 |
commit | aa7cf6f72f4e8a553f892629bb3338ab8c982d57 (patch) | |
tree | b16167eecc2c5e8e5f84bd710308366a166c55e8 /stm/cc3k/ccdebug.h | |
parent | 63436ce22ee20f56b0083f846261c0b77af9961b (diff) | |
download | micropython-aa7cf6f72f4e8a553f892629bb3338ab8c982d57.tar.gz micropython-aa7cf6f72f4e8a553f892629bb3338ab8c982d57.zip |
stm: Remove long-obsolete stm/ port.
Diffstat (limited to 'stm/cc3k/ccdebug.h')
-rw-r--r-- | stm/cc3k/ccdebug.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/stm/cc3k/ccdebug.h b/stm/cc3k/ccdebug.h deleted file mode 100644 index 6237e1dbe6..0000000000 --- a/stm/cc3k/ccdebug.h +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************/ -/*! - @file Adafruit_CC3000.cpp - @author KTOWN (Kevin Townsend for Adafruit Industries) - @license BSD (see license.txt) - - This is a library for the Adafruit CC3000 WiFi breakout board - This library works with the Adafruit CC3000 breakout - ----> https://www.adafruit.com/products/1469 - - Check out the links above for our tutorials and wiring diagrams - These chips use SPI to communicate. - - Adafruit invests time and resources providing this open source code, - please support Adafruit and open-source hardware by purchasing - products from Adafruit! - - @section HISTORY - - v1.0 - Initial release -*/ -/**************************************************************************/ - -//#include <Arduino.h> - -#ifndef _CC3000_DEBUG -#define _CC3000_DEBUG - -#define DEBUG_MODE (0) - -#define PRINT_F(__s) DEBUGPRINT(FLASHIFY(__s)) - -#if (DEBUG_MODE != 0) -#define DEBUGPRINT_F(__s) DEBUGPRINT(FLASHIFY(__s)) -#define DEBUGPRINT_DEC(x) printDec(x) -#define DEBUGPRINT_DEC16(x) printDec16(x) -#define DEBUGPRINT_HEX(x) printHex(x) -#define DEBUGPRINT_HEX16(x) printHex16(x) -#else -#define DEBUGPRINT_F(__s) /* do nothing! */ -#define DEBUGPRINT_DEC(x) -#define DEBUGPRINT_DEC16(x) -#define DEBUGPRINT_HEX(x) -#define DEBUGPRINT_HEX16(x) -#endif - -#if 0 // print debugging info -#define DEBUG_PRINT (1) -#define DEBUG_printf(args...) printf(args) -#else // don't print debugging info -#define DEBUG_printf(args...) (void)0 -#endif - -int printf(const char *fmt, ...); - -#endif |