From 14a577070302f6a01f14c6e018bd6a86272f732d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Wed, 27 Nov 2024 16:18:42 +0100 Subject: [PATCH] fixup! feat(core): add libtropic to unix build --- core/embed/upymod/modtrezorutils/modtrezorutils.c | 4 ++++ core/src/trezor/utils.py | 1 + 2 files changed, 5 insertions(+) diff --git a/core/embed/upymod/modtrezorutils/modtrezorutils.c b/core/embed/upymod/modtrezorutils/modtrezorutils.c index 0909fcd734..9881f70edc 100644 --- a/core/embed/upymod/modtrezorutils/modtrezorutils.c +++ b/core/embed/upymod/modtrezorutils/modtrezorutils.c @@ -390,6 +390,10 @@ STATIC mp_obj_tuple_t mod_trezorutils_version_obj = { /// """Whether the hardware supports Optiga secure element.""" /// USE_TROPIC: bool /// """Whether the hardware supports Tropic Square secure element.""" +/// USE_TOUCH: bool +/// """Whether the hardware supports touch screen.""" +/// USE_BUTTON: bool +/// """Whether the hardware supports two-button input.""" /// MODEL: str /// """Model name.""" /// MODEL_FULL_NAME: str diff --git a/core/src/trezor/utils.py b/core/src/trezor/utils.py index 2911255334..835313c284 100644 --- a/core/src/trezor/utils.py +++ b/core/src/trezor/utils.py @@ -17,6 +17,7 @@ from trezorutils import ( # noqa: F401 USE_TROPIC, USE_SD_CARD, USE_THP, + USE_TOUCH, VERSION, bootloader_locked, check_firmware_header,