Roman Zeyde
0d87266bfc
fix(core): don't enter/exit menu via horizontal swipe on Bolt
2025-06-16 18:29:56 +03:00
Roman Zeyde
6d35f047b8
chore(core): inline SwipeFlow::render_state
...
[no changelog]
2025-06-16 17:35:07 +03:00
Roman Zeyde
6eb0458b7c
chore(core): remove unused SwipeFlow
field
...
[no changelog]
2025-06-16 17:35:07 +03:00
Roman Zeyde
e49072214e
test(core): fix master diff URLs
...
[no changelog]
2025-06-16 16:44:42 +03:00
M1nd3r
3d8eab3515
chore(core): remove DebugLinkToggleThpPairingDialog
...
[no changelog]
2025-06-16 14:53:13 +02:00
cepetr
2b41fbd6bf
fix(core): enable backup ram ECC
...
[no changelog]
2025-06-16 11:52:17 +02:00
cepetr
29cd9c1d92
feat(core): power-fail-safe backup ram driver
...
[no changelog]
2025-06-16 11:52:17 +02:00
Roman Zeyde
2a29e4ea47
fix(core): correct a small typo in screen_update()
...
[no changelog]
2025-06-16 10:52:58 +03:00
obrusvit
107960ebbe
fix(emu): use same key for screenshots
...
- firmware emu uses `p` for power button and `s` for screenshot. So use
`s` also for bootloader and prodtest emu screenshots.
[no changelog]
2025-06-13 21:52:25 +02:00
obrusvit
af02e5e6a2
feat(eckhart): improve Homescreen styling
...
- correct Homebar icons
- colors and gradients
- LED usage
- Hint changes: add pad and cleanup some unused code
[no changelog]
2025-06-13 19:36:51 +02:00
obrusvit
2196a5f785
refactor(core): cleanup homescreen params
...
- rename FirmwareUI::show_homescreen param name from `hold` to
`lockable` because hold or hold_to_lock no longer covers all layouts
- cleanup uPy notification params
[no changelog]
2025-06-13 19:36:51 +02:00
Lukas Bielesch
5104872010
chore(core/eckhart): extend pin/pp touch area
...
[no changelog]
2025-06-13 19:15:26 +02:00
Martin Milata
200eac6384
refactor(core): exclude THP related string identifiers from non-THP builds
...
[no changelog]
2025-06-13 15:58:33 +02:00
Martin Milata
6626f3559e
refactor(common): pb2py: exclude MessageType enum from blobs
...
[no changelog]
2025-06-13 15:58:33 +02:00
Martin Milata
95ecbbed8b
feat(common): add Trezor Host Protocol protobuf definitions
...
[no changelog]
2025-06-13 15:58:33 +02:00
tychovrahe
b83889457b
feat(core): introduce IWDG driver
...
[no changelog]
2025-06-13 13:59:10 +02:00
cepetr
ff2d4edaef
fix(core): remove unnecessary non-secure variant of irq_lock/unlock
...
[no changelog]
2025-06-13 11:23:54 +02:00
Lukas Bielesch
ecbb71232e
chore(rust): increase max text ops
...
[no changelog]
2025-06-13 11:22:55 +02:00
Lukas Bielesch
2c506d935e
chore(tests): replace hardcoded strings with translations
...
add new translation function format
implement abort test for delizia and eckhart
2025-06-13 11:22:55 +02:00
Lukas Bielesch
023c8fc140
chore(core/eckhart): update check recovery flow
...
[no changelog]
2025-06-13 11:22:55 +02:00
Roman Zeyde
acbace7c3e
fix(core): use correct size in STMPE811 touch_init()
...
[no changelog]
2025-06-12 18:17:55 +03:00
Roman Zeyde
7f5a8b29c6
fix(core): use correct size in workflow_ifaces_init()
...
[no changelog]
2025-06-12 18:17:55 +03:00
tychovrahe
a67ccb8c40
refactor(core): refactor nrf, disable uart in booloader to save flash space
...
[no changelog]
2025-06-12 15:36:31 +02:00
Lukas Bielesch
3fa185703e
feat(core): use OpTextLayout::add_ functions to reduce stack usage
2025-06-12 10:07:23 +02:00
obrusvit
f0865e3b10
feat(eckhart): fuel gauge UI
...
- fuel gauge (battery state) with icons for charging/discharging state
and soc percentage
- on attach on Homescreen ActionBar
- permanently on the first DeviceMenu subscreen
- temporarily in the Header on charging state update
[no changelog]
2025-06-11 23:39:28 +02:00
obrusvit
17d6dd4a55
chore(core): remove battery from show_device_menu
...
- the battery status changes are now propagated into Components by
Event::PM
[no changelog]
2025-06-11 23:39:28 +02:00
obrusvit
f04edf3a28
feat(core): battery updates in FW event loop
...
[no changelog]
2025-06-11 23:39:28 +02:00
cepetr
765fe76b44
fix(core): fix write to otp memory (U5 only)
...
[no changelog]
2025-06-11 12:21:29 +02:00
kopecdav
5729416c4f
fix(core): Update more accurate battery model + fuel gauge config tral v2.
...
[no changelog]
2025-06-11 12:15:12 +02:00
cepetr
2a50a58b92
fix(core): handle nmi, hard fault and bus fault in secure mode
...
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
3d2a9c93a9
feat(core): add details for fault and fatal error RSOD
...
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
e8a5d11e5d
fix(core): fix rsod message alignment on bolt
...
[no changelog]
2025-06-11 11:49:42 +02:00
cepetr
09a4b2dca0
feat(core): add pc to systask_postmortem_info
...
[no changelog]
2025-06-11 11:49:42 +02:00
tychovrahe
ce3eae95a4
feat(core/bootloader): menu item reboot always active
2025-06-11 09:57:47 +02:00
tychovrahe
2f24d1f022
fix(core/bootloader): turn off led when leaving charging signalization
...
[no changelog]
2025-06-11 09:57:47 +02:00
cepetr
dc69976a99
feat(core): move backup_ram driver to secmon
...
[no changelog]
2025-06-11 09:48:19 +02:00
cepetr
6bea09bbe7
fix(core): fix firmware hash calculation
...
[no changelog]
2025-06-11 09:46:37 +02:00
Roman Zeyde
4095add475
fix(core): expose logging functions also on non-debug builds
...
[no changelog]
2025-06-11 10:26:09 +03:00
Roman Zeyde
30840d7cbf
perf(core): rewrite trezor.log
and trezor.wire_log
in Rust
...
Requires https://github.com/trezor/micropython/pull/26 .
[no changelog]
2025-06-11 10:26:09 +03:00
Roman Zeyde
90bd4735c2
perf(core): benchmark log
...
[no changelog]
2025-06-11 10:26:09 +03:00
Roman Zeyde
a9f59f6dd6
style(core): fix a few Rust lints
...
[no changelog]
2025-06-11 09:58:08 +03:00
tychovrahe
f2564573eb
fix(core/prodtest): fix prodtest emulator build
...
[no changelog]
2025-06-11 08:39:49 +02:00
Roman Zeyde
0cf22ece39
test(core): don't call clear_gc_info()
when PYOPT=1
...
[no changelog]
2025-06-10 18:33:16 +03:00
M1nd3r
731a4e6088
chore(legacy): update FailureTypes
...
[no changelog]
2025-06-10 17:00:06 +02:00
M1nd3r
dd76266de5
chore: add THP FailureTypes
...
[no changelog]
2025-06-10 17:00:06 +02:00
Roman Zeyde
6f28b96733
test(core): collect GC statistics via new debug RPC
...
[no changelog]
2025-06-10 12:16:12 +03:00
Roman Zeyde
a7849ab838
perf(core): use 16-bit duration for Button
long-press duration
...
Also, use zero duration to disable long-press mechanism.
[no changelog]
2025-06-09 20:27:09 +03:00
Roman Zeyde
0b4c44e32f
refactor(core): use an enum
for Button
's radius/gradient
...
[no changelog]
2025-06-09 20:21:28 +03:00
Roman Zeyde
a6f99a65b4
perf(core): don't use Option<Insets>
to save memory
...
Otherwise, the compiler adds 2 bytes per `Button` struct.
[no changelog]
2025-06-09 20:21:28 +03:00
Roman Zeyde
5dbf726160
perf(core): change TextAndSubtext::subtext_style
to a reference
...
It should significantly reduce the size of `heapless::Vec<ui::layout_eckhart::component::button::Button, 100>`.
[no changelog]
2025-06-09 20:21:28 +03:00