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 42 43
|
COMPONENT=BenchmarkAppC
# MAC protocol usage
CFLAGS += -DLOW_POWER_LISTENING
#CFLAGS += -DPACKET_LINK
# use 32-bit length statistics ? (default is 16 bits)
#CFLAGS += -DUSE_32_BITS
# the maximum edge count that is present in all benchmarks
CFLAGS += -DMAX_EDGE_COUNT=8
# exclude the standard benchmarks (or a part of it) from the problemset
# for low-memory platforms like telosa it might be necessary
#CFLAGS += -DEXCLUDE_STANDARD
#CFLAGS += -DEXCLUDE_STANDARD_THROUGHPUT
#CFLAGS += -DEXCLUDE_STANDARD_COLLISION
#CFLAGS += -DEXCLUDE_STANDARD_FORWARDING
# exclude the user defined benchmarks from the problemset
CFLAGS += -DEXCLUDE_USERDEFINED
# codeprofile, tossim support
CFLAGS += -Icodeprofile
CFLAGS += -Itossim
#CFLAGS += -DTRAFFIC_MONITOR
#CFLAGS += -I$(SZTETOSDIR)/lib/cc2420traffic
# channel settings
ifneq (,$(DEF_CHANNEL))
CFLAGS += -DCC2420_DEF_CHANNEL=$(DEF_CHANNEL)
CFLAGS += -DRF230_DEF_CHANNEL=$(DEF_CHANNEL)
CFLAGS += -DRFA1_DEF_CHANNEL=$(DEF_CHANNEL)
endif
ifneq (,$(findstring USE_32_BITS,$(CFLAGS)))
CFLAGS += -DTOSH_DATA_LENGTH=97
else
CFLAGS += -DTOSH_DATA_LENGTH=90
endif
include $(MAKERULES)
include Makefile.Pdetect
|