1 CONTIKI_TARGET_DIRS = . apps net loader
3 CONTIKI_CORE=contiki-raven-main
4 CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
5 CONTIKI_TARGET_SOURCEFILES += contiki-raven-main.c contiki-raven-default-init-net.c
7 CONTIKIAVR=$(CONTIKI)/cpu/avr
10 CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAUTO_CRC_PADDING=2
13 AVRDUDE_PROGRAMMER=jtag2
15 # For usb devices, you may either use PORT=usb, or (e.g. if you have more than one
16 # programmer connected) you can use the following trick to find out the serial number:
18 # The example is for an JTAGICE mkII used to program an ATmega128:
19 # avrdude -v -P usb:xxxx -c jtag2 -p atmega128
20 AVRDUDE_PORT=usb:00B000000D79
23 # Additional avrdude options
28 include $(CONTIKIAVR)/Makefile.avr
29 include $(CONTIKIAVR)/radio/Makefile.radio