wasp-os/docs/main/apps.py
Francesco Gazzetta a956b3efe5 Include the gallery app in micropython.zip
...and move GameOfLife out to make space

The gallery app needs too much memory to run from bytecode, and has to
be frozen in micropython.zip instead

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2022-03-27 08:58:22 +01:00

14 lines
406 B
Python

# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
import wasp
from gadgetbridge import *
wasp.system.schedule()
# Registering normal apps *after* the schedule() ensures the
# watch will still (partially) boot even if we end up taking
# an exception during application init.
wasp.system.register('apps.flashlight.TorchApp')
wasp.system.register('apps.gallery.GalleryApp')