Created attachment 181324 [details] svn(1) diff of devel/arduino-tools Update our metaport to install tools versions for the 1.8.2 IDE/1.6.18 core. This brings in: * Formerly missing OpenOCD * ArduinoOTA for ESP8266 boards * devel/arduino-avrdude to replace devel/avrdude Also go ahead and define a LICENSE for this metaport, although it only installs symlinks. Looked over with: portlint -AC Tested with: Poudriere (-HEAD, amd64)
Making this a blocker of PR 218221, because the core update goes hand-in-hand with updating -tools to install arduino-avrdude.
Created attachment 181341 [details] svn(1) diff of devel/arduino-tools Tiny update to devel/arduino-tools to switch to using devel/gcc-arm-embedded instead of arm-none-eabi-{gcc,newlib}. I unfortunately had not realized that gcc-embedded was a separate thing entirely when I started this mess, so ended up with the devel/arm-none-eabi-{gcc,newlib} ports, the latter of which I created. arm-none-eabi-gcc was *not* producing binaries that worked with the Arduino Due. On the other hand, devel/gcc-arm-embedded *does* produce working binaries, and it can comes packaged with newlib. As an added bonus, it seems to have libstdcxx enabled for GCC which should allow SAMD ports to build based solely off of this following some more slight tweaks here and there, none of which I have time for within the next couple of weeks. Many thanks to lev@ for maintaining devel/gcc-arm-embedded
Take.
A commit references this bug: Author: bsam Date: Wed Apr 19 19:56:00 UTC 2017 New revision: 438907 URL: https://svnweb.freebsd.org/changeset/ports/438907 Log: devel/arduino-tools: Update metaport to install 1.8.2 IDE/1.6.18 core and: * Formerly missing OpenOCD * ArduinoOTA for ESP8266 boards * devel/arduino-avrdude to replace devel/avrdude * switch to using devel/gcc-arm-embedded instead of arm-none-eabi-{gcc, newlib} PR: 218235 Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintainer) Changes: head/devel/arduino-tools/Makefile head/devel/arduino-tools/pkg-plist
Committed, thanks!