2007-09-01 13:17:25 +02:00
|
|
|
STEPPER_ROBOT = leds.c leds-arch.c sam7s-spi.c stepper-process.c stepper.c stepper-interrupt.c stepper-move.c
|
|
|
|
|
2009-07-11 17:07:59 +02:00
|
|
|
#CODEPROP_SOURCES = codeprop-otf.c ram-segments.c
|
|
|
|
UIPDRIVERS= cc2420.c cc2420-interrupt.c \
|
2007-09-01 13:17:25 +02:00
|
|
|
cc2420-spi.c slip.c
|
|
|
|
|
|
|
|
CONTIKI_TARGET_DIRS = . stepper
|
|
|
|
|
|
|
|
# Master clock frequency
|
|
|
|
MCK=23961600
|
|
|
|
CFLAGS+=-DAUTOSTART_ENABLE
|
|
|
|
|
|
|
|
ifndef CONTIKI_TARGET_MAIN
|
|
|
|
CONTIKI_TARGET_MAIN = robot-main.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += $(SENSORS) $(STEPPER_ROBOT) \
|
|
|
|
$(CODEPROP_SOURCES) $(CONTIKI_TARGET_MAIN)
|
|
|
|
|
|
|
|
# include $(CONTIKI)/platform/$(TARGET)/apps/Makefile.apps
|
|
|
|
|
2009-07-11 17:07:59 +02:00
|
|
|
include $(CONTIKI)/cpu/arm/at91sam7s/Makefile.at91sam7s
|
2007-09-01 13:17:25 +02:00
|
|
|
|
|
|
|
#contiki-$(TARGET).a: ${addprefix $(OBJECTDIR)/,symbols.o}
|
|
|
|
|
|
|
|
ifndef BASE_IP
|
|
|
|
BASE_IP := 172.16.1.1
|
|
|
|
endif
|
|
|
|
|
|
|
|
### System dependent Makefile
|
|
|
|
|
|
|
|
ifndef WINDIR
|
|
|
|
ifdef OS
|
|
|
|
ifneq (,$(findstring Windows,$(OS)))
|
|
|
|
WINDIR := Windows
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|