Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

Commit 2a672e9

Browse files
committed
CoapBlip: fixed RPL compile error.
Need to specify the objective function in RPL now. It used to be an ugly define buried in the RPL code.
1 parent 69c2ba6 commit 2a672e9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/CoapBlip/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@ COMPONENT=CoapBlipC
2323
# code if you don't use them
2424
# CFLAGS += -DNO_LIB6LOWPAN_ASCII
2525

26+
################################################################################
27+
### Configure RPL
28+
################################################################################
2629
# you can compile with or without a routing protocol... of course,
2730
# without it, you will only be able to use link-local communication.
2831
PFLAGS += -DRPL_ROUTING -DRPL_STORING_MODE -I$(TINYOS_OS_DIR)/lib/net/rpl
2932
#PFLAGS += -DRPL_OF_MRHOF -DRPL_ROOT_ADDR=1
33+
PFLAGS += -DRPL_OF_0=1
34+
PFLAGS += -DRPL_OF_MRHOF=0
35+
3036

3137
# Set this when you want to use statically assigned addresses. The stack will
3238
# not use DHCP in that case.

0 commit comments

Comments
 (0)