697af5ef08
This can be pulling in as a common driver if we can make a generic i2c Contiki driver.
22 lines
446 B
Makefile
22 lines
446 B
Makefile
# -*- makefile -*-
|
|
|
|
CONTIKI_TARGET_DIRS = . dev apps net
|
|
CONTIKI_CORE=contiki-mc1322x-main
|
|
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += contiki-mc1322x-main.c clock.c button-sensor.c sensors.c slip.c light-sensor.c tmp102-sensor.c
|
|
|
|
CONTIKIMC1322X=$(CONTIKI)/cpu/mc1322x
|
|
CONTIKIBOARD=.
|
|
|
|
CONTIKI_PLAT_DEFS =
|
|
|
|
MCU=arm7tdmi-s
|
|
|
|
ifdef UIP_CONF_IPV6
|
|
CFLAGS += -DWITH_UIP6=1
|
|
endif
|
|
|
|
include $(CONTIKIMC1322X)/Makefile.mc1322x
|
|
|