1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-24 15:38:22 +00:00

build(core): enable button feature in T3W1 emulator

[no changelog]
This commit is contained in:
Martin Milata 2025-04-08 16:05:26 +02:00
parent 0ecff7182b
commit c5a4eddfc9

View File

@ -87,6 +87,12 @@ def configure(
features_available.append("touch")
defines += [("USE_TOUCH", "1")]
sources += ["embed/io/button/unix/button.c"]
sources += ["embed/io/button/button_fsm.c"]
paths += ["embed/io/button/inc"]
features_available.append("button")
defines += [("USE_BUTTON", "1")]
if "ble" in features_wanted:
sources += ["embed/io/ble/unix/ble.c"]
paths += ["embed/io/ble/inc"]