Bug 218235 - [PATCH] devel/arduino-tools: Update to 1.8.2 tools versions
Summary: [PATCH] devel/arduino-tools: Update to 1.8.2 tools versions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Boris Samorodov
URL:
Keywords: patch
Depends on: 217961 217967 218234
Blocks: 218221
  Show dependency treegraph
 
Reported: 2017-03-30 19:07 UTC by Kyle Evans
Modified: 2017-04-19 20:07 UTC (History)
1 user (show)

See Also:
bsam: maintainer-feedback+


Attachments
svn(1) diff of devel/arduino-tools (2.80 KB, patch)
2017-03-30 19:07 UTC, Kyle Evans
kevans: maintainer-approval+
Details | Diff
svn(1) diff of devel/arduino-tools (3.74 KB, patch)
2017-03-31 04:46 UTC, Kyle Evans
kevans: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer freebsd_triage 2017-03-30 19:07:58 UTC
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)
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2017-03-30 19:09:18 UTC
Making this a blocker of PR 218221, because the core update goes hand-in-hand with updating -tools to install arduino-avrdude.
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2017-03-31 04:46:07 UTC
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
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2017-03-31 12:51:54 UTC
Take.
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-04-19 19:56:06 UTC
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
Comment 5 Boris Samorodov freebsd_committer freebsd_triage 2017-04-19 20:07:44 UTC
Committed, thanks!