Bug 211397 - [NEW PORT] devel/BOSSA: Flash programmer for Atmel SAM microcontrollers
Summary: [NEW PORT] devel/BOSSA: Flash programmer for Atmel SAM microcontrollers
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: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-26 23:55 UTC by Kyle Evans
Modified: 2016-09-23 18:42 UTC (History)
1 user (show)

See Also:


Attachments
shar(1) archive of devel/BOSSA (2.65 KB, application/x-shar)
2016-07-26 23:55 UTC, Kyle Evans
no flags Details
Updated shar(1) archive of devel/BOSSA (2.53 KB, text/plain)
2016-08-04 14:32 UTC, Kyle Evans
no flags Details
Updated shar(1) archive of devel/BOSSA (2.53 KB, application/x-shar)
2016-09-09 03:15 UTC, Kyle Evans
no flags Details
Updated shar(1) archive of devel/BOSSA (2.60 KB, text/plain)
2016-09-22 17:43 UTC, Kyle Evans
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer freebsd_triage 2016-07-26 23:55:29 UTC
Created attachment 173026 [details]
shar(1) archive of devel/BOSSA

As described- flash programmer for Atmel SAM microcontrollers, used at least in the later Arduino IDEs (1.6.x, not yet updated in ports).

I've chosen to leave the GUI BOSSA application as an option, off by default, because I don't believe it to be frequently used. Arduino uses `bossac`, which is the only executable installed with all options off.

No warnings from portlint, builds fine with Poudriere using a 9.3 jail, 10.2 jail, and slightly older build from former 11-CURRENT.
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2016-08-04 14:32:25 UTC
Created attachment 173281 [details]
Updated shar(1) archive of devel/BOSSA

Updated shar(1) archive of proposed devel/BOSSA to use the proper/cleaner OPTIONS_SUB.
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2016-09-09 03:15:46 UTC
Created attachment 174569 [details]
Updated shar(1) archive of devel/BOSSA

A couple more updates for this one:

* Use options helpers for BOSSA_ALL_TARGET and BOSSASH_ALL_TARGET
* Update port to use upstream's repository instead of my own -- my patch upstream for FreeBSD compatible has been merged, and this commit is still as stable as the previous commit used.
Comment 3 Kyle Evans freebsd_committer freebsd_triage 2016-09-22 17:43:47 UTC
Created attachment 175070 [details]
Updated shar(1) archive of devel/BOSSA

Some key points to this updated archive:

* Fix build with BOSSA option enabled -- previously missed due to some strangeness on my development machine
* Cleanup Makefile a little bit more
* Update to latest upstream commit -- this software is generally stable at any given point, but the latest commit is after work on the '1.7.0' version began. 1.7.0 is the first version where the Arduino maintainers have been allowed to merge their work into the 'master' branch and take over official development of BOSSA. I've given it a '1.7.0.a' version with the full expectation that upstream *will* be cutting a 1.7.0 release now that the branches have been merged, it's just a matter of when.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-09-23 18:38:44 UTC
A commit references this bug:

Author: jrm
Date: Fri Sep 23 18:37:48 UTC 2016
New revision: 422691
URL: https://svnweb.freebsd.org/changeset/ports/422691

Log:
  New port devel/bossa: Flash programmer for Atmel SAM microcontrollers

  PR:		211397
  Submitted by:	bsdports@kyle-evans.net (maintainer)
  Reviewed by:	swills (mentor)
  Approved by:	swills (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8017

Changes:
  head/devel/bossa/
  head/devel/bossa/Makefile
  head/devel/bossa/distinfo
  head/devel/bossa/pkg-descr
  head/devel/bossa/pkg-plist
Comment 5 Joseph Mingrone freebsd_committer freebsd_triage 2016-09-23 18:42:54 UTC
Committed with minor changes.
  - Use lower case for port name to match bin/bossa
    - Update WRKSRC
  - Use BOSSA_USE=... instead of .if ${PORT_OPTIONS:MBOSSA}...

Thank you!