summaryrefslogtreecommitdiff
path: root/wasp/boards/simulator
AgeCommit message (Collapse)Author
2020-06-12wasp: simulator: Improve the RTCDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-11drivers: cst816s: optimize for power saving and responsivenessFuji Pebri
Signed-off-by: Fuji Pebri <pebri86@gmail.com> [daniel@redfelineinja.org.uk: removed leading underscore from method arguments, removed redundant state tracking, adopt i2c.writeto_mem] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-11wasp: simulator: Add interupt support for CST816SDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-09wasp: apps: Step counter applicationDaniel Thompson
Currently there's no fancy algorithms to estimate stride length. Just pure simple step counting directly from the hardware's "intelligence engine". Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-04-17boards: simulator: Add ptr32 supportDaniel 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-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-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: 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-03-22Add licensing information for all wasp-os files.Daniel Thompson
2020-03-08wasp: Re-factor how Draw565 is used.Daniel Thompson
Moving it from applications into the watch is useful for two reasons. Firstly it means applications don't need to know as much about the display color depth and secondly it makes it easier to replace the drawing routines with wasptool.
2020-03-08testapp: Show the render time for the string testDaniel Thompson
2020-03-08wasp: Integrate the touch driverDaniel Thompson
At this point we are starting to bring an event model for applications but there's still a long way to go!
2020-03-07wasp: simulator: Add CST816S simulationDaniel Thompson
2020-02-23clock: Reduce the update rate of the battery meterDaniel Thompson
In addition to the fix (which is simple) we also modify the button handling of the simulator because, rather by acident, it relies on the bugs in the battery meter redraw to ensure the simulator stays active.
2020-02-19wasp: Add full dd-mm-yyyy calender trackingDaniel Thompson
2020-02-08drivers: st7789: Optimize RLE decoding loopDaniel Thompson
Migrate the filling of the line buffer into a seperate function. This does naturally reduce the cost of the loop management but much more importantly allows us to use viper native code generator.
2020-02-03wasp: simulator: Add battery level simulationDaniel Thompson
In order to get best test coverage the act of reading the battery results in the battery either charging or discharging.
2020-02-03wasp: simulator: Add RTC supportDaniel Thompson
2020-02-03wasp: simulator: Add support for machine.[light|deep]sleep()Daniel Thompson
2020-02-03wasp: simulator: Fix column and row selectDaniel Thompson
2020-02-01wasp: simulator: Add ST7789 simulationDaniel Thompson
2020-01-31wasp: simulator: First steps towards a simulatorDaniel Thompson
Currently this just traces SPI activity from the ST7789 driver but its a good baseline to start building up test functions from.