all: $(app).hex
-lib/.o:
+lib/.o: config
./configure
false
lib/RUNCONFIG.o:
./configure
false
-include/config.h:
+config:
cp platforms/$(platform).h include/config.h
goodfet.hex: goodfet
$(BSL) -P $(app).hex -v $(app).hex
dumpinfo:
$(BSL) --dumpinfo
+$(app).c: config
$(app): $(app).c $(libs) $(apps)
$(app).hex: $(app)
msp430-objcopy goodfet -O ihex goodfet.hex
doxygen
pushdocs: docs
rsync --exclude .svn -ave ssh doc/html/* travisutk,goodfet@web.sourceforge.net:htdocs/docs/
-.FAKE: docs include/config.h
+.FAKE: docs
definition file, such as msp430x1612.c or msp430x2618.c.
*/
+#include "config.h"
+
#include "gfports.h"
#ifdef telosb
//! Called by monitor() when the DCO is correct and communication established.
void msp430_init_dco_done();
-//LED on P1.0
-#define PLEDOUT P1OUT
-#define PLEDDIR P1DIR
-#define PLEDPIN BIT0
-
BCSCTL1 &= ~(DIVA1 + DIVA0); /* remove /8 divisor from ACLK again */
- PLEDOUT=0;
+ PLEDOUT=~PLEDPIN;
}
+/*! \file goodfet.h
+ \author Travis Goodspeed
+ \brief Port descriptions for the GoodFET platform.
+
+*/
+
+
+
+
+//LED on P1.0
+#define PLEDOUT P1OUT
+#define PLEDDIR P1DIR
+#define PLEDPIN BIT0
+/*! \file telosb.h
+ \author Travis Goodspeed
+ \brief Port descriptions for the TelosB platform.
+
+ This file defines the Telos B hardware, so that the GoodFET firmware
+ may be loaded onto it. Adjustments include the !CS line of the CC2420
+ radio, the choice of serial port, and the LEDs.
+
+*/
+
+
+//LED on P1.0
+#define PLEDOUT P5OUT
+#define PLEDDIR P5DIR
+#define PLEDPIN BIT4