<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch 1.6.5</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.6.5</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.6.5'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2016-06-30T02:17:45+00:00</updated>
<entry>
<title>altos/stm: clean up ao_exti_enable</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T19:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c6c250711355ae8060e956e786702be250ef4527'/>
<id>urn:sha1:c6c250711355ae8060e956e786702be250ef4527</id>
<content type='text'>
Was computing (1 &lt;&lt; pin) twice for no good reason.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Add better byte-level SPI api</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T01:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5'/>
<id>urn:sha1:61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5</id>
<content type='text'>
This provides inline functions for sending and receiving individual
bytes, and setup/finish functions to wrap them in. This make the byte
sending respect the SPI hardware interface requirements.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Clean up spi_enable/disable_index functions</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T01:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5866d191cee56949ccab4c154a14604e83163d42'/>
<id>urn:sha1:5866d191cee56949ccab4c154a14604e83163d42</id>
<content type='text'>
These had an extra level of switch nesting for no good reason.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: move spi execution to common ao_spi_run</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-28T06:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3'/>
<id>urn:sha1:5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3</id>
<content type='text'>
This regularizes SPI hardware use and ensures that the device is
turned off after it has been used and that the status register is back
to 'normal' the next time through.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add STM SPI debugging</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-28T06:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=69791ef235161fef404f682fd6955e7eed8dc125'/>
<id>urn:sha1:69791ef235161fef404f682fd6955e7eed8dc125</id>
<content type='text'>
This dumps out the SPI hardware state and history of SPI operations
when compiled with -DDEBUG=1. Without that, this patch does nothing.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add STM DMA debugging</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-28T00:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f418584d4d225827e08f56de86055eb3f074f8d1'/>
<id>urn:sha1:f418584d4d225827e08f56de86055eb3f074f8d1</id>
<content type='text'>
This provides a command that shows current DMA operations when
compiled with -DDEBUG=1. Without that, this patch has no effect.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Change ao_spi_send_sync definition to take const source</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T01:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=2e60cd22f6789c94343e6432822cedab028dc1ba'/>
<id>urn:sha1:2e60cd22f6789c94343e6432822cedab028dc1ba</id>
<content type='text'>
Provides for a bit better error checking.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Add more SPI status register bits</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T00:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=21a29c7452398e0cca0fb90f99fa42a2a0684668'/>
<id>urn:sha1:21a29c7452398e0cca0fb90f99fa42a2a0684668</id>
<content type='text'>
These weren't the original version of the docs that we had.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: use 0xff for dma mutex value for allocated mutexes</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T00:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=785d2697376ebd20531d22441a60c41bd927b42a'/>
<id>urn:sha1:785d2697376ebd20531d22441a60c41bd927b42a</id>
<content type='text'>
DMA channels which are 'allocated' can't be shared. Instead of using
the value '1' in the related 'mutex', use 0xff which won't match any task.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: remove ao_dma_abort</title>
<updated>2016-06-30T02:17:45+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-06-29T00:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0dec7d0885970a7d73468dd77220bae78e161b40'/>
<id>urn:sha1:0dec7d0885970a7d73468dd77220bae78e161b40</id>
<content type='text'>
This function isn't used anywhere.

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