Fixed the board=telosb target.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 23 Dec 2011 14:30:06 +0000 (14:30 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 23 Dec 2011 14:30:06 +0000 (14:30 +0000)
Added a board=telosbbt target for when an RFCOMM module is attached to the expansion port.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1070 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/config.mk
firmware/goodfet.c

index 4df6c11..0392839 100644 (file)
@@ -45,11 +45,20 @@ endif
 ifneq (,$(findstring $(board),telosb))
 mcu :=msp430x1612
 platform := goodfet
-CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
+CFLAGS := -Dtelosb
 #CFLAGS+= -Werror
 config := monitor spi ccspi
 endif
 
+ifneq (,$(findstring $(board),telosbbt))
+mcu :=msp430x1612
+platform := goodfet
+#CFLAGS+= -Werror
+config := monitor spi ccspi
+endif
+
+
+
 
 ##################################
 ## These are experimental boards.
index 6bb0f3e..4ed467e 100644 (file)
@@ -157,7 +157,7 @@ int main(void)
                {
                        reset_count = 0;
                }
-
+               
                verb = serial_rx();
                len = rxword();