mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Renamed sensinode-debug to debug
This commit is contained in:
parent
bce34e4b9a
commit
977bc548f3
@ -40,7 +40,7 @@
|
||||
#include "contiki.h"
|
||||
#include "cc2430_sfr.h"
|
||||
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#include "dev/cc2430_rf.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "dev/leds.h"
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#endif
|
||||
|
||||
#define DEBUG 0
|
||||
|
@ -58,7 +58,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#else
|
||||
#define putstring(s)
|
||||
|
@ -96,7 +96,7 @@
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#endif /* CONTIKI_TARGET_SENSINODE */
|
||||
#define PRINTF(...) printf(__VA_ARGS__)
|
||||
#else /* DEBUG */
|
||||
|
@ -49,7 +49,7 @@
|
||||
#define DEBUG 1
|
||||
#if DEBUG
|
||||
#include <stdio.h>
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#define PRINTF(...) printf(__VA_ARGS__)
|
||||
#define PUTBIN(b) putbin(b)
|
||||
#else
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#else
|
||||
#define putstring(s)
|
||||
#define puthex(s)
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#endif
|
||||
|
||||
#define DEBUG DEBUG_NONE
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#if CONTIKI_TARGET_SENSINODE
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#else
|
||||
#define putstring(s)
|
||||
#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 += 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 += putchar.c sensinode-debug.c
|
||||
CONTIKI_TARGET_SOURCEFILES += putchar.c debug.c
|
||||
|
||||
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "net/rime.h"
|
||||
#include "net/netstack.h"
|
||||
#include "net/mac/frame802154.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
#include "dev/watchdog-cc2430.h"
|
||||
#include "dev/sensinode-sensors.h"
|
||||
#include "disco.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include "cc2430_sfr.h"
|
||||
#include "8051def.h"
|
||||
#include "sensinode-debug.h"
|
||||
#include "debug.h"
|
||||
|
||||
static const char hexconv[] = "0123456789abcdef";
|
||||
static const char binconv[] = "01";
|
@ -40,8 +40,8 @@
|
||||
* George Oikonomou - <oikonomou@users.sourceforge.net>
|
||||
*/
|
||||
|
||||
#ifndef SENSINODE_DEBUG_H_
|
||||
#define SENSINODE_DEBUG_H_
|
||||
#ifndef DEBUG_H_
|
||||
#define DEBUG_H_
|
||||
|
||||
#include "8051def.h"
|
||||
#include "dev/uart1.h"
|
||||
@ -51,4 +51,4 @@ void putstring(char *s);
|
||||
void puthex(uint8_t c);
|
||||
void putbin(uint8_t c);
|
||||
|
||||
#endif /* SENSINODE_DEBUG_H_ */
|
||||
#endif /* DEBUG_H_ */
|
Loading…
Reference in New Issue
Block a user