mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
c7b1248aac
This patch add the I2C driver for mbxxx platform to communicate with devices connected to the SC2 I2C bus. Signed-off-by: Maria Laura Stefanizzi <laura28582@gmail.com>
23 lines
536 B
Makefile
23 lines
536 B
Makefile
ARCH= irq.c sensors.c acc-sensor.c button-sensor.c temperature-sensor.c mems.c contact-sensor.c i2c.c
|
|
|
|
|
|
CONTIKI_TARGET_DIRS = . dev
|
|
ifndef CONTIKI_TARGET_MAIN
|
|
CONTIKI_TARGET_MAIN = contiki-main.c board.c
|
|
endif
|
|
|
|
ifdef UIP_CONF_IPV6
|
|
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
|
|
|
|
ifeq ($(HOST_OS),Windows)
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-windows
|
|
endif
|