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)
This commit is contained in:
parent
e292ba0099
commit
fdebfe0e85
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436366
2 changed files with 12 additions and 27 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= arduino
|
||||
PORTVERSION= 1.0.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel java lang
|
||||
MASTER_SITES= http://arduino.cc/download.php?f=/
|
||||
|
@ -21,7 +21,7 @@ RUN_DEPENDS= ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar:comms/rxtx \
|
|||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USES= dos2unix tar:tgz kmod
|
||||
DOS2UNIX_REGEX= .*\(\.\(c|cpp|h|hex|html|ino|lst|txt\)|Makefile\)
|
||||
DOS2UNIX_REGEX= .*(\.(c|cpp|h|hex|txt)|Makefile|makefile)
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_OS= native
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
--- hardware/arduino/boards.txt.orig 2012-12-10 04:03:52.000000000 -0800
|
||||
+++ hardware/arduino/boards.txt 2012-12-26 21:02:48.000000000 -0800
|
||||
@@ -522,3 +522,39 @@
|
||||
atmega8.build.f_cpu=16000000L
|
||||
atmega8.build.core=arduino
|
||||
atmega8.build.variant=standard
|
||||
+
|
||||
+##############################################################
|
||||
+
|
||||
--- 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
|
||||
|
@ -18,25 +15,13 @@
|
|||
+atmega644.bootloader.file=atmega644p
|
||||
+atmega644.bootloader.unlock_bits=0x3F
|
||||
+atmega644.bootloader.lock_bits=0x0F
|
||||
+atmega644.build.mcu=atmega644
|
||||
+atmega644.build.mcu=atmega644p
|
||||
+atmega644.build.f_cpu=16000000L
|
||||
+atmega644.build.core=atmega644
|
||||
+atmega644.build.variant=atmega644p
|
||||
+
|
||||
+##############################################################
|
||||
+
|
||||
+atmega644p.name=ATmega644p
|
||||
+atmega644p.upload.protocol=stk500
|
||||
+atmega644p.upload.maximum_size=63488
|
||||
+atmega644p.upload.speed=38400
|
||||
+atmega644p.bootloader.low_fuses=0xFF
|
||||
+atmega644p.bootloader.high_fuses=0xDC
|
||||
+atmega644p.bootloader.extended_fuses=0xFD
|
||||
+atmega644p.bootloader.path=atmega644p
|
||||
+atmega644p.bootloader.file=atmega644p
|
||||
+atmega644p.bootloader.unlock_bits=0x3F
|
||||
+atmega644p.bootloader.lock_bits=0x0F
|
||||
+atmega644p.build.mcu=atmega644p
|
||||
+atmega644p.build.f_cpu=16000000L
|
||||
+atmega644p.build.core=atmega644
|
||||
+atmega644p.build.variant=atmega644p
|
||||
robotControl.name=Arduino Robot Control
|
||||
robotControl.upload.protocol=avr109
|
||||
robotControl.upload.maximum_size=28672
|
||||
|
|
Loading…
Reference in a new issue