<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm/ao_arch_funcs.h, branch droid-gps</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=droid-gps</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=droid-gps'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-01-14T04:54:14+00:00</updated>
<entry>
<title>altos: Crank fast SPI on STM to 8MHz</title>
<updated>2013-01-14T04:54:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-01-14T04:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a866431e9a063830b407f749ff97a730831e5e4e'/>
<id>urn:sha1:a866431e9a063830b407f749ff97a730831e5e4e</id>
<content type='text'>
With the GPIO pins set to 10MHz now, we can run SPI at the maximum
possible speed (8MHz).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Make stdio 8-bit clean by making pollchar return int</title>
<updated>2012-12-01T00:01:07+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-12-01T00:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0b65402361f36a0c722977bcb63edb26fda0db28'/>
<id>urn:sha1:0b65402361f36a0c722977bcb63edb26fda0db28</id>
<content type='text'>
We were stealing one value (0xff) in the return value from pollchar to
indicate 'not ready yet'. Instead of doing that, use the integer value
-1 and have pollchar return an int instead of a char. That
necessitated cleaning a few other bits to make sure that 0xff wouldn't
get promoted to -1 on accident.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Leave interrupts disabled while checking for task to run</title>
<updated>2012-10-26T21:07:04+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-25T20:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ccf0faa7d26d56deca7928b521d07be40504466a'/>
<id>urn:sha1:ccf0faa7d26d56deca7928b521d07be40504466a</id>
<content type='text'>
Otherwise, we run the risk of an interrupt waking a task after we've
decided to idle the CPU.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Clean up stm arch macros a bit.</title>
<updated>2012-10-25T20:38:13+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-25T20:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9b978cd467f9128f3069765dd8fbf8abad3459a4'/>
<id>urn:sha1:9b978cd467f9128f3069765dd8fbf8abad3459a4</id>
<content type='text'>
Turn a bunch of the macros into inline functions.
Clean up the reboot method to use the stm_scb structure.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Declare all SPI bus speeds</title>
<updated>2012-10-15T07:06:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-10-15T07:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=80227c08444d5c82fd43320644cdeec6f34fee1b'/>
<id>urn:sha1:80227c08444d5c82fd43320644cdeec6f34fee1b</id>
<content type='text'>
Just list them all so users can pick what they like

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow STM SPI bus on multiple pin sets</title>
<updated>2012-08-19T04:21:58+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-19T04:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a1a48aa9ee0bf7fa6720b34c0f544485caea7cac'/>
<id>urn:sha1:a1a48aa9ee0bf7fa6720b34c0f544485caea7cac</id>
<content type='text'>
This allows multiple STM pin groups to be used for each SPI
bus. Useful for the MS5607 sensor which signals conversion complete on
the MISO line.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add ao_gpio_get and ao_exti_set_mode</title>
<updated>2012-08-07T02:33:44+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-07T02:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6171892fa32e8a662a494ec6ba28a82fddc68589'/>
<id>urn:sha1:6171892fa32e8a662a494ec6ba28a82fddc68589</id>
<content type='text'>
Needed to support general GPIO interrupts

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>altos: include targe SPI speed in get request</title>
<updated>2012-06-27T21:34:53+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-06-27T21:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=08a4ed8fe794a2b2b52147bd5535fe0954822e95'/>
<id>urn:sha1:08a4ed8fe794a2b2b52147bd5535fe0954822e95</id>
<content type='text'>
STM needs it to be provided when enabling the SPI device, so just fix
AVR and cc1111 to do the same.

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