summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-17boards: simulator: Add ptr32 supportDaniel Thompson
2020-04-17tools: wasptool: Introduce simple chunkingDaniel Thompson
This reduces the memory overhead required to --exec a file (although we will still have problems with big classes). For now we have avoided matching "^def" since we need additional handling for decorators!
2020-04-17tools: wasptool: Add support for --resetDaniel Thompson
2020-04-14TODO: Record even more progress towards being awesome!Daniel 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: Makefile: Try to avoid nuking the .git directory...Daniel Thompson
... if there is one.
2020-04-11docs: gnu-lgpl-v3.0: Fix some broken indentation.Daniel Thompson
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-10tools: wasptool: Change characters used in the progress barDaniel Thompson
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!
2020-04-10tools: rle_encode: Optimize the 2-bit encoding slightlyDaniel Thompson
This results in a image that is entirely ROMable.
2020-04-10wasp: draw565: Fix colors when burst filling a line.Daniel Thompson
2020-04-10Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-04-10Merge pull request #7 from salcedo/masterDaniel Thompson
wasp: pinetime: Release SPI NOR from deep power-down
2020-04-08wasp: draw565: Optimize the 2-bit RLE drawing functionsDaniel Thompson
There's a bunch of different changes here but there are only really three big wins. The biggest win comes from restructuring the 2-bit RLE decode loop to avoid the inner function (~20%) but the switch to 16-bit writes in _fill() and adoption of quick_write (e.g. no CS toggling) are also note worthy (and about 5% each).
2020-04-06TODO: Update to make latest status.Daniel Thompson
2020-04-06wasp: testapp: Add RLE drawing benchmarks.Daniel Thompson
2020-04-06wasp: launcher: Experimental launcher implementationDaniel Thompson
It is not really the launcher itself that is immature. Rather that the framework and UI concepts to move between applications isn't complete yet.
2020-04-06wasp: simulator: Optimize the drawing processDaniel Thompson
This makes per-pixel access more than double the performnace of a regular pixelview (but at the expense of requiring numpy).
2020-04-06wasp: draw565: Add 2-bit RLE decoderDaniel Thompson
2020-04-06res: Switch from indexed to RGB modeDaniel Thompson
Indexed mode doesn't work with the new 2-bit encoder and adopting RGB mode means we can compare the efficiency of the various possible encodings.
2020-04-06tools: wasptool: Add a progress bar to the BLE uploadsDaniel Thompson
2020-04-06tools: rle_encode: Add a new "2-bit" encoding mode.Daniel Thompson
2020-04-06wasp: widgets: Add a scrolling indicatorDaniel Thompson
As we enrich the navigation options we will increasinly need to visualize between apps where up/down will switch us between rings and there up/down is needed to scroll through content.
2020-04-06wasp: testapp: Add an option to force an exceptionDaniel Thompson
We will shortly be adding machinary to handle application errors more gracefully. This is a useful way to force an application error!
2020-04-06wasp: manager: make sleep() and background() callbacks optionalDaniel Thompson
Making callbacks optional reduces pointless boilerplate in applications.
2020-04-06wasp: vibrator: Better default for pulseDaniel Thompson
These defaults are good for giving quick UI feedback.
2020-04-06wasp: Manager: Parameterize the keep awake timerDaniel Thompson
This might be a reasonable preference for the setings but, more importantly, we can also set blank_after to very high values to ensure the watch doesn't sleep during the voice over in videos!
2020-04-06wasp: Rename Debounce to PinHandlerDaniel Thompson
Debounce was a lousy name...
2020-04-06wasp: simulator: Swap up/down and left/rightDaniel Thompson
This gives the simulator a more natural feel since the "swipe left" action usually means "more a screen to the right". This will probably make testing games impossible but makes it much easier to navigate the menus.
2020-04-06wasp: draw565: Allow the drawing context to be resetDaniel Thompson
The main reason to reset the drawing context is so that it can be reset before we call foreground() on an application.
2020-04-06wasp: Add button presses to the event system.Daniel Thompson
Here the biggest changes are in the test application because we refactor a number of the tests to make better use of the button. Although applications may consume button events it does have a default behavior which is to switch to the default application (usually the clock).
2020-04-06apps: Remove unused support for effect animationDaniel Thompson
After a bit of testing I have not yet come up with a fast, visually acceptable horizontal animated effect. Instead we simply reply on screen blanking during the redraw... meaning there is no need for an effect hint.
2020-04-06wasp: Get the terminology straightDaniel Thompson
As it turned out Direction was only a Direction because there were things missing from the enumeration!
2020-04-06wasp: Factor out the sleep/wake codeDaniel Thompson
Pulling this out into a method allows it to be called by an application.
2020-04-06README: Add a link to the lastest wasp-os videoDaniel Thompson
2020-03-26wasp: Add support for brightness caching and keep-awake signallingDaniel Thompson