]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/IPBaseStation/Makefile
Changed the default to be that all platforms #include stdio.h unless specifically...
[tinyos-2.x.git] / apps / IPBaseStation / Makefile
index 5a8dde88b0516b43c02bcfd2a715b12b6c384238..49fd6eec4622a7df5b437b1b0fc8c864c82748b3 100644 (file)
@@ -5,8 +5,17 @@ COMPONENT=BaseStationC
 
 # this is necessary, otherwise we will allocate a heap by including
 # the lowpan target
-CFLAGS += -DNO_IP_MALLOC
+CFLAGS += -DNO_IP_MALLOC 
 
+# this aligns the 802.15.4 payload on the data field of a message_t.
+# very convenient for forwarding, and means we don't have to do a
+# memmove.  This doesn't mean that motes running blip also need this--
+# they can use IFRAMES or IEEE154FRAMES
+CFLAGS += -DIEEE154FRAMES_ENABLED
+
+# if you're worried about your interface mote crashing, enable this to
+# turn on a hardware watchdog that will reset it if it does.  CFLAGS
+# += -DBLIP_WATCHDOG
 #
 # debugging
 #
@@ -20,5 +29,11 @@ CFLAGS += -DNO_IP_MALLOC
 # for simulation
 # CFLAGS += -DBASESTATION_ID=100
 
+# defs for snooping-- handy for debugging LPL, etc.
+# CFLAGS += -DCC2420_NO_UNIQUE
+# CFLAGS += -DCC2420_DEF_CHANNEL=15
+# CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS
+# CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION
+
 include $(MAKERULES)