<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/telelco-v0.2, branch 1.6.0.3</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.6.0.3</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.6.0.3'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2015-05-25T22:47:46+00:00</updated>
<entry>
<title>altos: Add telelco v0.3 (v0.2 with cc1200 instead of cc1120)</title>
<updated>2015-05-25T22:47:46+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-05-25T22:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a54aac3361b7bd18f111e5ba06fb89015504b8a4'/>
<id>urn:sha1:a54aac3361b7bd18f111e5ba06fb89015504b8a4</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_for</title>
<updated>2015-02-14T07:51:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-14T07:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f4c812bef76a2cd95f675cb27ea89059561ceec7'/>
<id>urn:sha1:f4c812bef76a2cd95f675cb27ea89059561ceec7</id>
<content type='text'>
Having arbitrary alarms firing in the middle of complicated device
logic makes no sense at all. Therefore only correct use of ao_alarm
and ao_clear_alarm was around a specific ao_sleep call, with correct
recovery in case the alarm fires.

This patch replaces all uses of ao_alarm/ao_sleep/ao_clear_alarm with
ao_sleep_for, a new function which takes the alarm timeout directly.

A few cases which weren't simply calling ao_sleep have been reworked
to pass the timeout value down to the place where sleep *is* being
called, and having that code deal with the return correctly.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telefire,telelco: Add HAS_RADIO_RATE to launch system software</title>
<updated>2014-07-13T06:52:05+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-07-13T06:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a60ba449ec237ad3b8dade9dcea603b349dbccb1'/>
<id>urn:sha1:a60ba449ec237ad3b8dade9dcea603b349dbccb1</id>
<content type='text'>
This lets us set the rate to a lower value to improve range. 9600 baud
works great; 2400 baud makes the initial search take a long time.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Make stm applications depend on ao_boot.h</title>
<updated>2014-05-21T08:43:12+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-21T08:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b278a73cb54ba2f107bf91089f87c11528f017ab'/>
<id>urn:sha1:b278a73cb54ba2f107bf91089f87c11528f017ab</id>
<content type='text'>
This should make sure they get recompiled when boot stuff changes.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Make quadrature debounce per-pin rather than per-device</title>
<updated>2014-05-15T15:31:24+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-15T15:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=819f73698f57e76dca50fe4fadccebd23ffb776d'/>
<id>urn:sha1:819f73698f57e76dca50fe4fadccebd23ffb776d</id>
<content type='text'>
Debouncing per-pin means we don't lose transitions, which makes
counting a lot more precise.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Simplify quadrature tracking</title>
<updated>2014-05-09T07:05:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-09T07:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8d9c79f5c162e07d57d42c6ba5825a3327a911d5'/>
<id>urn:sha1:8d9c79f5c162e07d57d42c6ba5825a3327a911d5</id>
<content type='text'>
Set the timer to 200Hz for a 5ms debounce interval. Then, simply look
for transitions ending in both bits in the encoder being off, which
indicates the the encoder is resting in a detent. If bit '2' is
turning off, the encoder was rotated clockwise, otherwise the encoder
was rotated counter clockwise.

This is a lot more reliable, although still not perfect.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: For telelco discovery packets, retry 5 times with shorter timeout</title>
<updated>2014-05-01T05:14:37+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-01T05:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8e3842660274ac4bcd7b5a78f5db215222b1c4de'/>
<id>urn:sha1:8e3842660274ac4bcd7b5a78f5db215222b1c4de</id>
<content type='text'>
A timeout of 10ms is more than enough to receive a query packet, but
if we miss it during device discovery, it's a pain, so retry 5 times
to make sure we find everyone.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clean up -Wextra warnings</title>
<updated>2013-12-21T06:44:04+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-21T06:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5c9172ba5681ff93d63c9c263a453d0025170045'/>
<id>urn:sha1:5c9172ba5681ff93d63c9c263a453d0025170045</id>
<content type='text'>
Unused variables, mismatching signed/unsigned and a few other misc
warnings.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Remove ARM .ihx files on 'make clean'</title>
<updated>2013-12-10T08:39:52+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-10T08:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a4596c134aa5e7867f1ca1d86d36afb2af9b8999'/>
<id>urn:sha1:a4596c134aa5e7867f1ca1d86d36afb2af9b8999</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Build .ihx files for all arm projects</title>
<updated>2013-12-08T19:14:29+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-08T19:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=52b19511222980138faddb2047707baceff0a596'/>
<id>urn:sha1:52b19511222980138faddb2047707baceff0a596</id>
<content type='text'>
The .ihx version can be processed by the java loader

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
