2011-04-01 10:22:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
ARCH= irq.c sensors.c acc-sensor.c button-sensor.c temperature-sensor.c mems.c
|
|
|
|
|
|
|
|
CONTIKI_TARGET_DIRS = . dev
|
|
|
|
ifndef CONTIKI_TARGET_MAIN
|
2011-04-27 14:45:44 +02:00
|
|
|
CONTIKI_TARGET_MAIN = contiki-main.c led.c button.c board.c board-mbxxx.c
|
2011-04-01 10:22:29 +02:00
|
|
|
endif
|
|
|
|
|
2012-05-17 17:27:50 +02:00
|
|
|
ifeq ($(UIP_CONF_IPV6),1)
|
2011-04-01 10:22:29 +02: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-22 00:57:22 +01:00
|
|
|
ifeq ($(HOST_OS),Windows)
|
|
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-windows
|
2011-04-01 10:22:29 +02:00
|
|
|
endif
|
|
|
|
|