Renamed sensinode-debug to debug
This commit is contained in:
parent
bce34e4b9a
commit
977bc548f3
12 changed files with 14 additions and 14 deletions
|
@ -40,7 +40,7 @@
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "cc2430_sfr.h"
|
#include "cc2430_sfr.h"
|
||||||
|
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#include "dev/cc2430_rf.h"
|
#include "dev/cc2430_rf.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#include "dev/leds.h"
|
#include "dev/leds.h"
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#else
|
#else
|
||||||
#define putstring(s)
|
#define putstring(s)
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#endif /* CONTIKI_TARGET_SENSINODE */
|
#endif /* CONTIKI_TARGET_SENSINODE */
|
||||||
#define PRINTF(...) printf(__VA_ARGS__)
|
#define PRINTF(...) printf(__VA_ARGS__)
|
||||||
#else /* DEBUG */
|
#else /* DEBUG */
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
#define DEBUG 1
|
#define DEBUG 1
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#define PRINTF(...) printf(__VA_ARGS__)
|
#define PRINTF(...) printf(__VA_ARGS__)
|
||||||
#define PUTBIN(b) putbin(b)
|
#define PUTBIN(b) putbin(b)
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#else
|
#else
|
||||||
#define putstring(s)
|
#define putstring(s)
|
||||||
#define puthex(s)
|
#define puthex(s)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUG DEBUG_NONE
|
#define DEBUG DEBUG_NONE
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
#if CONTIKI_TARGET_SENSINODE
|
#if CONTIKI_TARGET_SENSINODE
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#else
|
#else
|
||||||
#define putstring(s)
|
#define putstring(s)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,7 +40,7 @@ CONTIKI_TARGET_SOURCEFILES = contiki-sensinode-main.c
|
||||||
CONTIKI_TARGET_SOURCEFILES += leds.c leds-arch.c serial-line.c sensors.c
|
CONTIKI_TARGET_SOURCEFILES += leds.c leds-arch.c serial-line.c sensors.c
|
||||||
CONTIKI_TARGET_SOURCEFILES += sensinode-sensors.c button-sensor.c adc-sensor.c
|
CONTIKI_TARGET_SOURCEFILES += sensinode-sensors.c button-sensor.c adc-sensor.c
|
||||||
CONTIKI_TARGET_SOURCEFILES += n740.c models.c m25p16.c slip-arch.c slip.c
|
CONTIKI_TARGET_SOURCEFILES += n740.c models.c m25p16.c slip-arch.c slip.c
|
||||||
CONTIKI_TARGET_SOURCEFILES += putchar.c sensinode-debug.c
|
CONTIKI_TARGET_SOURCEFILES += putchar.c debug.c
|
||||||
|
|
||||||
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
|
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "net/rime.h"
|
#include "net/rime.h"
|
||||||
#include "net/netstack.h"
|
#include "net/netstack.h"
|
||||||
#include "net/mac/frame802154.h"
|
#include "net/mac/frame802154.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
#include "dev/watchdog-cc2430.h"
|
#include "dev/watchdog-cc2430.h"
|
||||||
#include "dev/sensinode-sensors.h"
|
#include "dev/sensinode-sensors.h"
|
||||||
#include "disco.h"
|
#include "disco.h"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "cc2430_sfr.h"
|
#include "cc2430_sfr.h"
|
||||||
#include "8051def.h"
|
#include "8051def.h"
|
||||||
#include "sensinode-debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
static const char hexconv[] = "0123456789abcdef";
|
static const char hexconv[] = "0123456789abcdef";
|
||||||
static const char binconv[] = "01";
|
static const char binconv[] = "01";
|
|
@ -40,8 +40,8 @@
|
||||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SENSINODE_DEBUG_H_
|
#ifndef DEBUG_H_
|
||||||
#define SENSINODE_DEBUG_H_
|
#define DEBUG_H_
|
||||||
|
|
||||||
#include "8051def.h"
|
#include "8051def.h"
|
||||||
#include "dev/uart1.h"
|
#include "dev/uart1.h"
|
||||||
|
@ -51,4 +51,4 @@ void putstring(char *s);
|
||||||
void puthex(uint8_t c);
|
void puthex(uint8_t c);
|
||||||
void putbin(uint8_t c);
|
void putbin(uint8_t c);
|
||||||
|
|
||||||
#endif /* SENSINODE_DEBUG_H_ */
|
#endif /* DEBUG_H_ */
|
Loading…
Reference in a new issue