<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/drivers/ao_gps_ublox.c, branch 1.7</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.7</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.7'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2016-12-18T05:04:33+00:00</updated>
<entry>
<title>altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align</title>
<updated>2016-12-18T05:04:33+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=89ecc32b90565ace078c4a84d4406a4d1f86821a'/>
<id>urn:sha1:89ecc32b90565ace078c4a84d4406a4d1f86821a</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>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: Scale DOP values by 10 in GPS drivers</title>
<updated>2014-07-11T00:35:44+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-07-11T00:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=47e62bb26984f6c84660c1d0451f77c2d6ad7e5a'/>
<id>urn:sha1:47e62bb26984f6c84660c1d0451f77c2d6ad7e5a</id>
<content type='text'>
sky traq was scaling by 5, ublox was scaling by 100.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Extend GPS altitudes to at least 24 bits everywhere</title>
<updated>2014-07-11T00:35:44+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-07-11T00:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=34d5be68ca23e8beb05db9a480faef63ecc911d0'/>
<id>urn:sha1:34d5be68ca23e8beb05db9a480faef63ecc911d0</id>
<content type='text'>
Telemetry gets a special 'mode' flag indicating that 24-bit data is
present; log files get new data and log readers are expected to detect
that via the firmware version number.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Revert "altos: Write current flight state to GPS data from GPS drivers"</title>
<updated>2014-06-10T16:36:59+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-06-10T16:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=998eae61ecf56dd6ead4ec6ad82c952ae84170df'/>
<id>urn:sha1:998eae61ecf56dd6ead4ec6ad82c952ae84170df</id>
<content type='text'>
This reverts commit db6003d34595fbd103d5b131912b6a797254f1c5.
</content>
</entry>
<entry>
<title>altos: Write current flight state to GPS data from GPS drivers</title>
<updated>2014-06-07T18:39:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-06-07T18:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=db6003d34595fbd103d5b131912b6a797254f1c5'/>
<id>urn:sha1:db6003d34595fbd103d5b131912b6a797254f1c5</id>
<content type='text'>
This will be useful with TeleGPS which has no other packet containing
flight state.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Expose ao_gps_set_rate from u-blox driver</title>
<updated>2014-05-21T08:43:13+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-21T08:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=af782e92c6a0c0a6b0fc2fa52519749a88ca8fb8'/>
<id>urn:sha1:af782e92c6a0c0a6b0fc2fa52519749a88ca8fb8</id>
<content type='text'>
This lets applications set the desired GPS update rate to reduce power usage

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: ublox driver always offers course data when it has a fix</title>
<updated>2014-05-09T03:44:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-06T06:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b22dff94778b1f15a6ad1989d526b936f0fa09ea'/>
<id>urn:sha1:b22dff94778b1f15a6ad1989d526b936f0fa09ea</id>
<content type='text'>
Set the AO_GPS_COURSE_VALID bit to signal that this part of the GPS
data is valid.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Don't write more than 12 sat infos in ublox driver</title>
<updated>2014-02-09T04:13:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-02-09T04:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8ddbbdcdc498a19ebf4a440bbf5d73b6538e0a57'/>
<id>urn:sha1:8ddbbdcdc498a19ebf4a440bbf5d73b6538e0a57</id>
<content type='text'>
This was overwriting memory past the end of the ao_gps_tracking_data
array, which isn't a good idea.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix GPS test frameworks to handle shared ao_gps_new variable</title>
<updated>2013-10-25T11:03:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-10-25T11:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ba99630f33440b993c69830856d2a7741ffdef71'/>
<id>urn:sha1:ba99630f33440b993c69830856d2a7741ffdef71</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
