diff --git a/docs/apps.rst b/docs/apps.rst index b8fc67c..88ef2d4 100644 --- a/docs/apps.rst +++ b/docs/apps.rst @@ -43,6 +43,13 @@ It can be enabled by modifying ``main.py``. Integration ----------- +.. automodule:: apps.alarm + +This app is enabled by default in the simulator. +The app is also frozen into the firmware image but it is disabled by +default in order to keep RAM available for user developed applications. +It can be enabled by modifying ``main.py``. + .. automodule:: apps.musicplayer This app is enabled by default in the simulator. 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())