mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
emb6: initial import
This commit is contained in:
parent
4dbc26fd4e
commit
aecb8ef15b
17
Makefile.dep
17
Makefile.dep
@ -357,6 +357,23 @@ ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_%,$(USEMODULE)))
|
||||
USEMODULE += emb6
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6,$(USEMODULE)))
|
||||
USEPKG += emb6
|
||||
USEMODULE += emb6_bsp
|
||||
USEMODULE += emb6_common
|
||||
USEMODULE += emb6_ipv6
|
||||
USEMODULE += emb6_ipv6_multicast
|
||||
USEMODULE += emb6_llsec
|
||||
USEMODULE += emb6_mac
|
||||
USEMODULE += emb6_rpl
|
||||
USEMODULE += emb6_sicslowpan
|
||||
USEMODULE += emb6_utils
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lwip_sixlowpan,$(USEMODULE)))
|
||||
USEMODULE += lwip_ipv6_autoconfig
|
||||
endif
|
||||
|
@ -3,6 +3,7 @@ PSEUDOMODULES += conn_ip
|
||||
PSEUDOMODULES += conn_tcp
|
||||
PSEUDOMODULES += conn_udp
|
||||
PSEUDOMODULES += core_thread_flags
|
||||
PSEUDOMODULES += emb6_router
|
||||
PSEUDOMODULES += gnrc_netdev_default
|
||||
PSEUDOMODULES += gnrc_ipv6_default
|
||||
PSEUDOMODULES += gnrc_ipv6_router
|
||||
|
11
pkg/emb6/Makefile
Normal file
11
pkg/emb6/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
PKG_NAME=emb6
|
||||
PKG_URL=https://github.com/hso-esk/emb6.git
|
||||
PKG_VERSION=14e4a3cfff01644e078870e14e16a1fe60dcc895
|
||||
PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/$(PKG_NAME)
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: git-download
|
||||
"$(MAKE)" -C $(PKG_BUILDDIR)
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
57
pkg/emb6/Makefile.include
Normal file
57
pkg/emb6/Makefile.include
Normal file
@ -0,0 +1,57 @@
|
||||
PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/emb6
|
||||
EMB6_DIR := $(PKG_BUILDDIR)
|
||||
|
||||
INCLUDES += -I$(EMB6_DIR)/target
|
||||
|
||||
ifeq (,$(filter emb6_router,$(USEMODULE)))
|
||||
CFLAGS += -DEMB6_CONF_ROUTER=FALSE
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_bsp,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/target/bsp
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_common,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_ipv6,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/net/ipv6
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_ipv6_multicast,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/net/ipv6/multicast
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6/multicast
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_llsec,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/mac/llsec
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac/llsec
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_mac,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/mac
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_rpl,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/net/rpl
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/rpl
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_sicslowpan,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/net/sicslowpan
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/sicslowpan
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_sock,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/emb6/src/tport
|
||||
INCLUDES += -I$(EMB6_DIR)/emb6/inc/tport
|
||||
endif
|
||||
|
||||
ifneq (,$(filter emb6_utils,$(USEMODULE)))
|
||||
DIRS += $(EMB6_DIR)/utils/src
|
||||
INCLUDES += -I$(EMB6_DIR)/utils/inc
|
||||
endif
|
9
pkg/emb6/doc.txt
Normal file
9
pkg/emb6/doc.txt
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* @defgroup pkg_emb6 emb6 network stack
|
||||
* @ingroup pkg
|
||||
* @brief emb6 network stack
|
||||
* @see https://github.com/hso-esk/emb6/raw/develop/doc/pdf/emb6.pdf
|
||||
*
|
||||
* emb6 is a fork of Contiki's uIP network stack without its usage of
|
||||
* proto-threads. It uses periodic event polling instead.
|
||||
*/
|
BIN
pkg/emb6/patches/0001-Add-RIOT-Makefiles.patch
Normal file
BIN
pkg/emb6/patches/0001-Add-RIOT-Makefiles.patch
Normal file
Binary file not shown.
BIN
pkg/emb6/patches/0002-Rename-colliding-files-and-functions.patch
Normal file
BIN
pkg/emb6/patches/0002-Rename-colliding-files-and-functions.patch
Normal file
Binary file not shown.
BIN
pkg/emb6/patches/0003-Fix-warnings.patch
Normal file
BIN
pkg/emb6/patches/0003-Fix-warnings.patch
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user