From owner-svn-ports-all@freebsd.org Wed Jun 6 14:36:24 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45E4DFF8262; Wed, 6 Jun 2018 14:36:24 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC760771F6; Wed, 6 Jun 2018 14:36:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD94A4500; Wed, 6 Jun 2018 14:36:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w56EaNJQ040652; Wed, 6 Jun 2018 14:36:23 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w56EaMce040647; Wed, 6 Jun 2018 14:36:22 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201806061436.w56EaMce040647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 6 Jun 2018 14:36:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471846 - in head/devel: . lattice-ice40-examples-hx1k X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/devel: . lattice-ice40-examples-hx1k X-SVN-Commit-Revision: 471846 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2018 14:36:24 -0000 Author: tobik Date: Wed Jun 6 14:36:22 2018 New Revision: 471846 URL: https://svnweb.freebsd.org/changeset/ports/471846 Log: New port: devel/lattice-ice40-examples-hx1k Examples (LED blinky and VGA + PS/2) for the Lattice iCE40-HX1K FPGA board from Olimex WWW: https://github.com/OLIMEX/iCE40HX1K-EVB PR: 227593 Submitted by: Johnny Sorocil Differential Revision: https://reviews.freebsd.org/D15632 Added: head/devel/lattice-ice40-examples-hx1k/ head/devel/lattice-ice40-examples-hx1k/Makefile (contents, props changed) head/devel/lattice-ice40-examples-hx1k/distinfo (contents, props changed) head/devel/lattice-ice40-examples-hx1k/pkg-descr (contents, props changed) head/devel/lattice-ice40-examples-hx1k/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jun 6 14:26:23 2018 (r471845) +++ head/devel/Makefile Wed Jun 6 14:36:22 2018 (r471846) @@ -1327,6 +1327,7 @@ SUBDIR += kyra SUBDIR += kyua SUBDIR += lasi + SUBDIR += lattice-ice40-examples-hx1k SUBDIR += lcov SUBDIR += leaktracer SUBDIR += leatherman Added: head/devel/lattice-ice40-examples-hx1k/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lattice-ice40-examples-hx1k/Makefile Wed Jun 6 14:36:22 2018 (r471846) @@ -0,0 +1,47 @@ +# Created by: Johnny Sorocil +# $FreeBSD$ + +PORTNAME= lattice-ice40-examples-hx1k +PORTVERSION= g20180310 +CATEGORIES= devel + +MAINTAINER= jsorocil@gmail.com +COMMENT= Lattice iCE40 FPGA examples for the Olimex HX1K board + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= abc:cad/abc \ + arachne-pnr:devel/arachne-pnr \ + icepack:devel/icestorm \ + yosys:devel/yosys + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= OLIMEX +GH_PROJECT= iCE40HX1K-EVB +GH_TAGNAME= 69df5a7fc2daa8f00a984426b721499f6df22492 + +EXAMPLESDIR= ${PREFIX}/share/examples/lattice-ice40-olimex +NO_ARCH= yes + +do-build: + ${DO_MAKE_BUILD} -C ${WRKSRC}/demo/ice40hx1k-evb + ${DO_MAKE_BUILD} -C ${WRKSRC}/demo/ice40-io-video + +do-install: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/demo/ice40hx1k-evb/example.v \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-blinky.v + ${INSTALL_DATA} ${WRKSRC}/demo/ice40hx1k-evb/example.rpt \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-blinky.rpt + ${INSTALL_DATA} ${WRKSRC}/demo/ice40hx1k-evb/example.bin \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-blinky.bin + ${INSTALL_DATA} ${WRKSRC}/demo/ice40-io-video/example.v \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-vga-ps2.v + ${INSTALL_DATA} ${WRKSRC}/demo/ice40-io-video/example.rpt \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-vga-ps2.rpt + ${INSTALL_DATA} ${WRKSRC}/demo/ice40-io-video/example.bin \ + ${STAGEDIR}${EXAMPLESDIR}/ice40hx1k-vga-ps2.bin + +.include Added: head/devel/lattice-ice40-examples-hx1k/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lattice-ice40-examples-hx1k/distinfo Wed Jun 6 14:36:22 2018 (r471846) @@ -0,0 +1,3 @@ +TIMESTAMP = 1526722546 +SHA256 (OLIMEX-iCE40HX1K-EVB-g20180310-69df5a7fc2daa8f00a984426b721499f6df22492_GH0.tar.gz) = 99a6328ccfcd7a6a8a25d1521c028d1a1b5418b7de1dcc3b2db40e7d1bed9034 +SIZE (OLIMEX-iCE40HX1K-EVB-g20180310-69df5a7fc2daa8f00a984426b721499f6df22492_GH0.tar.gz) = 2181827 Added: head/devel/lattice-ice40-examples-hx1k/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lattice-ice40-examples-hx1k/pkg-descr Wed Jun 6 14:36:22 2018 (r471846) @@ -0,0 +1,4 @@ +Examples (LED blinky and VGA + PS/2) for the Lattice iCE40-HX1K +FPGA board from Olimex + +WWW: https://github.com/OLIMEX/iCE40HX1K-EVB Added: head/devel/lattice-ice40-examples-hx1k/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lattice-ice40-examples-hx1k/pkg-plist Wed Jun 6 14:36:22 2018 (r471846) @@ -0,0 +1,6 @@ +%%EXAMPLESDIR%%/ice40hx1k-blinky.bin +%%EXAMPLESDIR%%/ice40hx1k-blinky.rpt +%%EXAMPLESDIR%%/ice40hx1k-blinky.v +%%EXAMPLESDIR%%/ice40hx1k-vga-ps2.bin +%%EXAMPLESDIR%%/ice40hx1k-vga-ps2.rpt +%%EXAMPLESDIR%%/ice40hx1k-vga-ps2.v