summaryrefslogtreecommitdiff
path: root/wasp/boards/p8
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-10-10 13:04:44 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-10-10 13:04:44 (GMT)
commitc1c66fb487113acbd4b2b7a722c3782d5a962e08 (patch)
tree3bef9eb822e6c8615fd57384ddc1dc4f9908342f /wasp/boards/p8
parent4942e3e93533821dcb4cd96cebac0ea9d5ffe8ce (diff)
boards: Introduce a shared manifest for all 240x240 devices
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>
Diffstat (limited to 'wasp/boards/p8')
-rw-r--r--wasp/boards/p8/manifest.py23
1 files changed, 6 insertions, 17 deletions
diff --git a/wasp/boards/p8/manifest.py b/wasp/boards/p8/manifest.py
index 3a525e1..9243d77 100644
--- a/wasp/boards/p8/manifest.py
+++ b/wasp/boards/p8/manifest.py
@@ -1,18 +1,14 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
+import os, sys
+
+sys.path.append(os.path.dirname(os.getcwd()))
+import manifest_240x240
+
freeze('.', 'watch.py', opt=3)
-freeze('../..',
+freeze('../..', manifest_240x240.manifest +
(
- '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',
@@ -23,17 +19,10 @@ freeze('../..',
'drivers/signal.py',
'drivers/st7789.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
)