mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 04:48:12 +00:00
Configuration & boot of apps
This commit is contained in:
parent
53ce44111e
commit
ab9141dd95
19
src/main.py
19
src/main.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user