wasp: dsd6/nitrogen: Fix the frozen manifests
This commit is contained in:
parent
fed9c58205
commit
9eb5d19e35
4 changed files with 34 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
freeze('../..',
|
||||
(
|
||||
'demo.py',
|
||||
'drivers/battery.py',
|
||||
'drivers/signal.py',
|
||||
'drivers/vibrator.py',
|
||||
),
|
||||
opt=3
|
||||
)
|
||||
freeze('.', 'watch.py', opt=3)
|
||||
|
5
wasp/boards/dsd6/watch.py
Normal file
5
wasp/boards/dsd6/watch.py
Normal 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()
|
|
@ -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)
|
||||
|
5
wasp/boards/nitrogen/watch.py
Normal file
5
wasp/boards/nitrogen/watch.py
Normal 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()
|
Loading…
Reference in a new issue