summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-12simulator: Enable the music app in the simulatorDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12icons: Optimize flash size of the music player iconsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12apps: music: Fix double track name bugDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12apps: Add music player app with GadgetBridge supportCarlosgg
Signed-off-by: Carlos Gil <carlosgilglez@gmail.com> [daniel@redfelineninja.org.uk: fix regressions on simulator, disable by default (for now) on real hardware and remove a couple of whitespace changes to existing files] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11hrs3300: Defer initialization until the HRS is usedDaniel Thompson
This means hardware failure won't cause the initial boot to fail. This won't stop the heart rate app from crashing when it starts up but at least it will give a comprehensible crash report. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11TODO: Minor clarificationDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11reloader: Rewrite the splash screenDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11micropython: Update to micropython 1.13Daniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08TODO: Update to reflect current statusDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08README: Updated the device listDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08tools: rle_encode: Add support for rendering 2-bit RLEs to C srcDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: Add an Application Library chapterDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: install: Fix error message during documentation generationDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: refman: Add the fibonacci clock to the reference manualDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-07Update prereqs for mcuboot imgtool.pyDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-07Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-11-07reloader: Add support for newer PineTime factory firmwareDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06docs: update building from source apt dependenciesSergio Schvezov
The softdevice make target requires unzip Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
2020-11-06actions: Replace the matrix buils with the makefile dist ruleDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06Makefile: Avoid grabbing lots of pointless submodulesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06Added GitHub Actions supportPanagiotis Vasilopoulos
- This workflow caches both the Python modules, as well as the arm-none-eabi toolchain itself, in order to save resources and time. - This workflow is meant to imitate the building instructions as closely as possible for every board. After the workflow compiles wasp-os for a specific board, it will package the following in separate archives (per board): - the reloader - the bootloader (both the standalone and the DaFlasher variations) - a copy of MicroPython - a copy of the documentation - the additional tools that are necessary for interacting with devices running on wasp-os Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2020-11-04hex2c.py: Adopt a maximum chunk sizeDaniel Thompson
Large segments will be chunked into 32K blocks to they can be handled seperate. Creating a maximum chunk size allows us to perform a few tricks in the reloader by allowing us to overwrite parts of the reloader whilst it is running! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-04manager: Introduce shared "system bar"Daniel Thompson
Providing a status bar for all apps to use allows us to reduce allocations within the applications. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-25apps: fibonacci clock: Updates to structure like clock appDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-25apps: clock: Simplify and increase commentingDaniel Thompson
The main simplification is to adopt the status bar (with the status bar clock disabled) and to restructure the way draw and redraw are handled. Since the clock application is one of the most popular to customize it has also had extensive commenting added to describe how it works. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21apps: steps: Switch over the status bar widgetDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21apps: stopwatch: Switch over the status bar widgetDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21widgets: status: Add a status bar combo widgetDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21widgets: battery: Fix a redraw bugDaniel Thompson
Currently if the real battery level is <5% then a redraw from scratch will not draw the outline of the battery. Fix this by adding a special case for negative previous states (-1 charging, -2 redraw). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21widgets: clock: Add a simple clock widgetDaniel Thompson
This is intended to be reused by any app that shows the clock as part of the status bar at the top of the display. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21tools: wasptool: Improve error reporting if we can't syncDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21tools: wasptool: Fix verbose/not-verbose handlingDaniel Thompson
Fixes: 2839a04 ("tools: wasptool: Hide the stack trace on pexpect timeout") Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
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>