2007-02-24 01:21:16 +01:00
|
|
|
CONTIKI=../..
|
|
|
|
|
|
|
|
TARGET=stepper-robot
|
|
|
|
|
|
|
|
CONTIKI_TARGET_DIRS=stepper
|
|
|
|
|
2007-03-07 17:15:00 +01:00
|
|
|
KERNELS= sys-tst.elf robot-main-syms.elf
|
2007-02-24 01:21:16 +01:00
|
|
|
|
|
|
|
# Master clock frequency
|
|
|
|
MCK=23961600
|
|
|
|
|
|
|
|
ARCH=debug-uart.o clock.o sys-interrupt.o interrupt-utils.o newlib-syscalls.o \
|
|
|
|
leds-arch.o sam7s-spi.o
|
|
|
|
|
2007-03-07 17:15:00 +01:00
|
|
|
SYSTEM=process.o procinit.o service.o clock.o etimer.o timer.o leds.o uip-log.o cfs.o
|
|
|
|
DEBUG_IO=dbg-printf.o dbg-puts.o dbg-putchar.o strformat.o
|
2007-02-24 01:21:16 +01:00
|
|
|
|
|
|
|
UIP=uip.o uiplib.o tcpip.o uip-fw.o uip-fw-service.o uipbuf.o \
|
|
|
|
tcpdump.o psock.o uaodv.o uaodv-rt.o uip-udp-packet.o
|
|
|
|
|
|
|
|
UIPDRIVERS= cc2420.o cc2420_send_ip.o cc2420_send_uaodv.o cc2420-interrupt.o \
|
|
|
|
cc2420-spi.o
|
|
|
|
|
2007-03-07 17:15:00 +01:00
|
|
|
SYSLIB=memb.o list.o malloc.o realloc.o
|
|
|
|
|
|
|
|
STEPPER=stepper-interrupt.o stepper-move.o stepper.o
|
|
|
|
|
|
|
|
ELFLOADER=elfloader-arm.o elfloader-otf.o symtab.o
|
|
|
|
CODEPROP=$(ELFLOADER) cfs-ram.o codeprop-otf.o ram-segments.o \
|
|
|
|
autostart.o random.o
|
2007-02-24 01:21:16 +01:00
|
|
|
|
|
|
|
CFLAGS+= -I stepper
|
|
|
|
|
2007-03-07 17:15:00 +01:00
|
|
|
cfs-ram.o: CFLAGS+= -DCFS_RAM_CONF_SIZE=4096
|
|
|
|
|
2007-02-24 01:21:16 +01:00
|
|
|
all: $(KERNELS)
|
|
|
|
|
|
|
|
sys-tst.elf: sys-tst.o $(ARCH) $(SYSTEM)
|
|
|
|
|
2007-03-07 17:15:00 +01:00
|
|
|
robot-main-syms.elf: robot-main.o stepper-process.o $(ARCH) $(SYSTEM) $(SYSLIB) $(UIP) $(UIPDRIVERS) $(STEPPER) $(CODEPROP) $(DEBUG_IO)
|
2007-02-24 01:21:16 +01:00
|
|
|
|
|
|
|
include $(CONTIKI)/cpu/at91sam7s/Makefile.at91sam7s
|