From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 11 01:33:04 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84C0210657D1 for ; Thu, 11 Feb 2010 01:33:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 430F68FC15 for ; Thu, 11 Feb 2010 01:33:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1B1X3rs017971 for ; Wed, 10 Feb 2010 18:33:03 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1B1X3mk017968 for ; Wed, 10 Feb 2010 18:33:03 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 10 Feb 2010 18:33:03 -0700 (MST) From: Warren Block To: embedded@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Wed, 10 Feb 2010 18:33:03 -0700 (MST) Cc: Subject: Preliminary Arduino port for testing X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 01:33:04 -0000 Thanks to Steven Kreuzer's help, this is a first pass at an Arduino port for FreeBSD. To test, first read the important note about avr-libc below. Then: mkdir /usr/ports/devel/arduino cd /usr/ports/devel/arduino fetch http://www.wonkity.com/~wblock/ardu/arduport.tgz tar xvzf arduport.tgz ...examine the files for quality and safety... make install clean Dependencies include Java 1.6, avr-gcc, and avr-libc, so it may take a while. ---- Important note: At present, devel/avr-libc is broken due to an upstream error that affects building the documents. If you comment out BROKEN= in the Makefile and build with -DNOPORTDOCS, it should build. Or... I have a patch that fixes the doc build and also makes it a config option. You can turn off that option to avoid building the docs and all of the doc tool dependencies. Of course, then you don't get the docs. To use the avr-libc patch: fetch http://www.wonkity.com/~wblock/ardu/patch-avr-libc cd /usr/ports patch < patch-avr-libc cd /usr/ports/devel/avr-libc ...examine the files for quality and safety... make config make install clean As usual, all of this seems to work for me, but I may have missed something horribly important. No warranties or guarantees. If symptoms persist, see your doctor. -Warren Block * Rapid City, South Dakota USA