1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-23 06:58:13 +00:00
Commit Graph

15335 Commits

Author SHA1 Message Date
Roman Zeyde
5c49084a16 perf(core): wrap AddressDetails in a GcBox
[no changelog]
2025-06-04 21:01:25 +03:00
Roman Zeyde
a0ab4963f0 fix(core): close previous homescreen before changing it
Otherwise, it will fail due to double `ImageBuffer` locking.

Also, add a test to reproduce the locking issue.

[no changelog]
2025-06-04 21:00:38 +03:00
Roman Zeyde
bdc75e295d chore(core): improve ImageBuffer locking error message
Usually `AllocationFailed` is due to GC OOM errors,
while here it's more "deadlock-like" scenario.

[no changelog]
2025-06-04 20:52:55 +03:00
cepetr
8a115eff03 chore(core): reformat FEATURES_WANTED list for readability
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
bbb74c03a4 feat(core): introduce secure monitor
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
e66f4f2d83 refactor(core): simplify unprivileged SAES execution
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
37b608827c feat(core): allow execution of syscalls in thread mode
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a133a01a1f feat(core): support mpu region setup per applet
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a48abdb577 refactor(core): move tropic i/o definitions to t3w1 board
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
820a3c5ba2 refactor(core): remove redundant SYSCALL_DISPATCH definition
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1cf9dc4d62 refactor(core): simplify linker scripts II
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
aa5ba7aba6 refactor(core): simplify linker scripts
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
5b537103bd feat(core): improve post mortem info for secure fault
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
05acc1599b fix(core): enable SecureFault handling
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a7466298ff refactor(core): prepare for secure/non-secure memory layout
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1a372b5019 feat(core): allow passing postmortem info in bootargs
[no changelog]
2025-06-04 16:58:15 +02:00
Lukas Bielesch
cafed0d02b chore(core/eckhart): Unify usage of ParagraphVecShort
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
3f14cd1d27 chore(eckhart): replace-by-fee update
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
17f2d05baa fix(core): clippy warning
[no changelog]
2025-06-04 12:47:50 +02:00
tychovrahe
ec4e6de040 fix(core/prodtest): fix bolt welcome screen without power manager
[no changelog]
2025-06-04 08:12:48 +02:00
tychovrahe
7294cc62fb feat(core/prodtest): separate prodtest UI implementation for Eckhart
[no changelog]
2025-06-04 08:12:48 +02:00
tychovrahe
d5a9b7ee58 fix(core/prodtest): show homescreen after fuel gauge monitor ends
[no changelog]
2025-06-04 08:12:48 +02:00
Lukas Bielesch
d91923b999 chore(core/eckhart): Update passphrase-related flows
[no changelog]
2025-06-03 18:59:37 +02:00
Lukas Bielesch
41a852c675 chore(core/eckhart): Update ConfirmAction button styling logic 2025-06-03 18:59:37 +02:00
Lukas Bielesch
1f69975ba9 chore(core/eckhart): Allow TextScreen to be used without a header
[no changelog]
2025-06-03 18:59:37 +02:00
Roman Zeyde
c01b56a5a0 fix(core): Eckhart doesn't have a separate confirm page
[no changelog]
2025-06-03 18:10:35 +03:00
Lukas Bielesch
9643253630 feat(eckhart): implement FW update UI trait function
[no changelog]
2025-06-03 17:02:20 +02:00
kopecdav
32a830da1c fix(core/prodtest): fix vcp jamming when USB unplugged.
[no changelog]
2025-06-03 15:11:15 +02:00
Ioan Bizău
98aa195443 fix(core/ui): confirm_output subtitle
[no changelog]
2025-06-03 15:06:29 +02:00
tychovrahe
34eed6dc43 fix(ble): fix device code in advertisment data
[no changelog]
2025-06-03 15:04:18 +02:00
Ioan Bizău
d65b4f0e86 fix(core): warnings in device build
[no changelog]
2025-06-03 14:18:47 +02:00
tychovrahe
0081788d48 fix(core/prodtest): fix prodtest emulator build for T3W1
[no changelog]
2025-06-03 09:24:57 +02:00
tychovrahe
0ac3dec433 fix(core): fix pm_get_state syscall stub
[no changelog]
2025-06-03 09:24:40 +02:00
Roman Zeyde
24aa5ddcfd ci(core): disable authenticity tests on HW CI
T2B1 device seems to have a locked bootloader so #5087 is not enough.
https://github.com/trezor/trezor-firmware/actions/runs/15368486126/job/43244403997#step:8:19

[no changelog]
2025-06-02 18:03:20 +03:00
Roman Zeyde
79c40e4d60 ci(core): reduce core_ui_main disk usage
Also, compare all models.

[no changelog]
2025-06-02 17:40:06 +03:00
Lukas Bielesch
fea8031c96 chore(translations): drop turkish translations 2025-06-02 11:42:34 +02:00
tychovrahe
9683efb5b9 feat(core/prodtest): add prodtest emulator
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
9e8f989c80 fix(core): implement reboot_to_bootloader for unix
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
fb61ea0ce8 feat(core/unix): add board capabilities basic implementation for unix
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
803baf7fcd feat(core/unix): implement USB VCP emulation
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
c0c5003e08 chore(core): replace itoa with portable function
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
1bd4d17d0e refactor(core): implement cpuid as separate module
[no changelog]
2025-06-02 09:16:53 +02:00
tychovrahe
5a3156d782 refactor(core/unix): use unix common files in scons
[no changelog]
2025-06-02 09:16:53 +02:00
Roman Zeyde
d0ca0fb9b2 chore(core): fix a small typo
[no changelog]
2025-06-01 14:31:43 +03:00
Roman Zeyde
cec282993a refactor(core): simplify per-model imports using cfg-if macro
[no changelog]
2025-06-01 14:31:43 +03:00
Roman Zeyde
97442ebd45 test(core): xfail test_authenticate_device on unlocked bootloader
[no changelog]
2025-05-30 19:41:23 +03:00
tychovrahe
baa6317113 fix(core): fix lockable bootloader logic in secret and MPU
Also, fix firmware build with `DISABLE_OPTIGA=1`.

[no changelog]
2025-05-30 19:28:46 +03:00
Roman Zeyde
1880630696 chore(core): fix deprecation warning for input_flow.throw(...)
https://docs.python.org/3.9/reference/expressions.html#generator.throw

Python 3.8 is no longer maintained: https://peps.python.org/pep-0569/

[no changelog]
2025-05-30 19:28:05 +03:00
Roman Zeyde
64241033cb chore(core): move coverage-related Rust code into a separate module
Also, exclude it from non-debug builds.

[no changelog]
2025-05-30 19:26:51 +03:00
Roman Zeyde
1b8116129a chore(core): add a missing Map import for obj_module macro
[no changelog]
2025-05-30 19:26:51 +03:00