Add avr-atmega128rfa1 platform based on Michael Hartman's board (single LED peripheral)
This commit is contained in:
parent
587951cf65
commit
62b894e560
42 changed files with 4793 additions and 0 deletions
30
platform/avr-atmega128rfa1/Makefile.avr-atmega128rfa1
Normal file
30
platform/avr-atmega128rfa1/Makefile.avr-atmega128rfa1
Normal file
|
@ -0,0 +1,30 @@
|
|||
CONTIKI_TARGET_DIRS = . apps net loader
|
||||
|
||||
CONTIKI_CORE=contiki-main
|
||||
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
||||
CONTIKI_TARGET_SOURCEFILES += contiki-main.c
|
||||
|
||||
CONTIKIAVR=$(CONTIKI)/cpu/avr
|
||||
CONTIKIBOARD=.
|
||||
|
||||
CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAUTO_CRC_PADDING=2
|
||||
|
||||
MCU=atmega128rfa1
|
||||
|
||||
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
|
||||
include $(CONTIKIAVR)/radio/Makefile.radio
|
Loading…
Add table
Add a link
Reference in a new issue