Daniel Thompson
5c0d86d938
docs: Fix some errors in the sphinx board
2020-02-23 20:51:26 +00:00
Daniel Thompson
41647556c1
clock: Reduce the update rate of the battery meter
...
In addition to the fix (which is simple) we also modify the button handling
of the simulator because, rather by acident, it relies on the bugs in the
battery meter redraw to ensure the simulator stays active.
2020-02-23 20:19:37 +00:00
Daniel Thompson
3ba356f6c4
docs: Add a sphinx board
...
The simulator board does rather too much when we import watch.py. This
change means we don't need SDL just to generate the documentation!
2020-02-23 20:16:23 +00:00
Daniel Thompson
b508f4dc26
wasp: Add a simple font renderer
2020-02-19 19:57:08 +00:00
Daniel Thompson
0c4754fc74
wasp: Start collecting the fonts in a single directory
2020-02-19 19:57:08 +00:00
Daniel Thompson
df11539c29
wasp: Simple shell commands (based on upysh)
2020-02-19 19:57:08 +00:00
Daniel Thompson
f689c90498
wasp: Add full dd-mm-yyyy calender tracking
2020-02-19 19:57:08 +00:00
Daniel Thompson
b2c5b482d5
wasp: pinetime: Enable filesystem support
2020-02-09 19:49:52 +00:00
Daniel Thompson
bb033577da
drivers: st7789: Optimize RLE decoding loop
...
Migrate the filling of the line buffer into a seperate function.
This does naturally reduce the cost of the loop management but
much more importantly allows us to use viper native code
generator.
2020-02-08 07:49:38 +00:00
Daniel Thompson
1f2c25a7bd
wasp: clock: Add a simple battery meter
2020-02-03 22:35:16 +00:00
Daniel Thompson
b124a747dd
wasp: simulator: Add battery level simulation
...
In order to get best test coverage the act of reading the battery
results in the battery either charging or discharging.
2020-02-03 22:29:57 +00:00
Daniel Thompson
3892f07e62
wasp: Add simple clock app
...
At this point both the simulator and a PineTime will come up
and show a clock (although in the case of the PineTime the clock
will just come up at 12:00).
2020-02-03 19:26:08 +00:00
Daniel Thompson
fc74f7e37b
wasp: simulator: Add RTC support
2020-02-03 19:23:10 +00:00
Daniel Thompson
a5caa845b7
wasp: simulator: Add support for machine.[light|deep]sleep()
2020-02-03 19:22:54 +00:00
Daniel Thompson
d0f18a15fa
wasp: simulator: Fix column and row select
2020-02-03 19:14:44 +00:00
Daniel Thompson
127df66335
wasp: pinetime: Basic RTC support
...
Currently this supports time only (no date) and it based on the
RTCounter class which is customized for nRF ports. At present
the nRF port doesn't have proper machine.rtc support so we have
implemented within wasp instead.
2020-02-03 19:12:04 +00:00
Daniel Thompson
e21f2a79ca
wasp: simulator: Add ST7789 simulation
2020-02-01 20:20:53 +00:00
Daniel Thompson
9eb5d19e35
wasp: dsd6/nitrogen: Fix the frozen manifests
2020-02-01 13:44:28 +00:00
Daniel Thompson
fed9c58205
wasp: pinetime: Start an RTC at board board
2020-02-01 13:42:11 +00:00
Daniel Thompson
262d93c76c
wasp: simulator: First steps towards a simulator
...
Currently this just traces SPI activity from the ST7789 driver but its
a good baseline to start building up test functions from.
2020-01-31 19:36:55 +00:00
Daniel Thompson
e36caf5997
wasp: Add a super-simple vibrator driver
2020-01-31 19:34:04 +00:00
Daniel Thompson
0acbcc415b
wasp: Reorganise the board support
2020-01-30 22:11:31 +00:00