2010-12-01 17:23:55 +01:00
|
|
|
CONTIKI_TARGET_DIRS = . apps net loader
|
2008-11-13 16:07:52 +01:00
|
|
|
CONTIKI_CORE=contiki-rcb-main
|
|
|
|
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
|
|
|
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += rs232.c cfs-eeprom.c eeprom.c random.c \
|
|
|
|
mmem.c contiki-rcb-main.c
|
|
|
|
|
2015-01-17 19:19:16 +01:00
|
|
|
MODULES += core/net core/net/mac core/net/mac/sicslowmac core/net/mac/contikimac \
|
|
|
|
core/net/mac/cxmac core/net/rime core/net/ipv4 core/net/ip \
|
|
|
|
core/net/ipv6 core/net/rpl core/net/llsec
|
|
|
|
|
2008-11-13 16:07:52 +01:00
|
|
|
CONTIKIAVR=$(CONTIKI)/cpu/avr
|
|
|
|
CONTIKIBOARD=.
|
|
|
|
|
2015-01-17 19:19:16 +01:00
|
|
|
CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAUTO_CRC_PADDING=2 -DNETSTACK_CONF_WITH_RIME=1 -DNETSTACK_CONF_WITH_IPV6=1
|
2008-11-13 16:07:52 +01:00
|
|
|
|
|
|
|
MCU=atmega1281
|
|
|
|
AVRDUDE_PROGRAMMER=jtag2
|
|
|
|
|
|
|
|
# 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
|
|
|
|
AVRDUDE_PORT=usb:00B000000D79
|
|
|
|
|
|
|
|
|
|
|
|
# Additional avrdude options
|
|
|
|
# Verify off
|
|
|
|
AVRDUDE_OPTIONS=-V
|
|
|
|
|
|
|
|
|
|
|
|
include $(CONTIKIAVR)/Makefile.avr
|
2010-12-01 17:23:55 +01:00
|
|
|
include $(CONTIKIAVR)/radio/Makefile.radio
|