1
0
Fork 0
Commit graph

687 commits

Author SHA1 Message Date
Daniel Thompson
4c7e92d964 apps: settings: Adopt the slider... it looks more interesting 2020-05-24 14:20:20 +01:00
Daniel Thompson
de647b324c widgets: Introduce a slider widget
Currently the slider doesn't actually slide (because we process touch
events rather than swipe events) but we've called is a slider anyway.
2020-05-24 14:20:02 +01:00
Daniel Thompson
57999226fd draw565: rle2bit: Add support for palette overrides
This allows some interesting manipulations of 2-bit images.
2020-05-24 14:19:04 +01:00
Daniel Thompson
f56cf0e6d1 Remove spurious copy of hello.py 2020-05-21 20:58:02 +01:00
Daniel Thompson
e49a67f0f3 Add the reloader to the roadmap 2020-05-21 20:45:50 +01:00
Daniel Thompson
0ea809c6d1
README: Fix link to the application writers guide 2020-05-21 08:52:51 +01:00
Daniel Thompson
2f4f728221 README: Add a link to the Pinetime SWD Programming Guide
Fixes: #16
2020-05-20 22:17:33 +01:00
Daniel Thompson
0ee969150b Merge branch 'master' of https://github.com/daniel-thompson/wasp-os 2020-05-20 21:55:21 +01:00
Daniel Thompson
5d2ca4a8ee README: Better document how to meet the dependancies
Fixes: #1
Fixes: #3
2020-05-20 21:55:11 +01:00
Daniel Thompson
49de76faa2
Merge pull request #24 from SteveAmor/patch-1
Update README.rst
2020-05-19 09:27:51 +01:00
Daniel Thompson
60bb43e87b apps: gameoflife: Better pixel colour selection 2020-05-18 22:19:19 +01:00
Daniel Thompson
7f6b1b9059 draw565: Switch to a different palette for RLE 2-bit images
This is an incompatible change... older 2-bit images will need to be
re-encoded to display correctly.
2020-05-18 22:17:51 +01:00
Daniel Thompson
d9bdb0c82f boards: Remove demo.py from the manifests
Fixes: #25
2020-05-18 08:12:00 +01:00
Daniel Thompson
b9e82424e9 apps: demo: Move the logo into the demo app
The logo module is currently unused but it simply sits there consuming
flash. Let's shift it to the demo app to is can consume RAM instead (but
only when we upload the demo to the watch).
2020-05-17 14:37:44 +01:00
Daniel Thompson
ac1a799bfa draw565: Fix line optimization code
sx is measured in pixels (2-bytes) and len(display.linebuffer) gives
a value in bytes so the divisor isn't right.

Whilst we are here let's make sure we use integer division too.

Fixes: #18
2020-05-17 09:47:15 +01:00
Daniel Thompson
4906d46ff4 apps: demo: Move the demo code into a fully fledged application 2020-05-17 09:45:16 +01:00
Steveis
f5752a4250
Update README.rst
Clarification based on #9
2020-05-16 09:47:33 +01:00
Daniel Thompson
c3bc871727 pynus: Switch to the wasp-os version 2020-05-15 20:12:54 +01:00
Daniel Thompson
56b39d6404 README/TODO: Switch to restructured text 2020-05-15 19:55:18 +01:00
Daniel Thompson
6989eaf6a6
docs: Experimental workaround for readthedocs.org 2020-05-15 12:14:28 +01:00
Daniel Thompson
70ef8dd117
TODO: Add a couple of ideas for the documentation 2020-05-15 09:09:12 +01:00
Daniel Thompson
4533f4e689 TODO: ... and the docstrings are done! 2020-05-14 23:24:59 +01:00
Daniel Thompson
e391480b50 wasp: watch: docstrings for the watch namespace 2020-05-14 23:22:57 +01:00
Daniel Thompson
d11e6eb4a1 Make wasp-os namig consistant
Rename WASP to wasp-os (or Wasp-os)
2020-05-14 22:41:05 +01:00
Daniel Thompson
b8efcd3053 wasp: Even more docstrings 2020-05-14 22:29:35 +01:00
Daniel Thompson
f07fb6d22a wasp: draw565: docstrings for headings and __init__ 2020-05-14 21:44:05 +01:00
Daniel Thompson
42fe7bf352 drivers: vibrator: Finalize docstrings 2020-05-14 21:42:16 +01:00
Daniel Thompson
95f1788347 drivers: st7789: Finalize docstrings 2020-05-14 21:41:02 +01:00
Daniel Thompson
9274d8cc2d drivers: signal: Finalize docstrings 2020-05-14 21:39:14 +01:00
Daniel Thompson
880083977c drivers: nrf_rtc: Finalize docstrings 2020-05-14 21:36:33 +01:00
Daniel Thompson
d5c629a9ac drivers: cst816s: Finalize docstrings 2020-05-14 21:36:09 +01:00
Daniel Thompson
85079c149b drivers: battery: Finalize docstrings 2020-05-14 21:32:01 +01:00
Daniel Thompson
4af873c9e3 docs: appguide: Describe how to hack on frozen modules 2020-05-13 22:11:31 +01:00
Daniel Thompson
93ad0e6972 wasp: draw565: docstring improvements 2020-05-11 23:07:35 +01:00
Daniel Thompson
15d5d70bbd docs: appguide: Switch to proper note format 2020-05-11 23:03:15 +01:00
Daniel Thompson
ba002afbbf README: Direct links to the rendered documentation. 2020-05-11 21:56:23 +01:00
Daniel Thompson
a2fd52ef2b docs: Introduce the Application Writer's Guide. 2020-05-11 21:44:30 +01:00
Daniel Thompson
bb8e95cdd4 docs: Document the bootloader protocols
GPREGRET, PNVRAM and WDT protocols are all now fully documented.
2020-05-10 10:43:02 +01:00
Daniel Thompson
fe1bbbac52 apps: template: Fix broken docstring 2020-05-10 09:34:57 +01:00
Daniel Thompson
09071427e4 drivers: nrf_rtc: Fix some tab/space issues
These issues do not appear when parsing with micropython but when we
import this file into sphinx then things go a bit south.
2020-05-10 09:34:22 +01:00
Daniel Thompson
a4c62bb818 wasp: apps: Remove __init__.py
wasp-os contains circular import dependancies (wasp includes apps which
include wasp) but this is normally harmless.

However using __init__.py exagerated to the problem and since the benefit
of the __init__ file is pretty anyway the let's just remove it.
2020-05-10 09:33:26 +01:00
Daniel Thompson
399b956eb5 wasptool: Add a command to compare RTC against the local workstation
This allows us to observe RTC drift during reboot relatively easily.
2020-05-09 14:21:39 +01:00
Daniel Thompson
c1f8823f61 Add PNVRAM support to avoid forgetting the time during a reboot. 2020-05-09 14:19:10 +01:00
Daniel Thompson
b0dec58769 tools: ota-dfu: Adopt latest version 2020-05-09 14:09:45 +01:00
Daniel Thompson
945546a804 reloader: Integrate into the main build system 2020-05-09 14:09:28 +01:00
Daniel Thompson
59ae03fc67 Makefile: Match command line arguments with latest version of pyOCD 2020-05-09 14:07:32 +01:00
Daniel Thompson
d53b02ada3 TODO: Defer a couple of (fairly exotic) M2 features to M3 2020-05-09 14:07:06 +01:00
Daniel Thompson
dc4ea4ab62 reloader: OTA flashing tool for wasp-os 2020-04-26 19:21:28 +01:00
Daniel Thompson
17a8cfc346 tools: ota-dfu: Include a Linux-native OTA DFU tool 2020-04-26 19:18:17 +01:00
Daniel Thompson
5ce0d4cd6f tools/hexmerge: Fix file permissions 2020-04-26 15:01:48 +01:00