From: travisutk Date: Fri, 23 Dec 2011 14:30:06 +0000 (+0000) Subject: Fixed the board=telosb target. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=d0798f2be465edde4181142393359297e745d39c;hp=c5823f8b7ca8d31440a6a708b89a9c7354aa173e Fixed the board=telosb target. 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 --- diff --git a/firmware/config.mk b/firmware/config.mk index 4df6c11..0392839 100644 --- a/firmware/config.mk +++ b/firmware/config.mk @@ -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. diff --git a/firmware/goodfet.c b/firmware/goodfet.c index 6bb0f3e..4ed467e 100644 --- a/firmware/goodfet.c +++ b/firmware/goodfet.c @@ -157,7 +157,7 @@ int main(void) { reset_count = 0; } - + verb = serial_rx(); len = rxword();