diff --git a/wasp/boards/k9/manifest.py b/wasp/boards/k9/manifest.py index 1c1d7e2..c160c21 100644 --- a/wasp/boards/k9/manifest.py +++ b/wasp/boards/k9/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/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 ) diff --git a/wasp/boards/manifest_240x240.py b/wasp/boards/manifest_240x240.py new file mode 100644 index 0000000..6bf88c8 --- /dev/null +++ b/wasp/boards/manifest_240x240.py @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later +# Copyright (C) 2020 Daniel Thompson +"""Shared manifest for applications that work well on a 240x240 display.""" + +manifest = ( + 'apps/clock.py', + 'apps/flashlight.py', + 'apps/gameoflife.py', + 'apps/haiku.py', + 'apps/heart.py', + 'apps/launcher.py', + 'apps/pager.py', + 'apps/settings.py', + 'apps/steps.py', + 'apps/stopwatch.py', + 'apps/fibonacci_clock.py', + 'apps/testapp.py', + 'fonts/__init__.py', + 'fonts/clock.py', + 'fonts/sans24.py', + 'fonts/sans28.py', + 'fonts/sans36.py', + 'icons.py', + 'widgets.py', +) 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 ) diff --git a/wasp/boards/pinetime/manifest.py b/wasp/boards/pinetime/manifest.py index 3a525e1..9243d77 100644 --- a/wasp/boards/pinetime/manifest.py +++ b/wasp/boards/pinetime/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 )