summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-20widgets: Rename StatusBar to NotificaitonBarDaniel Thompson
This is not (yet) a useful change but we'll be creating a new StatusBar soon. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: fibonacci_clock: Nudge the clock down a few pixelsDaniel Thompson
The better manages the space between the battery meter and the clock. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: fibonacci_clock: Enable status bar for notificationsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10widgets: Fix a broken docstringDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10tools: wasptool: Hide the stack trace on pexpect timeoutDaniel Thompson
The default pexpect exception dump is verbose and potentially useful if you know how to read it... but let's handle timeouts in a friendlier way. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10tools: wasptool: Wait longer for DFU to come upDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10res: Add graphics missing from previous commitsDaniel Thompson
Fixes: c6b0723 ("README: Add the Fibonacci clock the application showcase...) Fixes: aef95e6 ("apps: fibonacci_clock: Add an simple icon") Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10README: Add the Fibonacci clock the application showcase...Daniel Thompson
... and fix the mark up the get it to render correctly on readthedocs. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: fibonacci_clock: Add an simple iconDaniel Thompson
For some users the icon is pointless because they would rather install the clock on the quick ring but this clock is something of a novelty so it would be quite reasonable to only launch it when in the mood for decoding something! Happily the icon compresses nicely too! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10boards: Introduce a shared manifest for all 240x240 devicesDaniel Thompson
This also adds the Fibonaci Clock, Haiku viewer and the Game of Life to the manifest. They are *not* registered by default at this point since, although we can currently spare the internal flash space there is more competition for RAM so we have to trade off out-of-the-box convenience with keeping as much RAM as possible for users to do "cool things". Given the zen of wasp-os is to try to make is as easy as possible for users to become coders we currently favour reserving the space for the cool things (and implicitly encouraging them to write a couple of lines of python to enable the bonus applications. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: fibonacci_clock: Add a Fibonacci clock applicationJohannes Wache
Signed-off-by: Johannes Wache <jbwa@posteo.de> [daniel@redfelineninja.org.uk: Tidy up the "git soup", dropped the manifest changes and integrated the description from the original PR into the docstring for the app] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: haiku: Add a simple Haiku viewerDaniel Thompson
This app serves as an example of using the filesystem to make an application more flexible. Both the verses and the icon will be loaded from the filesystem rather than being burned into the wasp-os binaries. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10README: Start showcasing the optional appsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10bootloader: Fix builds for nRF52840 boardsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10drivers: flash: Automatic wake/sleep to minimise idle currentDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10boards: pinetime: Don't add nor_cs to the namespaceDaniel Thompson
Having an extra identifier for the Pin() is a waste of RAM... if you need the CS pin then grab it from watch.flash._cspins instead. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-10apps: pager: Avoid crashes for notifications with no bodyDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-09-27boards: Remove flash wake up commandsJeffrey Bailey
Wake from deep power down is now handled in the driver. Remove attempt to wake the board files. Signed-off-by: Jeffrey Bailey <wb.jeffrey@gmail.com> [daniel@redfelineninja.org.uk: Update commit message, simplify slightly, extended to all boards with spinor flash and update gitmodules to bring in the flash driver updates.] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-09-22wasp: Fix broken indentionDaniel Thompson
Currently the simulator cannot run correctly because the indentation in Manager.__init__ mixes tab and spaces. This is something CPython3 doesn't like but MicroPython is ok about. Fix the obvious by using correct indentation. Fixes: 889115f ("wasp: Allow app initialization to fail") Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-09-21drivers: cst816s: Clear the event buffer during a wake upDaniel Thompson
Currently with CST816S controllers (but not CST716S controllers) then a swipe delivered whilst the device is asleep will sometimes be processed after we wake it up. That's never likely to be useful. Fix this by explicitly clearing the event buffer as part of the wakeup sequence. Reported-by: Siroj42 <siroj42@users.noreply.github.com> Fixes: #65 Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-09-16docs: install: Describe unsupported step counter in P8aDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-09-16wasp: Allow app initialization to failDaniel Thompson
Colmi has released a new revision of the P8 hardware based on a different accelerometer. That makes it impossible for the StepCounterApp to initialize and currently this takes down the whole GUI due to the uncaught exception. Fix this by skipping applications that will not initialize. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-30docs: install: Add a troubleshooting guideDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-27docs: Update after review (and add K9)Daniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-21Makefile: Remove one of the lists of watch modelsDaniel Thompson
Takes us down from three to two... getting better! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-21Makefile: Add a dist rule to generate binary releasesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-19docs: install: Add instruction for installing modules with pipPanagiotis Vasilopoulos
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2020-08-16README: Improve the stopwatch screenshotDaniel Thompson
The stopwatch app support split times... let's make sure we are showing that off in the screenshots. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16TODO: Update documentation roadmap for v0.3Daniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16TODO: Add a table of contentsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16TODO: Switch to reverse orderDaniel Thompson
There are absolutely no changes to any milestone in the roadmap. It is simply sorted differently. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16TODO: Replanning ready for a 0.3 releaseDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16boards: simulator: Add an screenshot facilityDaniel Thompson
The screenshot is automatically named after the application currently running and copied into the res/ directory. This allows the application screenshots to be quickly updates if/when the screenshots get out of date as the applications are improved. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16README: Add a (fairly) comprehensive screenshot tourDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-16README: Tabulate the videosDaniel Thompson
Update the way the videos are presented. They are now tabulated and presented as figures (e.g. captioned) rather than images. They also now appear later in the files. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15Makefile: Fix the BOARDless targetsDaniel Thompson
Currently boardless targets including softdevice, sudmodules and sim cannot be run unless a dummy value of BOARD is supplied. Fix this by distinguishing between conditional and unconditional expansions of the BOARD variable. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15apps: stopwatch: Add NEXT supportDaniel Thompson
On a device with NEXT support we need to make sure we reset the stopwatch when switching away from it (if it is not running) since there may not be any other way to reset it. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15drivers: cst816s: Handle a failure to sleepDaniel Thompson
Exceptions on th sleep path more or less kill the device (it is half alseep and is not on... but not off enough for the power button to work. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15gadgetbridge: Disable the not-implemented messageDaniel Thompson
Currently the not-implemented message provokes GadgetBridget into issuing lots of annoying toaster messages. It's still useful for debugging but let's disable it by default. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15wasp: Introduce a NEXT eventDaniel Thompson
This is useful for devices that do not have touchscreens. It can be used to cycle through the quick ring and to check out notifications. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15k9: Disable safe-modeDaniel Thompson
Currently the K9 is wedged in safe-mode. Oops! Fix this. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15k9: watch.py.in: Fix backlightDaniel Thompson
Currently the backlight is permanently on at its lowest level. The backlight is so dim that this is almost impossible to detect. I only found it when lying in a field in total darkness and observing that the screen wasn't quite as black as I expected. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15README: Fix typoMichael Scherer
[daniel@redfelineninja.org.uk: The patch author did not respond to a request for a Signed-off-by but since there's no way a typo correction is copyrightable (and I don't want the project to continue to look illiterate) then I have provided my own as a substitute.] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-15contributing: Added a git quick fix howtoDaniel Thompson
Suggested-by: Panagiotis Vasilopoulos <hello@alwayslivid.com> Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-14Merge pull request #61 from AlwaysLivid/shebang-changeDaniel Thompson
wasptool: Change Python shebang to ensure compatibility
2020-08-14Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-08-14docs: Add a contributors guideDaniel Thompson
Mostly this is adopting policies (both DCO and Contributor Covenent) that are commonly used by other projects... Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-14wasptool: Change Python shebang to ensure compatibilityPanagiotis Vasilopoulos
- Certain Unix-like systems (such as *BSD systems) do not use /usr/bin/python3 as the default Python path. This small change will ensure a higher degree of compatibility. Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2020-08-09Merge pull request #48 from Siroj42/masterDaniel Thompson
Fix background color of strings.
2020-08-09k9: Add support for Senbono K9Daniel Thompson
The K9 is similar to the PineTime and P8 devices but does not appear to use the CST[78]16 touch screen controllers. At present the protocol is not known (readfrom yields all zeros, readfrom_mem provokes an exception) so we have a hugely limited interface consisting of the side button and the touchscreen interrupts (in other words we can treat the touchscreen like a second button). Works suprisingly well considering... Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>