There are still some holes here. In particular the RTC resolution on nRF devices (such as PineTime) is currently a full second (meaning the centiseconds will always be zero. Nevertheless that isn't the apps fault... as we can see when we run on the simulator.
42 lines
925 B
Python
42 lines
925 B
Python
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
# Copyright (C) 2020 Daniel Thompson
|
|
|
|
freeze('.', 'watch.py', opt=3)
|
|
freeze('../..',
|
|
(
|
|
'apps/__init__.py',
|
|
'apps/clock.py',
|
|
'apps/flashlight.py',
|
|
'apps/launcher.py',
|
|
'apps/pager.py',
|
|
'apps/settings.py',
|
|
'apps/stopwatch.py',
|
|
'apps/testapp.py',
|
|
'boot.py',
|
|
'demo.py',
|
|
'draw565.py',
|
|
'drivers/battery.py',
|
|
'drivers/cst816s.py',
|
|
'drivers/nrf_rtc.py',
|
|
'drivers/signal.py',
|
|
'drivers/st7789.py',
|
|
'drivers/vibrator.py',
|
|
'fonts/__init__.py',
|
|
'fonts/clock.py',
|
|
'fonts/sans24.py',
|
|
'fonts/sans36.py',
|
|
'icons.py',
|
|
'logo.py',
|
|
'shell.py',
|
|
'wasp.py',
|
|
'widgets.py',
|
|
),
|
|
opt=3
|
|
)
|
|
freeze('../../drivers/flash',
|
|
(
|
|
'bdevice.py',
|
|
'flash/flash_spi.py'
|
|
), opt=3
|
|
)
|