mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-15 00:52:02 +00:00
core: move base functions from "homescreen" app to "base"
This commit is contained in:
parent
8859d103f4
commit
d5e45c02bb
@ -486,6 +486,7 @@ if FROZEN:
|
||||
])
|
||||
)
|
||||
|
||||
SOURCE_PY.append(SOURCE_PY_DIR + 'apps/base.py')
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*.py'))
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*/*.py'))
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/debug/*.py'))
|
||||
|
@ -454,6 +454,7 @@ if FROZEN:
|
||||
])
|
||||
)
|
||||
|
||||
SOURCE_PY.append(SOURCE_PY_DIR + 'apps/base.py')
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*.py'))
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/common/*/*.py'))
|
||||
SOURCE_PY.extend(Glob(SOURCE_PY_DIR + 'apps/debug/*.py'))
|
||||
|
@ -15,7 +15,7 @@ usb.bus.open()
|
||||
|
||||
def _boot_apps() -> None:
|
||||
# load applications
|
||||
import apps.homescreen
|
||||
import apps.base
|
||||
import apps.management
|
||||
import apps.bitcoin
|
||||
import apps.misc
|
||||
@ -37,7 +37,7 @@ def _boot_apps() -> None:
|
||||
import apps.debug
|
||||
|
||||
# boot applications
|
||||
apps.homescreen.boot()
|
||||
apps.base.boot()
|
||||
apps.management.boot()
|
||||
apps.bitcoin.boot()
|
||||
apps.misc.boot()
|
||||
|
@ -5,7 +5,7 @@ from storage import cache
|
||||
from trezor.messages.Initialize import Initialize
|
||||
from trezor.wire import DUMMY_CONTEXT
|
||||
|
||||
from apps.homescreen import handle_Initialize
|
||||
from apps.base import handle_Initialize
|
||||
|
||||
KEY = 99
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user