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
1 changed files with 17 additions and 2 deletions

View File

@ -1,2 +1,17 @@
import playground
playground.run()
import trezor.main
# 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)