<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src, branch master</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=master</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2019-08-29T03:39:25+00:00</updated>
<entry>
<title>Add .gitignore files for new projects</title>
<updated>2019-08-29T03:39:25+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-08-29T03:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=252009db6451f01c9707970d05e69f39e3a047dd'/>
<id>urn:sha1:252009db6451f01c9707970d05e69f39e3a047dd</id>
<content type='text'>
EasyMega v2.0
TeleFireEight v2.0
TeleFireOne v1.0
TeleLco v0.2 with cc1200 radio

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Use fast timer for buttons instead of edge-triggered ISR</title>
<updated>2019-08-13T00:30:48+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-08-13T00:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fcb5d55e94058810fc8b31ad5e8caa99fa61200c'/>
<id>urn:sha1:fcb5d55e94058810fc8b31ad5e8caa99fa61200c</id>
<content type='text'>
If the button bounces between the triggering interrupt and the button
state check, we could lose the final state change of the button and
send an incorrect event to the application. In the worst case, the button
would end up in exactly the wrong state, toggling in the wrong direction.

Use the fast timer to poll all buttons instead so that there is only
one check of each button at each poll interval (instead of the
interrupt and the state check). This makes buttons reliably debounced.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Record all failed sensors and report status at power up</title>
<updated>2019-07-16T18:12:49+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-16T18:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8b2e457db8c4536440ecd7dc35d06f827fc008dc'/>
<id>urn:sha1:8b2e457db8c4536440ecd7dc35d06f827fc008dc</id>
<content type='text'>
Use DATA bits to mark which sensors have failed, then report that in
beeps at startup time to help diagnose hardware failures while still
allowing the board to be used over USB.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/micropeak-v2.0: Reduce power usage</title>
<updated>2019-07-16T18:10:36+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-16T18:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c37cd66b7c11f904b528c5ff7e80e18c5e0d26e5'/>
<id>urn:sha1:c37cd66b7c11f904b528c5ff7e80e18c5e0d26e5</id>
<content type='text'>
This gets power consumption down under 1mA on the pad. Not really low
enough to sell, but I think this is about as low as the chip will go.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stmf0: Allow SPI to be powered down when idle if desired</title>
<updated>2019-07-16T18:09:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-16T18:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=40624256be70088d7608742b71e1241d95a7fcdf'/>
<id>urn:sha1:40624256be70088d7608742b71e1241d95a7fcdf</id>
<content type='text'>
Set SPI_1_POWER_MANAGE and/or SPI_2_POWER_MANAGE to have the spi
blocks powered down when not in use.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stmf0: Add 'ao_serial_shutdown'</title>
<updated>2019-07-16T18:04:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-16T18:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=bdcb3653bd9fb97f98773ac3bc1f87a6f52b1121'/>
<id>urn:sha1:bdcb3653bd9fb97f98773ac3bc1f87a6f52b1121</id>
<content type='text'>
This powers down the UART logic on request.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/stmf0: Leave power interface disabled until needed</title>
<updated>2019-07-16T18:02:56+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-16T18:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=009d56b4f03c1ba3c9a36bdb54c772ad21844057'/>
<id>urn:sha1:009d56b4f03c1ba3c9a36bdb54c772ad21844057</id>
<content type='text'>
We only need the power interface when placing the chip in the lowest
power state, so don't power up the power interface clock at startup,
instead wait until later.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow ms5607 driver to either set ao_sensor_errors or panic</title>
<updated>2019-07-15T20:26:30+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-07-15T20:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=245a49a85dd7b6a7cb9ec36ad02f6bb66e42f4e2'/>
<id>urn:sha1:245a49a85dd7b6a7cb9ec36ad02f6bb66e42f4e2</id>
<content type='text'>
Products that want to remain usable (over USB) after a sensor failure
don't want to panic when the ms5607 fails, but products with limited
ROM space don't want to have extra code to check for the sensor
failure and panic. Change the MS5607 driver to allow either option,
and then make the micropeak based devices use it.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/micropeak-v2: Update .gitignore</title>
<updated>2019-06-19T06:18:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-06-19T06:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e3eb285ff6be17afe592dca4a2fb5526c0626283'/>
<id>urn:sha1:e3eb285ff6be17afe592dca4a2fb5526c0626283</id>
<content type='text'>
Ignore built stuff

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/micropeak-v2: Correct AO_LOG_ID value</title>
<updated>2019-06-19T06:17:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2019-06-19T06:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=06be34ea0750743b85823b873041188dac7b06d9'/>
<id>urn:sha1:06be34ea0750743b85823b873041188dac7b06d9</id>
<content type='text'>
Typo wasn't caught by the compiler (thanks!)

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