1
0
Fork 0

wasp: dsd6/nitrogen: Fix the frozen manifests

This commit is contained in:
Daniel Thompson 2020-02-01 13:44:28 +00:00
parent fed9c58205
commit 9eb5d19e35
4 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,11 @@
freeze('../..',
(
'demo.py',
'drivers/battery.py',
'drivers/signal.py',
'drivers/vibrator.py',
),
opt=3
)
freeze('.', 'watch.py', opt=3)

View file

@ -0,0 +1,5 @@
from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
rtc = RTC(1, mode=RTC.PERIODIC)
rtc.start()

View file

@ -0,0 +1,13 @@
freeze('../..',
(
'demo.py',
'drivers/battery.py',
'drivers/signal.py',
'drivers/st7789.py',
'drivers/vibrator.py',
'logo.py',
),
opt=3
)
freeze('.', 'watch.py', opt=3)

View file

@ -0,0 +1,5 @@
from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
rtc = RTC(1, mode=RTC.PERIODIC)
rtc.start()