summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-29 12:23:05 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-29 19:14:31 (GMT)
commit233c136a5c5f1fd4fc940400bc80951c76828811 (patch)
tree50dec3c9f128e36f7c1c4cf6d386bcbb8630d4e8 /wasp
parent39c9344b14e22822845254445f35ff598e702fda (diff)
apps: alarm: Add the alarm app to the library
Like the other library applications this is enabled in the simulator and included in the flash image but is disabled by default to conserve RAM (and to give time to new apps to mature and receive improvements). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/boards/manifest_240x240.py1
-rw-r--r--wasp/boards/simulator/main.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/wasp/boards/manifest_240x240.py b/wasp/boards/manifest_240x240.py
index c99fdb8..e2febbf 100644
--- a/wasp/boards/manifest_240x240.py
+++ b/wasp/boards/manifest_240x240.py
@@ -3,6 +3,7 @@
"""Shared manifest for applications that work well on a 240x240 display."""
manifest = (
+ 'apps/alarm.py',
'apps/clock.py',
'apps/flashlight.py',
'apps/gameoflife.py',
diff --git a/wasp/boards/simulator/main.py b/wasp/boards/simulator/main.py
index eee57d4..fb7698b 100644
--- a/wasp/boards/simulator/main.py
+++ b/wasp/boards/simulator/main.py
@@ -3,6 +3,9 @@
import wasp
+from apps.alarm import AlarmApp
+wasp.system.register(AlarmApp())
+
from apps.fibonacci_clock import FibonacciClockApp
wasp.system.register(FibonacciClockApp())