diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | ChangeLog | 15 | ||||
| -rwxr-xr-x | ao-bringup/turnon_teledongle | 26 | ||||
| -rw-r--r-- | debian/changelog | 7 | ||||
| -rw-r--r-- | debian/control | 4 | ||||
| -rw-r--r-- | debian/docs | 2 | ||||
| -rw-r--r-- | debian/gbp.conf (renamed from .gbp.conf) | 0 | ||||
| -rwxr-xr-x | debian/rules | 1 | ||||
| -rw-r--r-- | doc/Makefile | 25 | ||||
| -rw-r--r-- | doc/telemetrum.xsl | 44 | 
10 files changed, 122 insertions, 5 deletions
@@ -49,3 +49,6 @@ Makefile.in  missing  stamp-h1  tags +doc/telemetrum.fo +doc/telemetrum.html +doc/telemetrum.pdf @@ -1,3 +1,18 @@ +<<<<<<< HEAD +commit 20d4d410e0fc04fe192e309811eed6c0194fa5a8 +Author: Bdale Garbee <bdale@gag.com> +Date:   Tue Mar 30 23:11:40 2010 -0600 + +    initial harness for documentation + +commit 9801ff7de21027935f52ccabaa3ff157e22d21ce +Author: Bdale Garbee <bdale@gag.com> +Date:   Mon Mar 15 12:04:18 2010 -0600 + +    move gbp.conf into debian/ + +======= +>>>>>>> df7bda1f32b0049c3878c325ea0b55999f3980e3  commit eda5e1166a97766aa22561beaa1086ba4e19ee16  Author: Bdale Garbee <bdale@gag.com>  Date:   Thu Mar 4 17:33:39 2010 -0700 diff --git a/ao-bringup/turnon_teledongle b/ao-bringup/turnon_teledongle index 97c1e419..7dbb82b5 100755 --- a/ao-bringup/turnon_teledongle +++ b/ao-bringup/turnon_teledongle @@ -1,5 +1,23 @@  #!/bin/sh +if [ -x ../ao-tools/ao-load/ao-load ]; then +	AOLOAD=../ao-tools/ao-load/ao-load +elif [ -x /usr/bin/ao-load ]; then +	AOLOAD=/usr/bin/ao-load +else +	echo "Can't find ao-load!  Aborting." +	exit 1 +fi + +if [ -x ../ao-tools/ao-rawload/ao-rawload ]; then +	RAWLOAD=../ao-tools/ao-rawload/ao-rawload +elif [ -x /usr/bin/ao-rawload ]; then +	RAWLOAD=/usr/bin/ao-rawload +else +	echo "Can't find ao-rawload!  Aborting." +	exit 1 +fi +  echo "TeleDongle v0.2 Turn-On and Calibration Program"  echo "Copyright 2010 by Bdale Garbee.  Released under GPL v2"  echo @@ -11,18 +29,20 @@ echo  echo -n "TeleDongle serial number: "  read SERIAL -../ao-tools/ao-rawload/ao-rawload -r ao_led_blink.ihx +echo $RAWLOAD + +$RAWLOAD -r ao_led_blink.ihx  echo "LEDs should be blinking"  sleep 5 -../ao-tools/ao-rawload/ao-rawload -r ao_radio_xmit.ihx +$RAWLOAD -r ao_radio_xmit.ihx  echo -n "Generating RF carrier.  Please enter measured frequency: "  read FREQ  CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`  echo "Programming flash with cal value " $CAL_VALUE -ao-load --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2.ihx $SERIAL +$AOLOAD --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2.ihx $SERIAL  echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE  echo "Unplug and replug USB, cu to the board, confirm freq and record power" diff --git a/debian/changelog b/debian/changelog index 90b79f26..66e72832 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +altos (0.6+111+g20d4d41) unstable; urgency=low + +  * move gbp.conf into debian/ +  * initial harness for documentation + + -- Bdale Garbee <bdale@gag.com>  Tue, 30 Mar 2010 23:13:02 -0600 +  altos (0.6+108+g6e61170) unstable; urgency=low    [ Keith Packard ] diff --git a/debian/control b/debian/control index 7d21e602..2ba1722d 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,8 @@ Section: otherosfs  Priority: extra  Maintainer: Bdale Garbee <bdale@gag.com>  Uploaders: Keith Packard <keithp@keithp.com> -Build-Depends: debhelper (>= 7), autoconf, automake, flite1-dev, gawk, libasound2-dev, libgconf2-dev, libglade2-dev, libgtk2.0-dev, libreadline-dev, libusb-1.0-0-dev, nickle, sdcc, libplplot-dev -Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7), autoconf, automake, flite1-dev, gawk, libasound2-dev, libgconf2-dev, libglade2-dev, libgtk2.0-dev, libreadline-dev, libusb-1.0-0-dev, nickle, sdcc, libplplot-dev, xsltproc, fop, docbook.xsl +Standards-Version: 3.8.4  Homepage: http://altusmetrum.org/AltOS  Package: altos diff --git a/debian/docs b/debian/docs index 50bd824b..d5af59c7 100644 --- a/debian/docs +++ b/debian/docs @@ -1,2 +1,4 @@  NEWS  README +doc/telemetrum.html +doc/telemetrum.pdf diff --git a/.gbp.conf b/debian/gbp.conf index 9561fdfe..9561fdfe 100644 --- a/.gbp.conf +++ b/debian/gbp.conf diff --git a/debian/rules b/debian/rules index 780011b7..a7468b9f 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,7 @@ build: build-stamp  build-stamp: configure-stamp    	dh_testdir  	$(MAKE) VERSION=$(PKG_VERSION) +	(cd doc ; $(MAKE))  	touch $@  clean:  diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 00000000..d3293900 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,25 @@ +# +#	http://docbook.sourceforge.net/release/xsl/current/README +# + +all:	telemetrum.html telemetrum.pdf + +telemetrum.html:	telemetrum.xsl +	xsltproc -o telemetrum.html \ +		/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \ +		telemetrum.xsl + +telemetrum.fo:	telemetrum.xsl +	xsltproc -o telemetrum.fo \ +		/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl \ +		telemetrum.xsl + +telemetrum.pdf:	telemetrum.fo +	fop -fo telemetrum.fo -pdf telemetrum.pdf + +clean: +	rm -f telemetrum.html telemetrum.pdf telemetrum.fo + +indent:		telemetrum.xsl +	xmlindent -i 2 < telemetrum.xsl > telemetrum.new + diff --git a/doc/telemetrum.xsl b/doc/telemetrum.xsl new file mode 100644 index 00000000..7d855318 --- /dev/null +++ b/doc/telemetrum.xsl @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" +  "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd"> +<book> +  <bookinfo> +    <author> +      <firstname>Bdale</firstname> +      <surname>Garbee</surname> +    </author> +    <author> +      <firstname>Keith</firstname> +      <surname>Packard</surname> +    </author> +    <copyright> +      <year>2010</year> +      <holder>Bdale Garbee</holder> +    </copyright> +    <title>TeleMetrum</title> +    <subtitle>Owner's Manual for the TeleMetrum System</subtitle> +    <legalnotice> +      <para> +        This document is released under the terms of the  +        <ulink url="http://creativecommons.org/licenses/by-sa/3.0/"> +          Creative Commons ShareAlike 3.0 +        </ulink> +        license. +      </para> +    </legalnotice> +    <revhistory> +      <revision> +        <revnumber>0.1</revnumber> +        <date>30 March 2010</date> +        <revremark>Initial content</revremark> +      </revision> +    </revhistory> +  </bookinfo> +  <chapter> +    <title>Introduction</title> +    <para> +      Placeholder. +    </para> +  </chapter> +</book> +  | 
