summaryrefslogtreecommitdiff
path: root/wasp
AgeCommit message (Collapse)Author
2020-06-04Fix symbol lookup error (knob2)Daniel Thompson
2020-05-24apps: settings: Adopt the slider... it looks more interestingDaniel Thompson
2020-05-24widgets: Introduce a slider widgetDaniel Thompson
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-24draw565: rle2bit: Add support for palette overridesDaniel Thompson
This allows some interesting manipulations of 2-bit images.
2020-05-18apps: gameoflife: Better pixel colour selectionDaniel Thompson
2020-05-18draw565: Switch to a different palette for RLE 2-bit imagesDaniel Thompson
This is an incompatible change... older 2-bit images will need to be re-encoded to display correctly.
2020-05-18boards: Remove demo.py from the manifestsDaniel Thompson
Fixes: #25
2020-05-17apps: demo: Move the logo into the demo appDaniel Thompson
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-17draw565: Fix line optimization codeDaniel Thompson
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-17apps: demo: Move the demo code into a fully fledged applicationDaniel Thompson
2020-05-14wasp: watch: docstrings for the watch namespaceDaniel Thompson
2020-05-14Make wasp-os namig consistantDaniel Thompson
Rename WASP to wasp-os (or Wasp-os)
2020-05-14wasp: Even more docstringsDaniel Thompson
2020-05-14wasp: draw565: docstrings for headings and __init__Daniel Thompson
2020-05-14drivers: vibrator: Finalize docstringsDaniel Thompson
2020-05-14drivers: st7789: Finalize docstringsDaniel Thompson
2020-05-14drivers: signal: Finalize docstringsDaniel Thompson
2020-05-14drivers: nrf_rtc: Finalize docstringsDaniel Thompson
2020-05-14drivers: cst816s: Finalize docstringsDaniel Thompson
2020-05-14drivers: battery: Finalize docstringsDaniel Thompson
2020-05-11wasp: draw565: docstring improvementsDaniel Thompson
2020-05-11docs: Introduce the Application Writer's Guide.Daniel Thompson
2020-05-10apps: template: Fix broken docstringDaniel Thompson
2020-05-10drivers: nrf_rtc: Fix some tab/space issuesDaniel Thompson
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-10wasp: apps: Remove __init__.pyDaniel Thompson
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-09Add PNVRAM support to avoid forgetting the time during a reboot.Daniel Thompson
2020-04-26wasp: drivers: nrf_rtc: Fix a nasty bug when setting the timeDaniel Thompson
The code to recalculate the uptime to walltime adjustment was broken (e.g. the longer we leave it after reboot the more inaccurate the time setting becomes). Fixes: 80079e4 ("wasp: nrf_rtc: Add a tiny bit of extra resolution")
2020-04-26apps: launcher: Add a scroll ready indicatorDaniel Thompson
2020-04-26apps: launcher: Make app.ICON optionalDaniel Thompson
2020-04-26apps: stopwatch: Fix redraw bug (and remove some old test code)Daniel Thompson
2020-04-26wasp: nrf_rtc: Add a tiny bit of extra resolutionDaniel Thompson
We now have a couple of applications (stopwatch, Game of Life) that benefit from sub-second precision. The micropython RTC/utime code for nrf still needs a major overhaul but this allows us to paper over the cracks for just a little longer.
2020-04-26wasp: Manager: Avoid printing the stack trace when it can cause problemsDaniel Thompson
On nRF devices if we print with the NUS console disconnected (instead of never connected) then things we can end up hanging. Better only to print an exception if the watch class contains a method to do that.
2020-04-18wasp: apps: Conway's Game of LifeDaniel Thompson
2020-04-17boards: simulator: Add ptr32 supportDaniel Thompson
2020-04-14wasp: Manager: Bring in proper separation of appsDaniel Thompson
This is getting us much closer to the final UI concept. We have a quick ring from which we can select typical apps such as clock and stopwatch which will (eventually) be supplemented with step counting and heart rate monitoriing. More exotic apps (currenrtly torch, self test, settings) are all relagated to the launcher ring.
2020-04-14wasp: stopwatch: Replace the stub with a "real" implementationDaniel Thompson
There are still some holes here. In particular the RTC resolution on nRF devices (such as PineTime) is currently a full second (meaning the centiseconds will always be zero. Nevertheless that isn't the apps fault... as we can see when we run on the simulator.
2020-04-14wasp: Manager: Push exceptions to the console as well as the crash appDaniel Thompson
2020-04-14fonts: Add sans36 (numerals only)Daniel Thompson
At 36pt this is already gobbling a fair bit of flash so, for now, we've restricted this only numerals (and colon).
2020-04-12WIP: Introduce the quick_ringDaniel Thompson
2020-04-12wasp: template: Implement optional application methodsDaniel Thompson
2020-04-12wasp: apps: Add shortcuts to all appsDaniel Thompson
2020-04-12wasp: testapp: Sort tests alphabeticallyDaniel Thompson
2020-04-11wasp: Automatically generate watch.py for PineTimeDaniel Thompson
This should ensure that main.py is always up to date.
2020-04-11docs: Add text descriptions of iconsDaniel Thompson
Having the raw hex strings makes the docs look really unclean. Fix this by providing a special version of icons for the "sphinx" board.
2020-04-11docs: Fix warnings and add a few extra apps to the docsDaniel Thompson
2020-04-11wasp: simulator: Use Tab to replicate the physical buttonDaniel Thompson
2020-04-11wasp: On-device crash reportingDaniel Thompson
If an application crashes let's report it on the device so it can be distinguished from a hang (if nothing else it should mean we get better bug reports).
2020-04-10wasp: apps: Add a new (super simple) settings appDaniel Thompson
2020-04-10wasp: draw565: Optimize the bit expansion blitter slightly.Daniel Thompson
2020-04-10wasp: draw565: Automatic RLE format conversionDaniel Thompson
From here we can also bring colour to the launcher!