1
0
Fork 0
Commit graph

249 commits

Author SHA1 Message Date
Daniel Thompson
9664c394a6 drivers: nrf_rtc: Add a higher res monotonic timer 2020-03-07 11:49:35 +00:00
Daniel Thompson
1b334f7ad9 wasp: pinetime: Enable the cst816s by default 2020-03-07 11:48:17 +00:00
Daniel Thompson
e5f455b5ba drivers: cst816s: Decouple from the watch module 2020-03-07 11:47:25 +00:00
Daniel Thompson
6dd50f89ba README: Move the screenshots further down the doc 2020-03-06 21:27:33 +00:00
Daniel Thompson
8216a271e4 README: Increasing the size of the video previews. 2020-03-06 21:25:38 +00:00
Daniel Thompson
dd6d00d9ca README: Caption the video's better for the front page 2020-03-06 21:17:16 +00:00
Daniel Thompson
86c4cd45b6 README: Adding an extra video to the front page 2020-03-06 21:14:34 +00:00
Daniel Thompson
948454a33b wasp: cst816s: Initial PoC driver 2020-03-06 21:09:43 +00:00
Daniel Thompson
1bfe748505 docs: Add .nojeykyll for better github compatiblity 2020-02-24 08:53:44 +00:00
Daniel Thompson
7fc4592383 wasp: draw565: Add some docstrings 2020-02-23 20:52:09 +00:00
Daniel Thompson
c3d4ddafbc wasp: clock: Add some docstrings 2020-02-23 20:51:58 +00:00
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
27e35527ff docs: Use sphinx to gather together all the wasp docs 2020-02-22 21:17:30 +00:00
Daniel Thompson
42abed4b37 gitignore: Hide the attic/ 2020-02-19 19:57:08 +00:00
Daniel Thompson
019ca1b4ed wasp: clock: Add date indication 2020-02-19 19:57:08 +00:00
Daniel Thompson
a26bfd33ce wasp: Update TODO to match current status. 2020-02-19 19:57:08 +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
3d091e3422 wasptool: Launch the console after all other arguments
This allows for an elegant iterative development approach where we upload
some code than then interact with it, for example:

  wasptool --exec wasp/drivers/nrf_rtc.py --console
  rtc = RTC(watch.rtc.counter)
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
c9ab38d757 wasptool: Simple tool for interacting with wasp-os devices 2020-02-19 19:57:08 +00:00
Daniel Thompson
3420bcfac8 Merge pull request #5 from mulm/master
Link to PineTime page on pine64
2020-02-10 10:33:10 +00:00
Daniel Thompson
b2c5b482d5 wasp: pinetime: Enable filesystem support 2020-02-09 19:49:52 +00:00
Daniel Thompson
3bc59b1c71 wasp: res: Add original source for battery icon 2020-02-09 19:48:40 +00:00
Daniel Thompson
7734566fbe micropython: Enable filesystem support 2020-02-09 19:47:57 +00:00
Daniel Thompson
9c299afe41 wasp: Add pure-python SPI NOR FLASH drivers 2020-02-09 19:47:02 +00:00
Will Richey
04b2a99666 Link to PineTime page on pine64 2020-02-08 14:06:56 -05: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
bfebf4c250 README: Add some notes about toolchains
There are many problem reports caused by people picking up
somewhat old compilers (gcc-6.3.1 seems especially common)
from their distro.
2020-02-07 08:15:21 +00:00
Daniel Thompson
8487479a1b README: Update prior to initial announcement 2020-02-04 19:11:58 +00:00
Daniel Thompson
4330aafaf0 README: Update describing how the clock app works 2020-02-04 08:50:14 +00:00
Daniel Thompson
b48df32eb1 wasp: manager: Wake up on a change of charging state 2020-02-04 08:49:10 +00:00
Daniel Thompson
2d0df5aed5 wasp: clock: Tweak the greying of the high order digits 2020-02-04 08:48:13 +00:00
Daniel Thompson
be6c6b02b0 wasp: clock: Reduce battery meter redraws
The ADC on nRF doesn't run precisely stable which means the battery
meter can flicker if updated too often. This will eventually
be fixed by the framework but, for now, let's just force the
update rate to be fairly slow.
2020-02-04 08:47:14 +00:00
Daniel Thompson
5489437f78 wasp: demo: Power up the display before launching the demo 2020-02-04 08:44:21 +00:00
Daniel Thompson
1d8b900d40 waps: widgets: Improve the battery meter athtetics
Add some extra internal padding and draw the battery in red when
power is critically low.
2020-02-04 08:43:49 +00:00
Daniel Thompson
3e0cb4eed5 wasp: manager: Avoid spurious garbage collection
Running garbage collection when idle it a waste of power...
2020-02-03 22:45:12 +00:00
Daniel Thompson
1f2c25a7bd wasp: clock: Add a simple battery meter 2020-02-03 22:35:16 +00:00
Daniel Thompson
57035ce080 wasp: st7789: Make fill() control sizing 2020-02-03 22:34:54 +00:00
Daniel Thompson
118b7bab00 wasp: st7789: Reuse the pre-allocated linebuffer 2020-02-03 22:32:53 +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
8168dd5939 wasp: st7789: Add positioning support to rleblit 2020-02-03 19:09:16 +00:00