<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm/ao_dma_stm.c, branch pong</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=pong</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=pong'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2017-02-20T20:34:01+00:00</updated>
<entry>
<title>altos/stm: Allow DMA channels to be hijacked by other code</title>
<updated>2017-02-20T20:34:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2017-02-20T20:12:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=72ea90d28817549c4343d2fea03a4c951f849cbe'/>
<id>urn:sha1:72ea90d28817549c4343d2fea03a4c951f849cbe</id>
<content type='text'>
This lets code which needs finer control over DMA to use the channel
without interference, and leaves the DMA engine running so that it can.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Interrupt priority is in the upper bits of the priority mask</title>
<updated>2017-02-20T20:31:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-11-21T04:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=088ddbb177efc8be2fc467524dc1668553080d3b'/>
<id>urn:sha1:088ddbb177efc8be2fc467524dc1668553080d3b</id>
<content type='text'>
Because the STM32L only offers 16 priority levels, the bottom four
bits of each priority mask are not used. All of the interrupt priority
settings in the system were using values &lt; 16, making them all
effectively the same. Fix that by moving them into the upper 4 bits
and using symbolic constants everywhere.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Switch from GPLv2 to GPLv2+</title>
<updated>2016-07-12T22:41:41+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-07-05T16:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a'/>
<id>urn:sha1:1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a</id>
<content type='text'>
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: 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>
<entry>
<title>altos: stm: pass DMA buffer index to DMA completion callback</title>
<updated>2012-05-08T04:50:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-05-08T04:50:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=af949c67eeb9dc310b1430d3435d241adccfc0a9'/>
<id>urn:sha1:af949c67eeb9dc310b1430d3435d241adccfc0a9</id>
<content type='text'>
This lets the user know which DMA has finished.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Starting to write cc1120 driver</title>
<updated>2012-04-17T18:01:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-04-17T18:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1489263b895a2a825e29d0560c9b1dbba8a3f431'/>
<id>urn:sha1:1489263b895a2a825e29d0560c9b1dbba8a3f431</id>
<content type='text'>
This does "something" in radio test mode, appearing to generate a
730MHz signal.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow STM DMA channels to be reserved for one use</title>
<updated>2012-04-09T07:05:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-04-09T07:05:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=059f09dbca4703c25b42389b54c6510331c39485'/>
<id>urn:sha1:059f09dbca4703c25b42389b54c6510331c39485</id>
<content type='text'>
This allows a single user of a DMA channel to reserve it for use
without needing to lock the mutex; this is required for DMA from the
ADC to work on megametrum as it wants to start DMA from an interrupt
handler, which cannot block on a mutex.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add support for STM ADC</title>
<updated>2012-04-08T01:53:12+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-04-08T01:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5e41d1e03680af9806c599aad80b9b64dd719f9b'/>
<id>urn:sha1:5e41d1e03680af9806c599aad80b9b64dd719f9b</id>
<content type='text'>
DMA-based driver for the STM analog to digital converter.

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