Daniel Thompson
3892f07e62
wasp: Add simple clock app
...
At this point both the simulator and a PineTime will come up
and show a clock (although in the case of the PineTime the clock
will just come up at 12:00).
2020-02-03 19:26:08 +00:00
Daniel Thompson
fc74f7e37b
wasp: simulator: Add RTC support
2020-02-03 19:23:10 +00:00
Daniel Thompson
a5caa845b7
wasp: simulator: Add support for machine.[light|deep]sleep()
2020-02-03 19:22:54 +00:00
Daniel Thompson
d0f18a15fa
wasp: simulator: Fix column and row select
2020-02-03 19:14:44 +00:00
Daniel Thompson
127df66335
wasp: pinetime: Basic RTC support
...
Currently this supports time only (no date) and it based on the
RTCounter class which is customized for nRF ports. At present
the nRF port doesn't have proper machine.rtc support so we have
implemented within wasp instead.
2020-02-03 19:12:04 +00:00
Daniel Thompson
8168dd5939
wasp: st7789: Add positioning support to rleblit
2020-02-03 19:09:16 +00:00
Daniel Thompson
38c18b6403
wasp: fonts: Add a large font for digital clock apps
2020-02-03 19:08:40 +00:00
Daniel Thompson
fb252818e9
tools: rle_encode: Derive variable names from filenames
2020-02-03 19:07:11 +00:00
Daniel Thompson
e21f2a79ca
wasp: simulator: Add ST7789 simulation
2020-02-01 20:20:53 +00:00
Daniel Thompson
c7e11d6020
wasp: Adopt a low power mode shortly after booting
...
This is useful for battery run-down testing and so on.
2020-02-01 20:20:30 +00:00
Daniel Thompson
9eb5d19e35
wasp: dsd6/nitrogen: Fix the frozen manifests
2020-02-01 13:44:28 +00:00
Daniel Thompson
fed9c58205
wasp: pinetime: Start an RTC at board board
2020-02-01 13:42:11 +00:00
Daniel Thompson
a70f82cf74
Makefile: Allow BOARD to come from the environment
2020-02-01 13:40:19 +00:00
Daniel Thompson
262d93c76c
wasp: simulator: First steps towards a simulator
...
Currently this just traces SPI activity from the ST7789 driver but its
a good baseline to start building up test functions from.
2020-01-31 19:36:55 +00:00
Daniel Thompson
e36caf5997
wasp: Add a super-simple vibrator driver
2020-01-31 19:34:04 +00:00
Daniel Thompson
735d8d094c
bootloader: Now works on boards without ST7789
2020-01-31 19:23:46 +00:00
Daniel Thompson
e6c44fad0c
gitignore: Hide a cached Python bytecode
2020-01-31 19:21:58 +00:00
Daniel Thompson
ba41f391fc
TODO: Split into milestones
2020-01-31 09:15:08 +00:00
Daniel Thompson
ccfa480740
README: Add video link
2020-01-31 09:10:39 +00:00
Daniel Thompson
0acbcc415b
wasp: Reorganise the board support
2020-01-30 22:11:31 +00:00
Daniel Thompson
a34d65d7fd
wasp: Add battery support
2020-01-30 21:46:35 +00:00
Daniel Thompson
ef5d805c51
Makefile: Forcible remove frozen content
...
The micropython build system has incomplete dependancy tracking, especially
with regard to frozen manifests. Work round this by nuking the frozen
content before attempting a build. Sure this is a hack... but much
better than developing a "make clean; make all" habit.
2020-01-30 21:45:35 +00:00
Daniel Thompson
d3d98c8ffb
wasp: Re-enable REPL by default
...
The demo is still there but it needs to be activated by hand
(or the manifest can be updated to include main.py by default.
2020-01-29 17:30:57 +00:00
Daniel Thompson
564200757c
TODO: Updates after progress on bootloader
2020-01-28 21:27:12 +00:00
Daniel Thompson
7241fce7e4
gitignore: Ignore vim swap files
2020-01-28 21:27:02 +00:00
Daniel Thompson
0016ad4be7
Makefile: Shortcut to help update the bootloader using BMP
2020-01-28 21:25:17 +00:00
Daniel Thompson
35fa791893
bootloader: Adopt latest bootloader
...
Includes splash screen support using res/pinedfu.png.
2020-01-28 21:23:48 +00:00
Daniel Thompson
80bee2d305
wasp: drivers: st7789: Remove redunant delay
2020-01-28 21:19:36 +00:00
Daniel Thompson
28640d431e
tools: rle_encode: Experimental color encoder
...
The output from this is a bit too bulky so the code isn't hooked up
to anything at the moment.
2020-01-28 21:19:06 +00:00
Daniel Thompson
fbc5ee87d2
tools: rle_encode: Implement proper argument parsing
2020-01-28 21:17:41 +00:00
Daniel Thompson
6dfc95764f
manifest: Enable highest optimization by default
2020-01-28 21:16:22 +00:00
Daniel Thompson
e88165b429
wasp: drivers: st7789: native code gen for rleblit
...
This is a useful performance boost... but there is still
scope to get this a lot quicker.
2020-01-28 18:45:27 +00:00
Daniel Thompson
0917d5135d
Makefile: Switch to FROZEN_MANIFEST
...
This not only avoids the use of a deprecated feature but it also
makes it easier to decouple the wasp/ directory structure from
what actually gets copied to the target.
2020-01-28 18:45:27 +00:00
Daniel Thompson
c38e133d91
micropython: Update for native code gen fixes
2020-01-28 18:45:27 +00:00
Daniel Thompson
6474317574
wasp: pinetime: Fix backlight flicker during bootup
2020-01-28 18:45:27 +00:00
Daniel Thompson
e31162ae22
TODO: Make compatible with the GFM tasklist extension
2020-01-28 18:45:27 +00:00
Daniel Thompson
90a7d3c897
TODO: Initial list for the sprint to dumb watch parity
2020-01-28 18:45:27 +00:00
Daniel Thompson
bf3e6cf945
res: Add original source artwork for content in logo.py
2020-01-28 18:45:27 +00:00
Daniel Thompson
4604603352
tools: rle_encode: Rework into proper functions
2020-01-28 18:45:26 +00:00
Daniel Thompson
8f231430b3
logo: Gather together the bitmaps into a single variable
...
The PineTime demo will also now cycle through both the Pine64 and
MicroPython logos.
2020-01-28 18:45:26 +00:00
Daniel Thompson
06b8730af8
wasp: Turn-key demo
...
Press ^C to terminate the demo and start programming in python!
2020-01-28 18:45:26 +00:00
Daniel Thompson
3157bcc310
wasp: drivers: st7789: Replace with custom uPy driver
...
This driver was rewritten from scratch, borrowing some idioms
from the SSD1306 driver to ensure an efficient implementation
in uPy.
2020-01-28 18:45:15 +00:00
Daniel Thompson
1ec5c11ea7
WIP: tools: Simple RLE encoder
2020-01-23 18:55:03 +00:00
Daniel Thompson
7ea3acc21a
wasp: Add a RLE encoded Pine logo
2020-01-23 18:54:26 +00:00
Daniel Thompson
2805a719f2
wasp: st7789: Add a simple proof-of-concept display driver
2020-01-21 22:10:50 +00:00
Daniel Thompson
a8d8d92481
README: Initial version
2020-01-20 08:16:49 +00:00
Daniel Thompson
9b99808588
bootloader/micropython: Basic board support and WDT
2020-01-20 08:09:28 +00:00
Daniel Thompson
cd1063426e
Makefile: Switch to pyocd for flashing
...
Using the mass storage device mode on Nitrogen leaves the board in an
odd state where the bootloader cannot properly load the payload.
2020-01-20 08:09:28 +00:00
Daniel Thompson
64f1015a8d
Makefile: Add shortcut to download the softdevice binary
2020-01-20 08:09:28 +00:00
Daniel Thompson
5b016dcb4e
Makefile: Try an experimental bootloader dist package
...
This doesn't work for OTA at present.
2020-01-20 08:09:28 +00:00