2013-11-27 11:55:06 +00:00
|
|
|
ARCH= irq.c sensors.c acc-sensor.c button-sensor.c temperature-sensor.c mems.c contact-sensor.c i2c.c eeprom.c
|
2011-04-01 08:22:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
CONTIKI_TARGET_DIRS = . dev
|
|
|
|
ifndef CONTIKI_TARGET_MAIN
|
2013-07-11 15:50:15 +00:00
|
|
|
CONTIKI_TARGET_MAIN = contiki-main.c board.c
|
2011-04-01 08:22:29 +00:00
|
|
|
endif
|
|
|
|
|
2013-07-11 15:50:15 +00:00
|
|
|
ifdef UIP_CONF_IPV6
|
2011-04-01 08:22:29 +00:00
|
|
|
CFLAGS += -DWITH_UIP6=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += $(ARCH) $(CONTIKI_TARGET_MAIN)
|
|
|
|
|
|
|
|
MCU=STM32W108
|
|
|
|
include $(CONTIKI)/cpu/stm32w108/Makefile.stm32w108
|
|
|
|
|
|
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-linux
|
|
|
|
|
2012-02-21 23:57:22 +00:00
|
|
|
ifeq ($(HOST_OS),Windows)
|
|
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-windows
|
2011-04-01 08:22:29 +00:00
|
|
|
endif
|
2013-12-05 22:56:30 +00:00
|
|
|
|
2013-12-12 19:45:45 +00:00
|
|
|
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 \
|
|
|
|
core/net/rpl core/net/rime core/net/mac core/net/mac/contikimac
|