<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm, branch android-build-update</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=android-build-update</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=android-build-update'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2019-04-21T23:54:54+00:00</updated>
<entry>
<title>altos: get ao_max6691 driver working</title>
<updated>2019-04-21T23:54:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-04-21T23:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5d3436ed8551537287dc6cf418f93b0989e1aee8'/>
<id>urn:sha1:5d3436ed8551537287dc6cf418f93b0989e1aee8</id>
<content type='text'>
The driver uses a timer connected to a DMA engine to measure pulse
widths from the chip. We get 11 pulses for 4 channels; the first pulse
is caused by the timer starting up, the next two are the marker pulse
and then 8 more indicating the end of the high and low periods for
each channel.

The driver API returns the 8 pulse widths; the caller is expected to
know what to do with those values as using them requires knowing the
value of the configuration resistor and the characteristics of the
thermistors.

The test code assumes a 1k configuration resistor, using that it computes
the resistance of the four thermistors.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Work on MAX6691 driver</title>
<updated>2019-04-21T23:54:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-04-12T06:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=49ce3e9a2eb4e1918773b80c355d720a3dadc7e0'/>
<id>urn:sha1:49ce3e9a2eb4e1918773b80c355d720a3dadc7e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>altos: add ao_time_ns API</title>
<updated>2019-02-25T23:42:25+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-25T23:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=cd920a0e5321166ef8b1d6afc3d63fc5de998a93'/>
<id>urn:sha1:cd920a0e5321166ef8b1d6afc3d63fc5de998a93</id>
<content type='text'>
This provides nano-second resolution times by reading the systick
value (which runs at 250ns ticks on stm).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix several mis-specified time types</title>
<updated>2019-02-25T23:40:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-25T23:40:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6fec7b5affd223c18bad78377d7655af958dffc2'/>
<id>urn:sha1:6fec7b5affd223c18bad78377d7655af958dffc2</id>
<content type='text'>
Make sure AO_TICK_TYPE is used "everywhere", instead of uint16_t or other.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix ISR declarations to make them non-weak</title>
<updated>2019-02-22T03:40:08+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-22T03:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=3310b22e28d953a6569cd50e83f91c25577424a5'/>
<id>urn:sha1:3310b22e28d953a6569cd50e83f91c25577424a5</id>
<content type='text'>
In my zeal to eliminate warnings, I added declarations of all ISR
functions to a shared header file. However, I managed to include the
'weak' declaration, which meant that the intended ISR functions were
as weak as the 'default' ISR functions. This left all interrupts
non-functional, which doesn't make for a happy program.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Move common build definitions to src/Makefile.defs</title>
<updated>2019-02-18T21:08:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-18T20:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d'/>
<id>urn:sha1:7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d</id>
<content type='text'>
This cleans up the build process for all architectures, providing a
common place to specify vpath, cflags and build rules for various
common files.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add -Wshadow to CFLAGS</title>
<updated>2019-02-18T21:08:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-18T18:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a12dc56db6d5245ee8ac594337576dd85791a984'/>
<id>urn:sha1:a12dc56db6d5245ee8ac594337576dd85791a984</id>
<content type='text'>
And fix up the related messages.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>stm: Expose LCD font API in ao_lcd_font.h</title>
<updated>2019-02-18T21:08:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-18T18:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a43bc96ad4a524480a2d47500fb0cfaeeba8ad3d'/>
<id>urn:sha1:a43bc96ad4a524480a2d47500fb0cfaeeba8ad3d</id>
<content type='text'>
That required renaming the existing LCD font defintions from
ao_lcd_font.h to ao_lcd_font_bits.h.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add a pile more compiler warnings</title>
<updated>2019-02-18T21:08:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-05T06:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ebb8ab6a2f5f1245098ad68d0cd007d3f115a24d'/>
<id>urn:sha1:ebb8ab6a2f5f1245098ad68d0cd007d3f115a24d</id>
<content type='text'>
Adds:
	-Wpointer-arith
	-Wstrict-prototypes
	-Wmissing-prototypes
	-Wmissing-declarations
	-Wnested-externs

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Declare task stack as union of uint8_t and uint32_t</title>
<updated>2019-02-18T21:08:23+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-02-05T06:38:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d6c3c3618a708d2a1a7948454710e6ae21c2a426'/>
<id>urn:sha1:d6c3c3618a708d2a1a7948454710e6ae21c2a426</id>
<content type='text'>
Support -Wcast-align and -Wpointer-arith while still allowing
architectures to pick whether they want an 8-bit or 32-bit stack.

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