<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wasp-os.git/wasp/drivers, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/'/>
<entry>
<title>drivers: hrs3300: Reduce HGAIN to x8</title>
<updated>2021-09-10T20:17:57Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-09-10T20:17:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=bbf7d3aa14e4b3575d82c9d37bcec5d051b765c0'/>
<id>bbf7d3aa14e4b3575d82c9d37bcec5d051b765c0</id>
<content type='text'>
Experimentally drop the HGAIN to x8. Currently the evidence base for
this change is a little weak but it doesn't seem to be *worse* than
what we have now. Therefore I hope the wasp-os users will forgive me
for using them as guinea pigs!

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Experimentally drop the HGAIN to x8. Currently the evidence base for
this change is a little weak but it doesn't seem to be *worse* than
what we have now. Therefore I hope the wasp-os users will forgive me
for using them as guinea pigs!

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: cst816s: Add a version() method</title>
<updated>2021-06-20T16:26:32Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-06-20T16:26:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=e169dbf61a870b594bb9fe52f02fa1e002bf9373'/>
<id>e169dbf61a870b594bb9fe52f02fa1e002bf9373</id>
<content type='text'>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtc: Undo the once-per-second wake up</title>
<updated>2021-06-19T07:22:20Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-06-19T07:22:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=f221e2f8a4e52f0d14e7d59ceddf65785195129a'/>
<id>f221e2f8a4e52f0d14e7d59ceddf65785195129a</id>
<content type='text'>
So... waking up once per second turns out to be a dumb idea because it
regresses the stop watch and HRS tools (which now also only wake up once
per second).

Undo this change but sprinkle a few more micropython.native decorations
on methods used on the wakeup path to minimise power.

Fixes: fb18705b9b9cc ("manager/rtc: Experimental power saving technique")
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So... waking up once per second turns out to be a dumb idea because it
regresses the stop watch and HRS tools (which now also only wake up once
per second).

Undo this change but sprinkle a few more micropython.native decorations
on methods used on the wakeup path to minimise power.

Fixes: fb18705b9b9cc ("manager/rtc: Experimental power saving technique")
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: nrf_rtc: Fix sphinx build</title>
<updated>2021-06-18T20:43:47Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-06-18T20:43:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=33ff7dc91e33f503f9855e01b4255fe43b548516'/>
<id>33ff7dc91e33f503f9855e01b4255fe43b548516</id>
<content type='text'>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>manager/rtc: Experimental power saving technique</title>
<updated>2021-06-04T09:49:33Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-06-04T09:49:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=fb18705b9b9cc10e15e56cea6697839f3779bdb6'/>
<id>fb18705b9b9cc10e15e56cea6697839f3779bdb6</id>
<content type='text'>
Currently the time is calculated 8 times per second from (relatively) slow
python code. Optimize the power consumed by reducing the number of times
we check for wall time updates to only once-per-second and use native
code generation to reduce VM overhead when executing this critical code.

At the time of writing the difference is battery life has not yet been
measured (but we know the current master branch is worse than v0.4 and,
in theory at least, this should close the gap).

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the time is calculated 8 times per second from (relatively) slow
python code. Optimize the power consumed by reducing the number of times
we check for wall time updates to only once-per-second and use native
code generation to reduce VM overhead when executing this critical code.

At the time of writing the difference is battery life has not yet been
measured (but we know the current master branch is worse than v0.4 and,
in theory at least, this should close the gap).

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>st7789: Fix incorrect variable name in ST7789_SPIs. __init__ docstring.</title>
<updated>2021-02-20T08:46:59Z</updated>
<author>
<name>Piotr Tworek</name>
<email>tworaz@tworaz.net</email>
</author>
<published>2021-01-20T21:45:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=0d76b1b186d879e2bcf936f39d133d05c1a6a656'/>
<id>0d76b1b186d879e2bcf936f39d133d05c1a6a656</id>
<content type='text'>
The data signal pin name is dc, not cs.

Signed-off-by: Piotr Tworek &lt;tworaz@tworaz.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The data signal pin name is dc, not cs.

Signed-off-by: Piotr Tworek &lt;tworaz@tworaz.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: st7789: Further reduce allocations during set_window()</title>
<updated>2021-01-17T17:44:50Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-01-17T17:44:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=fbc806721e346e5c5727e7233c5c8f5e08270eac'/>
<id>fbc806721e346e5c5727e7233c5c8f5e08270eac</id>
<content type='text'>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: st7789: Pre-allocate a memoryview</title>
<updated>2021-01-17T17:44:21Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-01-17T17:44:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=6b41c8f3db1778826ec8556f8900878a8f32c87a'/>
<id>6b41c8f3db1778826ec8556f8900878a8f32c87a</id>
<content type='text'>
Reduce the cost of slicing the linebuffer by pre-allocating a memoryview.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce the cost of slicing the linebuffer by pre-allocating a memoryview.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: st7789: Optimize set_window()</title>
<updated>2021-01-17T16:08:27Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2021-01-17T16:08:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=5abae5a7f63f6841744ad63e7c8bbbb1d8452b37'/>
<id>5abae5a7f63f6841744ad63e7c8bbbb1d8452b37</id>
<content type='text'>
For small graphical items (line drawing, font glyphs) the performance
of the set_window() method is critical.

Emit native code for this function and optimize the SPI write_cmd()
method to avoid memory allocation. This give a performance boost of
a little over 15% for (24pt) font rendering and 30% for line drawing.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For small graphical items (line drawing, font glyphs) the performance
of the set_window() method is critical.

Emit native code for this function and optimize the SPI write_cmd()
method to avoid memory allocation. This give a performance boost of
a little over 15% for (24pt) font rendering and 30% for line drawing.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: bma421: Switch over to reset_step_counter()</title>
<updated>2020-12-31T09:31:47Z</updated>
<author>
<name>Daniel Thompson</name>
<email>daniel@redfelineninja.org.uk</email>
</author>
<published>2020-12-31T09:31:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.tidal.blue/wasp-os.git/commit/?id=6212a6275a2678f9512656c450a7ffa9ef14c084'/>
<id>6212a6275a2678f9512656c450a7ffa9ef14c084</id>
<content type='text'>
Currently the bma421 driver simple re-initializes the sensor when asked
to set the step counter to zero. Switch over to the proper function
for this.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the bma421 driver simple re-initializes the sensor when asked
to set the step counter to zero. Switch over to the proper function
for this.

Signed-off-by: Daniel Thompson &lt;daniel@redfelineninja.org.uk&gt;
</pre>
</div>
</content>
</entry>
</feed>
