<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch 1.6.1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.6.1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.6.1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2015-02-14T07:51:10+00:00</updated>
<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/stm: Add ability to delay STDIO usage for serial ports</title>
<updated>2015-02-01T15:36:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-01T15:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=44a503a8cf3778cad5469c592e8ccbae58e44b97'/>
<id>urn:sha1:44a503a8cf3778cad5469c592e8ccbae58e44b97</id>
<content type='text'>
Bluetooth needs to delay adding the serial port to stdio until the
link is up and running. The cc1111 serial driver had
DELAY_SERIAL_*_STDIN bits which have been added to the STM serial driver.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Fix typo in stm32l.h</title>
<updated>2015-01-27T06:22:00+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-01-27T06:22:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ee91e1da606c8a8fade278a3aeae9c1cc9014b84'/>
<id>urn:sha1:ee91e1da606c8a8fade278a3aeae9c1cc9014b84</id>
<content type='text'>
This crept in while working on the stmf0 bits. oops.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>ao-tools: Add --wait option to ao-usbload</title>
<updated>2015-01-26T03:58:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-01-26T03:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=32c68670af9f8aa690c64d64502e559c0df0c1db'/>
<id>urn:sha1:32c68670af9f8aa690c64d64502e559c0df0c1db</id>
<content type='text'>
This waits forever for USB writes to complete, instead of timing out
after five seconds. Useful when debugging the device.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add support for TeleBT v3.0</title>
<updated>2015-01-24T19:18:59+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-01-24T19:18:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0e7d1c89fea98eabca738f10cbfebec631be3bb7'/>
<id>urn:sha1:0e7d1c89fea98eabca738f10cbfebec631be3bb7</id>
<content type='text'>
Add support to the BTM driver for non-CC1111 interrupts
Add HW flow control to STM serial driver

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Mark STM ao_spi_send as taking const pointer</title>
<updated>2014-10-25T04:24:53+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-10-07T03:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=484b530a16a54ca8fde412c3f466bfe7eed978cd'/>
<id>urn:sha1:484b530a16a54ca8fde412c3f466bfe7eed978cd</id>
<content type='text'>
We don't write to this, so let it be const for type checking

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Rework packet receive for cc1120</title>
<updated>2014-07-05T07:38:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-07-05T07:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=292cb8380b478542555b5f370e8252eafa2f74ac'/>
<id>urn:sha1:292cb8380b478542555b5f370e8252eafa2f74ac</id>
<content type='text'>
Instead of blocking on PQT, just set up the receiver to start going
and when the first bit interrupt comes in, grab the SPI bus if
possible and configure it for reception. This improves sensitivity in
the radio by a significant amount while making the code conceptually a
bit nicer.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fake flight code changes in kernel and stm</title>
<updated>2014-05-27T18:06:49+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-27T18:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c674a20432c2cb97e5bc2a3de891f78b9e172fe9'/>
<id>urn:sha1:c674a20432c2cb97e5bc2a3de891f78b9e172fe9</id>
<content type='text'>
Redirects data input from local sensors to USB sourced data, leaving
USB enabled when the computer goes into pad mode.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: stm and lpc ao_boot.h were identical. move to kernel.</title>
<updated>2014-05-16T05:46:41+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-16T05:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6833e466d7d77765199bf4d21437c34a4eceb044'/>
<id>urn:sha1:6833e466d7d77765199bf4d21437c34a4eceb044</id>
<content type='text'>
These two files were absolutely identical, so share them by moving
under kernel instead.x

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Use explicit boot loader signal in ao_boot_reboot</title>
<updated>2014-05-16T05:38:40+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-16T05:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=211d9af507daf9a8611ed1813415bee27e3839eb'/>
<id>urn:sha1:211d9af507daf9a8611ed1813415bee27e3839eb</id>
<content type='text'>
Instead of just "knowing" that ao_boot_loader will be passed zero when
the application wants to get back to the boot loader, explicitly
define the values so that both sides always agree.

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