Browse Source

Include the gallery app in micropython.zip

...and move GameOfLife out to make space

The gallery app needs too much memory to run from bytecode, and has to
be frozen in micropython.zip instead

Signed-off-by: Francesco Gazzetta <[email protected]>
peter
Francesco Gazzetta 6 months ago committed by Daniel Thompson
parent
commit
a956b3efe5
  1. 0
      apps/GameOfLife.py
  2. 4
      docs/apps.rst
  3. 2
      docs/main/apps.py
  4. 0
      wasp/apps/gallery.py
  5. 2
      wasp/apps/software.py
  6. 2
      wasp/boards/manifest_240x240.py

0
wasp/apps/gameoflife.py → apps/GameOfLife.py

4
docs/apps.rst

@ -53,7 +53,7 @@ Applications
.. automodule:: apps.flashlight
.. automodule:: Gallery
.. automodule:: apps.gallery
.. automodule:: apps.haiku
@ -72,7 +72,7 @@ Applications
Games
-----
.. automodule:: apps.gameoflife
.. automodule:: GameOfLife
.. automodule:: apps.play2048

2
docs/main/apps.py

@ -10,4 +10,4 @@ wasp.system.schedule()
# watch will still (partially) boot even if we end up taking
# an exception during application init.
wasp.system.register('apps.flashlight.TorchApp')
wasp.system.register('apps.gameoflife.GameOfLifeApp')
wasp.system.register('apps.gallery.GalleryApp')

0
apps/Gallery.py → wasp/apps/gallery.py

2
wasp/apps/software.py

@ -43,7 +43,7 @@ class SoftwareApp():
db.append(('calc', factory('Calculator')))
db.append(('disaBLE', factory('DisaBLE')))
db.append(('faces', factory('Faces')))
db.append(('gameoflife', factory('Game Of Life')))
db.append(('gallery', factory('Gallery')))
db.append(('musicplayer', factory('Music Player')))
db.append(('play2048', factory('Play 2048')))
db.append(('snake', factory('Snake Game')))

2
wasp/boards/manifest_240x240.py

@ -12,7 +12,7 @@ manifest = (
'apps/faces.py',
'apps/fibonacci_clock.py',
'apps/flashlight.py',
'apps/gameoflife.py',
'apps/gallery.py',
'apps/haiku.py',
'apps/heart.py',
'apps/musicplayer.py',

Loading…
Cancel
Save