mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Forgot to add this file
This commit is contained in:
parent
4766593ff7
commit
6441821fc3
38
platform/stepper-robot/Makefile.stepper-robot
Normal file
38
platform/stepper-robot/Makefile.stepper-robot
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
STEPPER_ROBOT = leds.c leds-arch.c sam7s-spi.c stepper-process.c stepper.c stepper-interrupt.c stepper-move.c
|
||||||
|
|
||||||
|
CODEPROP_SOURCES = codeprop-otf.c ram-segments.c
|
||||||
|
UIPDRIVERS= cc2420.c cc2420_send_ip.c cc2420_send_uaodv.c cc2420-interrupt.c \
|
||||||
|
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
|
||||||
|
|
||||||
|
include $(CONTIKI)/cpu/at91sam7s/Makefile.at91sam7s
|
||||||
|
|
||||||
|
#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
|
Loading…
Reference in New Issue
Block a user