1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
COMPONENT=UDPEchoC
# uncomment this for network programming support
# BOOTLOADER=tosboot
# radio options
# CFLAGS += -DCC2420_DEF_CHANNEL=26
# CFLAGS += -DRF230_DEF_CHANNEL=26
# CFLAGS += -DCC2420_DEF_RFPOWER=4 -DENABLE_SPI0_DMA
# enable dma on the radio
# PFLAGS += -DENABLE_SPI0_DMA
# you can compile with or without a routing protocol... of course,
# without it, you will only be able to use link-local communication.
PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(TOSDIR)/lib/net/rpl
# PFLAGS += -DRPL_OF_MRHOF
# tell the 6lowpan layer to not generate hc-compressed headers
# PFLAGS += -DLIB6LOWPAN_HC_VERSION=-1
# if this is set, motes will send debugging information to the address
# listed. BLIP_STATS causes blip to record statistics.
# you can log this information using the util/Listener.py script
# PFLAGS += -DREPORT_DEST=\"fec0::100\" -DBLIP_STATS
# if you're using DHCP, set this to try and derive a 16-bit address
# from the IA received from the server. This will work if the server
# gives out addresses from a /112 prefix. If this is not set, blip
# will only use EUI64-based link addresses. If not using DHCP, this
# causes blip to use TOS_NODE_ID as short address. Otherwise the
# EUI will be used in either case.
PFLAGS += -DBLIP_DERIVE_SHORTADDRS
# this disables dhcp and statically chooses a prefix. the motes form
# their ipv6 address by combining this with TOS_NODE_ID
PFLAGS += -DIN6_PREFIX=\"fec0::\"
# PFLAGS += -DNEW_PRINTF_SEMANTICS -DPRINTFUART_ENABLED
include $(MAKERULES)
|