mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 21:48:13 +00:00
6a647b124d
We might rewrite PinDialog as a content for ConfirmDialog in the future. Also, I'm beginning to hit memory issues on a 64-bit system.
24 lines
559 B
Python
24 lines
559 B
Python
import trezor.main
|
|
from trezor import msg
|
|
|
|
# Load all applications
|
|
from apps import playground
|
|
from apps import homescreen
|
|
from apps import management
|
|
from apps import wallet
|
|
|
|
# Initialize all applications
|
|
playground.boot()
|
|
homescreen.boot()
|
|
management.boot()
|
|
wallet.boot()
|
|
|
|
# just a demo to show how to register USB ifaces
|
|
msg.setup([(1, 0xF53C), (2, 0xF1D0)])
|
|
|
|
# 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)
|