2009-07-23 16:13:48 +00:00
|
|
|
CONTIKI_TARGET_DIRS = . apps net loader
|
2009-07-08 15:26:17 +00:00
|
|
|
|
2008-10-14 09:40:30 +00:00
|
|
|
CONTIKI_CORE=contiki-raven-main
|
|
|
|
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
2011-11-14 16:56:34 +00:00
|
|
|
CONTIKI_TARGET_SOURCEFILES += contiki-raven-main.c params.c
|
2011-03-08 18:07:00 +00:00
|
|
|
#The avr cpu makefile will also add these files if COFFEE_FILES is specified.
|
2011-03-11 19:16:27 +00:00
|
|
|
#CONTIKI_TARGET_SOURCEFILES += cfs-coffee.c cfs-coffee-arch.c
|
|
|
|
#Needed for slip
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += button-sensor.c sensors.c slip_uart0.c slip.c
|
2008-10-14 09:40:30 +00:00
|
|
|
|
|
|
|
CONTIKIAVR=$(CONTIKI)/cpu/avr
|
|
|
|
CONTIKIBOARD=.
|
|
|
|
|
|
|
|
CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAUTO_CRC_PADDING=2
|
|
|
|
|
|
|
|
MCU=atmega1284p
|
|
|
|
|
|
|
|
# For usb devices, you may either use PORT=usb, or (e.g. if you have more than one
|
|
|
|
# programmer connected) you can use the following trick to find out the serial number:
|
|
|
|
#
|
|
|
|
# The example is for an JTAGICE mkII used to program an ATmega128:
|
|
|
|
# avrdude -v -P usb:xxxx -c jtag2 -p atmega128
|
2011-03-08 18:07:00 +00:00
|
|
|
#AVRDUDE_PORT=usb:00B000000D79
|
|
|
|
AVRDUDE_PORT=usb
|
2008-10-14 09:40:30 +00:00
|
|
|
|
2013-02-16 23:35:31 +00:00
|
|
|
# Assume that the user has already configured AVRDUDE to use a specific programmer.
|
|
|
|
#AVRDUDE_PROGRAMMER?=jtag2
|
2008-10-14 09:40:30 +00:00
|
|
|
|
|
|
|
# Additional avrdude options
|
|
|
|
# Verify off
|
2011-03-08 18:07:00 +00:00
|
|
|
#AVRDUDE_OPTIONS=-V
|
2008-10-14 09:40:30 +00:00
|
|
|
|
2013-02-16 23:35:31 +00:00
|
|
|
AVRDUDE_MCU=m1284p
|
2008-10-14 09:40:30 +00:00
|
|
|
|
|
|
|
include $(CONTIKIAVR)/Makefile.avr
|
2009-09-07 12:06:33 +00:00
|
|
|
include $(CONTIKIAVR)/radio/Makefile.radio
|
2013-12-05 22:56:30 +00:00
|
|
|
|
2014-11-12 09:18:29 +00:00
|
|
|
MODULES += core/net/mac core/net core/net/mac/sicslowmac \
|
2013-05-24 07:21:53 +00:00
|
|
|
core/net/llsec
|