All MAC layers as distinct modules
This commit is contained in:
parent
880e69f770
commit
f79aa2174e
@ -39,7 +39,7 @@
|
||||
* Simon Duquennoy <simon.duquennoy@ri.se>
|
||||
*/
|
||||
|
||||
#include "net/mac/csma.h"
|
||||
#include "net/mac/csma/csma.h"
|
||||
#include "net/packetbuf.h"
|
||||
#include "net/queuebuf.h"
|
||||
#include "dev/watchdog.h"
|
@ -38,8 +38,8 @@
|
||||
* Simon Duquennoy <simon.duquennoy@ri.se>
|
||||
*/
|
||||
|
||||
#include "net/mac/csma.h"
|
||||
#include "net/mac/csma-output.h"
|
||||
#include "net/mac/csma/csma.h"
|
||||
#include "net/mac/csma/csma-output.h"
|
||||
#include "net/mac/mac-sequence.h"
|
||||
#include "net/packetbuf.h"
|
||||
#include "net/netstack.h"
|
@ -37,7 +37,7 @@
|
||||
* Adam Dunkels <adam@sics.se>
|
||||
*/
|
||||
|
||||
#include "net/mac/nullmac.h"
|
||||
#include "net/mac/nullmac/nullmac.h"
|
||||
#include "net/netstack.h"
|
||||
#include "net/ip/uip.h"
|
||||
#include "net/ip/tcpip.h"
|
@ -44,7 +44,7 @@
|
||||
#include "nrf_soc.h"
|
||||
#include "iot_defines.h"
|
||||
|
||||
#include "net/mac/nullmac.h"
|
||||
#include "net/mac/nullmac/nullmac.h"
|
||||
#include "net/netstack.h"
|
||||
#include "net/ip/uip.h"
|
||||
#include "net/ip/tcpip.h"
|
||||
|
@ -19,7 +19,8 @@ CLEAN += *.cc2538dk
|
||||
CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538
|
||||
include $(CONTIKI_CPU)/Makefile.cc2538
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
||||
PYTHON = python
|
||||
BSL_FLAGS += -e -w -v
|
||||
|
@ -74,7 +74,8 @@ CONTIKI_CPU=$(CONTIKI)/drivers/cpu/x86
|
||||
CFLAGSNO = $(EXTRA_CC_ARGS) -Wall -g -I/usr/local/include -DCLASSNAME=$(CLASSNAME)
|
||||
CFLAGS += $(CFLAGSNO)
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer core/net/ip64-addr
|
||||
MODULES += core/net core/net/mac core/net/mac/framer core/net/ip64-addr \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
||||
## Copied from Makefile.include, since Cooja overrides CFLAGS et al
|
||||
HAS_STACK = 0
|
||||
|
@ -143,7 +143,8 @@ endif
|
||||
CLEAN += *.jn516x
|
||||
CLEAN += *.jn516x.bin
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
||||
CONTIKI_TARGET_SOURCEFILES += $(ARCH)
|
||||
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)
|
||||
|
@ -42,4 +42,5 @@ CURSES_LIBS ?= -lncurses
|
||||
|
||||
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||
|
||||
MODULES+=core/net core/net/mac core/net/mac/framer core/net/ip64-addr/
|
||||
MODULES+=core/net core/net/mac core/net/mac/framer core/net/ip64-addr/ \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
@ -28,4 +28,5 @@ SMALL ?= 0
|
||||
CONTIKI_CPU=$(CONTIKI)/drivers/cpu/nrf52832
|
||||
include $(CONTIKI_CPU)/Makefile.nrf52832
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
@ -26,7 +26,8 @@ CLEAN += *.openmote-cc2538
|
||||
CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538
|
||||
include $(CONTIKI_CPU)/Makefile.cc2538
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
||||
PYTHON = python
|
||||
BSL_FLAGS += -e --bootloader-invert-lines -w -v -b 450000
|
||||
|
@ -7,4 +7,5 @@ CONTIKI_TARGET_SOURCEFILES += contiki-sky-platform.c \
|
||||
include $(CONTIKI)/drivers/platform/sky/Makefile.common
|
||||
|
||||
MODULES += core/net/mac core/net/mac/framer core/net \
|
||||
core/net/mac/csma core/net/mac/nullmac \
|
||||
drivers/dev/cc2420 drivers/dev/sht11 drivers/dev/ds2411
|
||||
|
@ -32,4 +32,5 @@ SMALL ?= 0
|
||||
CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc26xx-cc13xx
|
||||
include $(CONTIKI_CPU)/Makefile.$(CPU_FAMILY)
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac
|
||||
|
@ -45,7 +45,8 @@ CLEAN += *.zoul
|
||||
CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538
|
||||
include $(CONTIKI_CPU)/Makefile.cc2538
|
||||
|
||||
MODULES += core/net core/net/mac core/net/mac/framer core/net/ip \
|
||||
MODULES += core/net core/net/mac core/net/mac/framer \
|
||||
core/net/mac/csma core/net/mac/nullmac \
|
||||
drivers/dev/cc1200
|
||||
|
||||
ifeq ($(WITH_IP64),1)
|
||||
|
Loading…
Reference in New Issue
Block a user