<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch pwmin</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=pwmin</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=pwmin'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2012-07-17T08:24:52+00:00</updated>
<entry>
<title>altos: Place STM config values at fixed addresses for re-use</title>
<updated>2012-07-17T08:24:52+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-17T08:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a5d873d47b3b16ca32559b4de668bf07b25eddb0'/>
<id>urn:sha1:a5d873d47b3b16ca32559b4de668bf07b25eddb0</id>
<content type='text'>
Just like cc1111, stick the serial number and radio calibration values
at known fixed addresses so that when re-flashing the board, we can go
find the existing values.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Make ao_tick_count visible</title>
<updated>2012-07-16T22:24:21+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-16T22:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=90507d4f7ef77b0870a032b1d9809898c2924721'/>
<id>urn:sha1:90507d4f7ef77b0870a032b1d9809898c2924721</id>
<content type='text'>
Necessary to fetch it when interrupts are already disabled as we can't
call ao_time then.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>src: Add explicit 'pin' argument to ao_enable_output</title>
<updated>2012-07-14T09:44:17+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-14T09:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0cfd22baa6af44e053428c30c1a95cf5551b68af'/>
<id>urn:sha1:0cfd22baa6af44e053428c30c1a95cf5551b68af</id>
<content type='text'>
This lets the cc1111 use the atomic bit operation instead of a mask,
which is immune to interrupt issues as well as being a shorter code sequence.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Expose ao_gpio_set which sets a specific GPIO pin</title>
<updated>2012-07-14T08:28:55+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-14T08:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=82b50fc1b7f2c6af7264fbad2c35508abc15e81e'/>
<id>urn:sha1:82b50fc1b7f2c6af7264fbad2c35508abc15e81e</id>
<content type='text'>
Will need versions for other architectures

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>stm: running out of memory in MM -- reduce stack to 668 bytes</title>
<updated>2012-07-14T08:28:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-14T08:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=726e0f2c547b6bae1f1e640e2c1155c0b9631a9b'/>
<id>urn:sha1:726e0f2c547b6bae1f1e640e2c1155c0b9631a9b</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Force STM stack to start at the top of RAM</title>
<updated>2012-07-14T08:24:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-07-14T08:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=09633cac697e37d770b2b666ab20cab30628484f'/>
<id>urn:sha1:09633cac697e37d770b2b666ab20cab30628484f</id>
<content type='text'>
Using a fixed size means crashing if there's not enough space for
that, or wasting memory if there's too much.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Increase default STM stack to 648 bytes</title>
<updated>2012-06-28T06:09:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-28T06:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=79dbe1a5e46d7f0b8929400897631ab969cd2bc0'/>
<id>urn:sha1:79dbe1a5e46d7f0b8929400897631ab969cd2bc0</id>
<content type='text'>
512 seems cozy given the printf implementation we're using and the
extensive interrupts.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clean up STM I2C clock computations</title>
<updated>2012-06-28T00:18:57+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-28T00:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4f258fe565dc3e58b83761bfa1a2276946012163'/>
<id>urn:sha1:4f258fe565dc3e58b83761bfa1a2276946012163</id>
<content type='text'>
Fix both clock time and rise time.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: get MPU6000 I2C link working reliably</title>
<updated>2012-06-27T21:38:35+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T21:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b0b7f5da2d29716959c6793d744e47a3d435c247'/>
<id>urn:sha1:b0b7f5da2d29716959c6793d744e47a3d435c247</id>
<content type='text'>
This slows the i2c bus to 100kHz (yuck), sets the rise time to spec
(it was way off) and adds more delays during bus setup. I've run this
for hours now without trouble. Will try to adjust things back to fast
mode and see if I can make that work as 100kHz isn't fast enough to
reliably get data at 100 samples/sec.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: reorder stm USB state stores to avoid races</title>
<updated>2012-06-27T21:35:56+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T21:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e63d624f9670b5e2e002fcd5f24b80cf7f1effdf'/>
<id>urn:sha1:e63d624f9670b5e2e002fcd5f24b80cf7f1effdf</id>
<content type='text'>
Must set ao_usb_in_pending before telling USB about new data or an
interrupt could arrive at the wrong time to clear it.

Same for ao_usb_in_flushed.

Without these changes, I've seen the USB bus lock up on occasion,
waiting for an IN packet to consume data, but with no IN data pending
in the hardware.

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