1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00

Configuration & boot of apps

This commit is contained in:
slush0 2016-04-28 23:48:27 +02:00 committed by Pavol Rusnak
parent 53ce44111e
commit ab9141dd95
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,2 +1,17 @@
import playground import trezor.main
playground.run()
# Load all applications
from apps import homescreen
from apps import playground
# from apps import wallet
# Initialize all applications
homescreen.boot()
playground.boot()
# wallet.boot()
# Load default homescreen
from apps.homescreen.layout_homescreen import layout_homescreen
# Run main even loop and specify, which screen is default
trezor.main.run(main_layout=layout_homescreen)