diff --git a/core/embed/upymod/qstrdefsport.h b/core/embed/upymod/qstrdefsport.h index 8111a7c8f2..492d6e7084 100644 --- a/core/embed/upymod/qstrdefsport.h +++ b/core/embed/upymod/qstrdefsport.h @@ -169,6 +169,7 @@ Q(boot) Q(cache) Q(cache_codec) Q(cache_common) +Q(cache_thp) Q(caesar) Q(cashaddr) Q(cbor) @@ -271,6 +272,7 @@ Q(storage) Q(storage.cache) Q(storage.cache_codec) Q(storage.cache_common) +Q(storage.cache_thp) Q(storage.common) Q(storage.device) Q(storage.fido2) @@ -374,10 +376,49 @@ Q(workflow_handlers) Q(writers) #if USE_THP +Q(ThpMessageType) +Q(ThpPairingMethod) +Q(alternating_bit_protocol) Q(apps.thp) Q(apps.thp.credential_manager) +Q(apps.thp.pairing) +Q(channel) +Q(channel_manager) +Q(checksum) +Q(control_byte) +Q(cpace) Q(credential_manager) +Q(crypto) +Q(interface_manager) +Q(memory_manager) +Q(pairing) +Q(pairing_context) +Q(received_message_handler) +Q(session_context) +Q(session_manager) Q(thp) +Q(thp_main) +Q(transmission_loop) +Q(trezor.enums.ThpMessageType) +Q(trezor.enums.ThpPairingMethod) +Q(trezor.wire.thp) +Q(trezor.wire.thp.alternating_bit_protocol) +Q(trezor.wire.thp.channel) +Q(trezor.wire.thp.channel_manager) +Q(trezor.wire.thp.checksum) +Q(trezor.wire.thp.control_byte) +Q(trezor.wire.thp.cpace) +Q(trezor.wire.thp.crypto) +Q(trezor.wire.thp.interface_manager) +Q(trezor.wire.thp.memory_manager) +Q(trezor.wire.thp.pairing_context) +Q(trezor.wire.thp.received_message_handler) +Q(trezor.wire.thp.session_context) +Q(trezor.wire.thp.session_manager) +Q(trezor.wire.thp.thp_main) +Q(trezor.wire.thp.transmission_loop) +Q(trezor.wire.thp.writer) +Q(writer) #endif #if !BITCOIN_ONLY diff --git a/core/src/main.py b/core/src/main.py index ed6a0311af..e7f3825496 100644 --- a/core/src/main.py +++ b/core/src/main.py @@ -16,8 +16,8 @@ utils.presize_module("trezor", 30) # storage imports storage.common, storage.cache and storage.device. # These import trezor, trezor.config (which is a C module), trezor.utils, and each other. import storage -# we will need space for 12 items in the storage module -utils.presize_module("storage", 12) +# we will need space for 13 items in the storage module +utils.presize_module("storage", 13) if not utils.BITCOIN_ONLY: # storage.fido2 only imports C modules diff --git a/poetry.lock b/poetry.lock index 998068f6c1..9e7e7fa63d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2059,7 +2059,7 @@ testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pathlib2 (>=2.3.3) ; pyth [[package]] name = "trezor" -version = "0.14.0" +version = "0.13.9" description = "Python library for communicating with Trezor Hardware Wallet" optional = false python-versions = ">=3.8"