summaryrefslogtreecommitdiff
path: root/wasp/boards/k9/manifest.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-09 19:06:45 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-09 19:06:45 (GMT)
commit2d1942f76a52ea748617791bc22022fb447f182c (patch)
treee297d97aefa2da426de7d57c165705cd1780d610 /wasp/boards/k9/manifest.py
parent5c30b2e0f0acdf055e820b5905cdf7ff9d9ad649 (diff)
k9: Add support for Senbono K9
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>
Diffstat (limited to 'wasp/boards/k9/manifest.py')
-rw-r--r--wasp/boards/k9/manifest.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/wasp/boards/k9/manifest.py b/wasp/boards/k9/manifest.py
new file mode 100644
index 0000000..1c1d7e2
--- /dev/null
+++ b/wasp/boards/k9/manifest.py
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
+freeze('.', 'watch.py', opt=3)
+freeze('../..',
+ (
+ 'apps/clock.py',
+ 'apps/flashlight.py',
+ 'apps/heart.py',
+ 'apps/launcher.py',
+ 'apps/pager.py',
+ 'apps/settings.py',
+ 'apps/steps.py',
+ 'apps/stopwatch.py',
+ 'apps/testapp.py',
+ 'boot.py',
+ 'draw565.py',
+ 'drivers/bma421.py',
+ 'drivers/battery.py',
+ 'drivers/hrs3300.py',
+ 'drivers/nrf_rtc.py',
+ 'drivers/signal.py',
+ 'drivers/st7789.py',
+ 'drivers/touch.py',
+ 'drivers/vibrator.py',
+ 'fonts/__init__.py',
+ 'fonts/clock.py',
+ 'fonts/sans24.py',
+ 'fonts/sans28.py',
+ 'fonts/sans36.py',
+ 'gadgetbridge.py',
+ 'icons.py',
+ 'ppg.py',
+ 'shell.py',
+ 'wasp.py',
+ 'widgets.py',
+ ),
+ opt=3
+)
+freeze('../../drivers/flash',
+ (
+ 'bdevice.py',
+ 'flash/flash_spi.py'
+ ), opt=3
+)