<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src, branch debian/1.6.8-5</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.6.8-5</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.6.8-5'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2017-04-22T18:06:40+00:00</updated>
<entry>
<title>altos/telegps: Inherit LDFLAGS from lpc make specification</title>
<updated>2017-04-22T18:06:40+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2017-04-14T03:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e09d0aee9926951bd4179be03f1626de8d7927a9'/>
<id>urn:sha1:e09d0aee9926951bd4179be03f1626de8d7927a9</id>
<content type='text'>
Somethings messed up with cortex-M0 linking, and this isn't helping as
it overrides the LDFLAGS coming from the architecture.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc,altos/stmf0: Use -n flag to work around link editor issue</title>
<updated>2017-04-22T17:39:17+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2017-04-22T00:06:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1db7169b193808c733852054e9a4713cdbd76cea'/>
<id>urn:sha1:1db7169b193808c733852054e9a4713cdbd76cea</id>
<content type='text'>
Something changed in the link editor which makes it complain about 'no
space for program headers' on LPC and STMF0 builds. Somehow, adding
the '-n' flag to the linking step fixes it. It doesn't appear to break
the build, so I guess it's ok?

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align</title>
<updated>2017-01-25T19:21:43+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-12-18T04:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fe25510fc23031f1a3c1b42edd37067d1989a9f6'/>
<id>urn:sha1:fe25510fc23031f1a3c1b42edd37067d1989a9f6</id>
<content type='text'>
Gcc 5.4.1 tracks alignment of data through assignments, so that a
uint32_t pointer which comes from byte-aligned uint8_t data:

extern uint8_t foo[];

	uint32_t	*q = (void *) foo;

Fetches and stores through this pointer are done bytewise. This is
slow (meh), but if q references a device register, things to bad very
quickly.

This patch works around this bug in the compiler by adding
__attribute__((aligned(4))) tags to some variables, or changing them
from uint8_t to uint32_t. Places doing this will now be caught as I've
added -Wcast-align to the compiler flags. That required adding (void
*) casts, after the relevant code was checked to make sure the
compiler could tell that the addresses were aligned.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Make ao_usb_set_address static. Saves a bunch of text space</title>
<updated>2016-12-13T07:18:50+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-12-13T00:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7a2897b05ff25fc90183408630b1f053b2df7322'/>
<id>urn:sha1:7a2897b05ff25fc90183408630b1f053b2df7322</id>
<content type='text'>
I'm sure this makes the function end up in-lined, which saves enough
text space to fit the flash loader in ROM again.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set SPI slave DMA priority to HIGH/VERY_HIGH</title>
<updated>2016-09-03T06:23:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T06:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9279b0cd52333a846b57af890f708ebb364b62b7'/>
<id>urn:sha1:9279b0cd52333a846b57af890f708ebb364b62b7</id>
<content type='text'>
Set spi slave DMA priority MOSI to HIGH and MISO to VERY_HIGH. Slave
SPI doesn't have the luxury of slowing down when the system is busy,
so provide it maximum memory bandwidth to try and keep up with the
master.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set i2c recv DMA to HIGH</title>
<updated>2016-09-03T06:23:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T06:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d80995c4535a3655ca1b9ca674d6839cfef84c4e'/>
<id>urn:sha1:d80995c4535a3655ca1b9ca674d6839cfef84c4e</id>
<content type='text'>
Make sure receive DMA is higher than any TX dma so that
it always runs in preference.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Set MISO DMA priority to HIGH to avoid OVR</title>
<updated>2016-09-03T06:23:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:55:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=af2eefbed43e56885a7321319d69b7be17354cdd'/>
<id>urn:sha1:af2eefbed43e56885a7321319d69b7be17354cdd</id>
<content type='text'>
When the MISO DMA priority is too low, and the processor gets busy,
it's possible for SPI input to overrun the processor, which causes the
MISO DMA to get out of sync and never finish. Set the MISO DMA
priority to HIGH to avoid this.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Create funcs to set SPI DMA parameters</title>
<updated>2016-09-03T05:58:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6'/>
<id>urn:sha1:4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6</id>
<content type='text'>
Instead of having nearly duplicate versions of the SPI DMA
configuration calls, create helper funcs that do most of the work so
that the SPI API funcs are shorter and clearer.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stm: Make ao_spi_duplex out pointer const</title>
<updated>2016-09-03T05:58:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-09-03T05:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1710a4921d4f408300c7d5adf0e83d08cc86be20'/>
<id>urn:sha1:1710a4921d4f408300c7d5adf0e83d08cc86be20</id>
<content type='text'>
Provides a bit better typechecking opportunities for this function.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/cc1120: remove unused status from ao_radio_fifo_write_stop</title>
<updated>2016-08-29T16:27:53+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-08-29T16:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ab75ab10564c4d5d05719c382a3b71585cd70710'/>
<id>urn:sha1:ab75ab10564c4d5d05719c382a3b71585cd70710</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
