Merge pull request #85 from simonduq/pr/project-conf
Auto-include project-conf
This commit is contained in:
commit
aaef87dc85
@ -74,6 +74,11 @@ endif
|
|||||||
|
|
||||||
MODULES += os os/sys os/dev os/lib os/services
|
MODULES += os os/sys os/dev os/lib os/services
|
||||||
|
|
||||||
|
# Automatically include project-conf.h if found
|
||||||
|
ifneq ("$(wildcard project-conf.h)","")
|
||||||
|
CFLAGS += -DPROJECT_CONF_PATH=\"project-conf.h\"
|
||||||
|
endif
|
||||||
|
|
||||||
# Configure MAC layer
|
# Configure MAC layer
|
||||||
|
|
||||||
# The different options
|
# The different options
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include Project Specific conf */
|
/* Include Project Specific conf */
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#endif /* PROJECT_CONF_H */
|
#endif /* PROJECT_CONF_PATH */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* \name Compiler configuration and platform-specific type definitions
|
* \name Compiler configuration and platform-specific type definitions
|
||||||
|
@ -138,10 +138,9 @@ typedef uint64_t rtimer_clock_t;
|
|||||||
#define NETSTACK_RADIO_MAX_PAYLOAD_LEN 125
|
#define NETSTACK_RADIO_MAX_PAYLOAD_LEN 125
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
#ifdef PROJECT_CONF_PATH
|
||||||
#ifdef PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#endif /* PROJECT_CONF_PATH */
|
||||||
#endif /* PROJECT_CONF_H */
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* CONTIKI_CONF_H_ */
|
#endif /* CONTIKI_CONF_H_ */
|
||||||
|
@ -50,9 +50,8 @@
|
|||||||
#endif /* CCM_STAR_CONF */
|
#endif /* CCM_STAR_CONF */
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
#ifdef PROJECT_CONF_PATH
|
||||||
#ifdef PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#endif /* PROJECT_CONF_PATH */
|
||||||
#endif /* PROJECT_CONF_H */
|
|
||||||
|
|
||||||
#endif /* CONTIKI_CONF_H_ */
|
#endif /* CONTIKI_CONF_H_ */
|
||||||
|
@ -91,9 +91,8 @@ typedef unsigned long clock_time_t;
|
|||||||
int strcasecmp(const char*, const char*);
|
int strcasecmp(const char*, const char*);
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
#ifdef PROJECT_CONF_PATH
|
||||||
#ifdef PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#endif /* PROJECT_CONF_PATH */
|
||||||
#endif /* PROJECT_CONF_H */
|
|
||||||
|
|
||||||
#endif /* CONTIKI_CONF_H_ */
|
#endif /* CONTIKI_CONF_H_ */
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include Project Specific conf */
|
/* Include Project Specific conf */
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#endif /* PROJECT_CONF_H */
|
#endif /* PROJECT_CONF_PATH */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include platform peripherals configuration */
|
/* Include platform peripherals configuration */
|
||||||
#include "platform-conf.h"
|
#include "platform-conf.h"
|
||||||
|
@ -51,9 +51,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include Project Specific conf */
|
/* Include Project Specific conf */
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#endif /* PROJECT_CONF_H */
|
#endif /* PROJECT_CONF_PATH */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* \name Compiler configuration and platform-specific type definitions
|
* \name Compiler configuration and platform-specific type definitions
|
||||||
|
@ -34,9 +34,8 @@
|
|||||||
#endif /* AES_128_CONF */
|
#endif /* AES_128_CONF */
|
||||||
|
|
||||||
/* include the project config */
|
/* include the project config */
|
||||||
/* PROJECT_CONF_H might be defined in the project Makefile */
|
#ifdef PROJECT_CONF_PATH
|
||||||
#ifdef PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#endif /* PROJECT_CONF_PATH */
|
||||||
#endif /* PROJECT_CONF_H */
|
|
||||||
|
|
||||||
#endif /* CONTIKI_CONF_H */
|
#endif /* CONTIKI_CONF_H */
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include Project Specific conf */
|
/* Include Project Specific conf */
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#endif /* PROJECT_CONF_H */
|
#endif /* PROJECT_CONF_PATH */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* \name Network Stack Configuration
|
* \name Network Stack Configuration
|
||||||
|
@ -49,9 +49,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/* Include Project Specific conf */
|
/* Include Project Specific conf */
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
#include PROJECT_CONF_H
|
#include PROJECT_CONF_PATH
|
||||||
#endif /* PROJECT_CONF_H */
|
#endif /* PROJECT_CONF_PATH */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* \name Compiler configuration and platform-specific type definitions
|
* \name Compiler configuration and platform-specific type definitions
|
||||||
|
@ -2,7 +2,6 @@ CONTIKI_PROJECT = sixp-node.c
|
|||||||
PROJECT_SOURCEFILES += test-sf.c
|
PROJECT_SOURCEFILES += test-sf.c
|
||||||
|
|
||||||
CONTIKI = ../../../
|
CONTIKI = ../../../
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
MAKE_MAC = MAKE_MAC_TSCH
|
MAKE_MAC = MAKE_MAC_TSCH
|
||||||
MODULES += os/net/mac/tsch/sixtop
|
MODULES += os/net/mac/tsch/sixtop
|
||||||
|
@ -9,7 +9,7 @@ endif
|
|||||||
MODULES += os/services/shell
|
MODULES += os/services/shell
|
||||||
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
|
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
|
||||||
PROJECT_SOURCEFILES += sf-plugtest.c
|
PROJECT_SOURCEFILES += sf-plugtest.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\" -Wno-nonnull-compare
|
CFLAGS += -Wno-nonnull-compare
|
||||||
|
|
||||||
ifeq ($(BOARD),launchpad/cc2650)
|
ifeq ($(BOARD),launchpad/cc2650)
|
||||||
# Enable DAP and TAP by default for ETSI Plugtest
|
# Enable DAP and TAP by default for ETSI Plugtest
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../..
|
||||||
|
|
||||||
MODULES += os/services/unit-test
|
MODULES += os/services/unit-test
|
||||||
|
@ -4,8 +4,6 @@ CONTIKI_SOURCEFILES += serial-protocol.c example-ipso-temperature.c
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
MODULES += os/net/app-layer/coap
|
MODULES += os/net/app-layer/coap
|
||||||
MODULES += os/services/lwm2m
|
MODULES += os/services/lwm2m
|
||||||
MODULES += os/services/ipso-objects
|
MODULES += os/services/ipso-objects
|
||||||
|
@ -3,8 +3,6 @@ all: coap-example-server coap-example-client
|
|||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
# automatically build RESTful resources
|
# automatically build RESTful resources
|
||||||
REST_RESOURCES_DIR = ./resources
|
REST_RESOURCES_DIR = ./resources
|
||||||
ifndef TARGET
|
ifndef TARGET
|
||||||
|
@ -13,8 +13,6 @@ endif
|
|||||||
|
|
||||||
MODULES += os/lib/json os/net/app-layer/httpd-ws
|
MODULES += os/lib/json os/net/app-layer/httpd-ws
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
ifeq ($(TARGET),)
|
ifeq ($(TARGET),)
|
||||||
-include Makefile.target
|
-include Makefile.target
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CONTIKI_PROJECT = root intermediate sink
|
CONTIKI_PROJECT = root intermediate sink
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ MODULES += os/services/slip-cmd
|
|||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += border-router-cmds.c tun-bridge.c border-router-mac.c \
|
PROJECT_SOURCEFILES += border-router-cmds.c tun-bridge.c border-router-mac.c \
|
||||||
slip-config.c slip-dev.c
|
slip-config.c slip-dev.c
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ all: $(CONTIKI_PROJECT)
|
|||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += slip-bridge.c
|
PROJECT_SOURCEFILES += slip-bridge.c
|
||||||
|
|
||||||
#Simple built-in webserver is the default.
|
#Simple built-in webserver is the default.
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
all: node
|
all: node
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
# Set MAKE_MAC = MAKE_MAC_TSCH to run TSCH instead
|
# Set MAKE_MAC = MAKE_MAC_TSCH to run TSCH instead
|
||||||
MAKE_MAC = MAKE_MAC_CSMA
|
MAKE_MAC = MAKE_MAC_CSMA
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ all: $(CONTIKI_PROJECT)
|
|||||||
|
|
||||||
PROJECT_SOURCEFILES += sf-simple.c
|
PROJECT_SOURCEFILES += sf-simple.c
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ CONTIKI_PROJECT = node
|
|||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
MAKE_WITH_ORCHESTRA ?= 0 # force Orchestra from command line
|
MAKE_WITH_ORCHESTRA ?= 0 # force Orchestra from command line
|
||||||
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
||||||
|
@ -8,7 +8,6 @@ endif
|
|||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += slip-net.c
|
PROJECT_SOURCEFILES += slip-net.c
|
||||||
ifeq ($(TARGET),sky)
|
ifeq ($(TARGET),sky)
|
||||||
PROJECT_SOURCEFILES += slip-radio-cc2420.c slip-radio-sky-sensors.c
|
PROJECT_SOURCEFILES += slip-radio-cc2420.c slip-radio-sky-sensors.c
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
CONTIKI_PROJECT = logging
|
CONTIKI_PROJECT = logging
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
all: mqtt-demo
|
all: mqtt-demo
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT = cc26xx-demo
|
CONTIKI_PROJECT = cc26xx-demo
|
||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
all: cc26xx-web-demo
|
all: cc26xx-web-demo
|
||||||
|
|
||||||
REST_RESOURCES_DIR = ./resources
|
REST_RESOURCES_DIR = ./resources
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT = very-sleepy-demo
|
CONTIKI_PROJECT = very-sleepy-demo
|
||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
@ -8,7 +8,6 @@ CONTIKI=../../../../..
|
|||||||
MAKE_MAC = MAKE_MAC_TSCH
|
MAKE_MAC = MAKE_MAC_TSCH
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
||||||
|
|
||||||
ifeq ($(PREFIX),)
|
ifeq ($(PREFIX),)
|
||||||
|
@ -10,7 +10,6 @@ MAKE_MAC = MAKE_MAC_TSCH
|
|||||||
MODULES += os/lib/json
|
MODULES += os/lib/json
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CFLAGS += -DWITH_COAP
|
CFLAGS += -DWITH_COAP
|
||||||
CFLAGS += -DUIP_CONF_TCP=0
|
CFLAGS += -DUIP_CONF_TCP=0
|
||||||
|
@ -10,7 +10,6 @@ MAKE_MAC = MAKE_MAC_TSCH
|
|||||||
MODULES += os/lib/json
|
MODULES += os/lib/json
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CFLAGS += -DWITH_COAP
|
CFLAGS += -DWITH_COAP
|
||||||
CFLAGS += -DUIP_CONF_TCP=0
|
CFLAGS += -DUIP_CONF_TCP=0
|
||||||
|
@ -10,7 +10,6 @@ MAKE_MAC = MAKE_MAC_TSCH
|
|||||||
MODULES += os/lib/json
|
MODULES += os/lib/json
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CFLAGS += -DWITH_COAP
|
CFLAGS += -DWITH_COAP
|
||||||
CFLAGS += -DUIP_CONF_TCP=0
|
CFLAGS += -DUIP_CONF_TCP=0
|
||||||
|
@ -8,6 +8,5 @@ CONTIKI=../../../../..
|
|||||||
MAKE_MAC = MAKE_MAC_TSCH
|
MAKE_MAC = MAKE_MAC_TSCH
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -5,7 +5,6 @@ JN516x_WITH_DONGLE = 1
|
|||||||
|
|
||||||
CONTIKI=../../../../../..
|
CONTIKI=../../../../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECTDIRS += .. ../../tools
|
PROJECTDIRS += .. ../../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
CFLAGS += -DWITH_COAP
|
CFLAGS += -DWITH_COAP
|
||||||
|
@ -4,7 +4,6 @@ TARGET ?= jn516x
|
|||||||
JN516x_WITH_DONGLE = 1
|
JN516x_WITH_DONGLE = 1
|
||||||
CONTIKI=../../../../../..
|
CONTIKI=../../../../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
||||||
|
|
||||||
PROJECTDIRS += .. ../../tools
|
PROJECTDIRS += .. ../../tools
|
||||||
|
@ -5,7 +5,6 @@ JN516x_WITH_DONGLE = 1
|
|||||||
|
|
||||||
CONTIKI=../../../../../..
|
CONTIKI=../../../../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECTDIRS += .. ../../tools
|
PROJECTDIRS += .. ../../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@ JN516x_WITH_DONGLE = 1
|
|||||||
|
|
||||||
CONTIKI=../../../../../..
|
CONTIKI=../../../../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
PROJECT_SOURCEFILES += slip-bridge.c slip.c
|
||||||
|
|
||||||
PROJECTDIRS += .. ../../tools
|
PROJECTDIRS += .. ../../tools
|
||||||
|
@ -6,7 +6,6 @@ TARGET_WITH_UART1 = 1
|
|||||||
|
|
||||||
CONTIKI=../../../../..
|
CONTIKI=../../../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
PROJECTDIRS += .. ../tools
|
PROJECTDIRS += .. ../tools
|
||||||
PROJECT_SOURCEFILES += rpl-tools.c
|
PROJECT_SOURCEFILES += rpl-tools.c
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
CONTIKI=../../../..
|
CONTIKI=../../../..
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
ifeq ($(MAKECMDGOALS),)
|
ifeq ($(MAKECMDGOALS),)
|
||||||
$(error Please specify whether coap-client or coap-server should be built)
|
$(error Please specify whether coap-client or coap-server should be built)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
all: mqtt-demo
|
all: mqtt-demo
|
||||||
|
|
||||||
CONTIKI_WITH_RPL = 0
|
CONTIKI_WITH_RPL = 0
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CONTIKI_PROJECT = test-tsl256x test-sht25 test-servo.c
|
CONTIKI_PROJECT = test-tsl256x test-sht25 test-servo.c
|
||||||
CONTIKI_PROJECT += test-bmp085-bmp180 test-motion test-rotation-sensor
|
CONTIKI_PROJECT += test-bmp085-bmp180 test-motion test-rotation-sensor
|
||||||
CONTIKI_PROJECT += test-grove-light-sensor test-grove-loudness-sensor
|
CONTIKI_PROJECT += test-grove-light-sensor test-grove-loudness-sensor
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT = at-master-test
|
CONTIKI_PROJECT = at-master-test
|
||||||
MODULES = os/services/at-master
|
MODULES = os/services/at-master
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
CFLAGS+=-DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT = client ifttt_client
|
CONTIKI_PROJECT = client ifttt_client
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES += PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
all: ip64-router
|
all: ip64-router
|
||||||
|
|
||||||
BOARD = orion
|
BOARD = orion
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CONTIKI_PROJECT = test-power-mgmt
|
CONTIKI_PROJECT = test-power-mgmt
|
||||||
|
|
||||||
BOARD ?= remote-revb
|
BOARD ?= remote-revb
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
CONTIKI_PROJECT = test-rtcc
|
CONTIKI_PROJECT = test-rtcc
|
||||||
|
|
||||||
TARGET = zoul
|
TARGET = zoul
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CONTIKI_PROJECT = sensniff
|
CONTIKI_PROJECT = sensniff
|
||||||
|
|
||||||
PROJECT_SOURCEFILES += sensniff-mac.c netstack.c
|
PROJECT_SOURCEFILES += sensniff-mac.c netstack.c
|
||||||
|
@ -48,9 +48,9 @@
|
|||||||
#define PRINTF(...)
|
#define PRINTF(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PROJECT_CONF_H
|
#ifdef PROJECT_CONF_PATH
|
||||||
/* Load the heapmem configuration from a project configuration file. */
|
/* Load the heapmem configuration from a project configuration file. */
|
||||||
#include "project-conf.h"
|
#include PROJECT_CONF_PATH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
all: test-ringbufindex
|
all: test-ringbufindex
|
||||||
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
MODULES += os/services/unit-test
|
MODULES += os/services/unit-test
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../..
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
CONTIKI=../../../..
|
CONTIKI=../../../..
|
||||||
|
|
||||||
CFLAGS+= -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
CONTIKI=../../../..
|
CONTIKI=../../../..
|
||||||
|
|
||||||
CFLAGS+= -DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
MAKE_MAC = MAKE_MAC_TSCH
|
MAKE_MAC = MAKE_MAC_TSCH
|
||||||
MODULES += os/net/mac/tsch/sixtop os/services/unit-test
|
MODULES += os/net/mac/tsch/sixtop os/services/unit-test
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ all: test-panid-handling test-tcsh-create-packet
|
|||||||
|
|
||||||
MAKE_MAC = MAKE_MAC_TSCH
|
MAKE_MAC = MAKE_MAC_TSCH
|
||||||
MODULES += os/services/unit-test
|
MODULES += os/services/unit-test
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
TEST_CONFIG_TYPE ?= DEFAULT
|
TEST_CONFIG_TYPE ?= DEFAULT
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
all: sender-node receiver-node root-node
|
all: sender-node receiver-node root-node
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS+=-DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
all: sender-node receiver-node root-node
|
all: sender-node receiver-node root-node
|
||||||
CONTIKI=../../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS+=-DPROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
|
|
||||||
CONTIKI_WITH_RPL_LITE = 0
|
CONTIKI_WITH_RPL_LITE = 0
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
CFLAGS += -D PROJECT_CONF_H=\"project-conf.h\"
|
|
||||||
APPS += unit-test
|
APPS += unit-test
|
||||||
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
|
MODULES += os/net/mac/tsch os/net/mac/tsch/sixtop
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ CONTIKI=../../..
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEFINES=WITH_SLIP=1,PROJECT_CONF_H=\"bridge-conf.h\"
|
DEFINES=WITH_SLIP=1
|
||||||
|
|
||||||
ifndef TARGET
|
ifndef TARGET
|
||||||
TARGET=sky
|
TARGET=sky
|
||||||
|
Loading…
Reference in New Issue
Block a user