1
0
Fork 0
wasp-os/wasp/boards/p8/manifest.py
Daniel Thompson c1c66fb487 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>
2020-10-10 14:04:44 +01:00

34 lines
735 B
Python

# 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('../..', manifest_240x240.manifest +
(
'boot.py',
'draw565.py',
'drivers/bma421.py',
'drivers/battery.py',
'drivers/cst816s.py',
'drivers/hrs3300.py',
'drivers/nrf_rtc.py',
'drivers/signal.py',
'drivers/st7789.py',
'drivers/vibrator.py',
'gadgetbridge.py',
'ppg.py',
'shell.py',
'wasp.py',
),
opt=3
)
freeze('../../drivers/flash',
(
'bdevice.py',
'flash/flash_spi.py'
), opt=3
)