freebsd-ports/devel/arduino/files/extrapatch-hardware-arduino-boards.txt
Carlos J. Puga Medina fdebfe0e85 devel/arduino: fix DOS2UNIX_REGEX, update atmega644 boards patch
- Many installed source files had CRLF line endings. This was due to too
  much escaping in DOS2UNIX_REGEX. Reduce the list of extensions to just
  the ones that need it and add (lower case) makefile.
- Update optional 644 boards.txt patch to be like the atmega328 version.
  Only add one board called atmega644 with the mcu set to atmega644p.
- Bump PORTREVISION

PR:             217817
Submitted by:   Craig Leres <leres@ee.lbl.gov> (maintainer)
2017-03-18 00:30:07 +00:00

27 lines
928 B
Text

--- hardware/arduino/boards.txt.orig 2017-03-15 17:34:53 UTC
+++ hardware/arduino/boards.txt
@@ -525,6 +525,24 @@ atmega8.build.variant=standard
##############################################################
+atmega644.name=ATmega644
+atmega644.upload.protocol=stk500
+atmega644.upload.maximum_size=63488
+atmega644.upload.speed=38400
+atmega644.bootloader.low_fuses=0xFF
+atmega644.bootloader.high_fuses=0xDC
+atmega644.bootloader.extended_fuses=0xFD
+atmega644.bootloader.path=atmega644p
+atmega644.bootloader.file=atmega644p
+atmega644.bootloader.unlock_bits=0x3F
+atmega644.bootloader.lock_bits=0x0F
+atmega644.build.mcu=atmega644p
+atmega644.build.f_cpu=16000000L
+atmega644.build.core=atmega644
+atmega644.build.variant=atmega644p
+
+##############################################################
+
robotControl.name=Arduino Robot Control
robotControl.upload.protocol=avr109
robotControl.upload.maximum_size=28672