1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-29 18:08:19 +00:00
Commit Graph

5238 Commits

Author SHA1 Message Date
obrusvit
5477acdfd4 feat(eckhart): show battery indication in BLD
- shown in bootloader menu
- shown in more info screen in wireless setup flow

[no changelog]
2025-07-18 12:53:03 +02:00
obrusvit
ff310dd816 feat(eckhart): make FuelGauge usable in Bootloader
- FuelGauge is now a shared component
- Timer-based options are conditionally compiled only for FW application
- also change the unknown percentage indication from "--" to "?"

[no changelog]
2025-07-18 12:53:03 +02:00
Roman Zeyde
f2808fefc5 feat(core): use menu for confirm_value-related info items on Caesar
Also, move `blockhash` to the first confirmation layout's menu
and use new menu layout for Nostr signature.

[no changelog]
2025-07-18 12:34:09 +03:00
Roman Zeyde
ccc565d531 refactor(core): allow any layout for menu details
[no changelog]
2025-07-18 12:34:09 +03:00
Roman Zeyde
ee40c89f11 chore(core): remove unused _get_combined_accounts() method
Following https://github.com/trezor/trezor-firmware/issues/5369#issuecomment-3083683085.

[no changelog]
2025-07-18 12:10:55 +03:00
kopecdav
5fa6af7e62 feat(core): add transition from PM_STATE_SHUTTING_DOWN to PM_STATE_SUSPEND in pm state machine.
[no changelog]
2025-07-18 10:05:15 +02:00
tychovrahe
c1bfd5a8b3 feat(core/bootloader): bootloader button power off logic
[no changelog]
2025-07-17 20:46:27 +02:00
cepetr
0e6052dc25 perf(core): save flash by not unnecessary linking terminal RSOD
[no changelog]
2025-07-17 15:40:21 +02:00
tychovrahe
7e48e1568b perf(core): save flash by not using HAL for periph clock configuration
[no changelog]
2025-07-17 15:04:29 +02:00
tychovrahe
f552569292 perf(core): save flash in by not using HAL for oscillator configuration
[no changelog]
2025-07-17 14:30:43 +02:00
tychovrahe
f97ead8bb5 feat(core/prodtest): add functions for setting and getting RTC datetime
[no changelog]
2025-07-17 14:04:08 +02:00
cepetr
64c22a8e65 fix(core): fix nmi handling
[no changelog]
2025-07-17 13:56:02 +02:00
cepetr
4754fd8e34 refactor(core): reconfigure mpu directly in the storage
[no changelog]
2025-07-17 13:12:13 +02:00
Lukas Bielesch
6cc9c62941 chore(core): new entry in DebugLinkDecision message
- new optional enum TouchEventType in DebugLinkDecision message
- add new hold_touch debuglink function
- new pin tests utilizing hold_touch function
2025-07-16 13:40:04 +02:00
Lukas Bielesch
ac68481f4f refactor(core): refactor pin flow 2025-07-16 13:40:04 +02:00
Lukas Bielesch
95b947ceb8 chore(core): unify displaystyle enum 2025-07-16 13:40:04 +02:00
obrusvit
7cda7761ba chore: basic crowdin commands
- push english sources to crowdin
- pull translations from crowdin

[no changelog]
2025-07-15 19:23:04 +02:00
Lukas Bielesch
67414fb020 Merge branch 'release/25.07' into merge-release-25.07 2025-07-15 14:47:08 +02:00
Ioan Bizău
5734334313 feat(core): confirm text memos in payment requests
[no changelog]
2025-07-15 13:17:30 +02:00
Ioan Bizău
9dd51b8521 feat(core): Ethereum payment requests UI 2025-07-15 13:17:30 +02:00
Ioan Bizău
d03aa07b41 feat(translations): introduce payment requests
[no changelog]
2025-07-15 13:17:30 +02:00
Ioan Bizău
03f76acf0f refactor(translations): generalize some keys
[no changelog]
2025-07-15 13:17:30 +02:00
Ioan Bizău
e80fbbcade feat(delizia): add confirm_trade to FirmwareUI
[no changelog]
2025-07-15 13:17:30 +02:00
Lukas Bielesch
b3426fc9c9 chore(core/eckhart): remove unused file
[no changelog]
2025-07-15 12:35:26 +02:00
Roman Zeyde
d47582bad6 test(core): visit confirm_action() menu during tests
Also, refactor `new_confirm_action_uni` a bit.

[no changelog]
2025-07-15 10:38:19 +03:00
Roman Zeyde
32215811f4 fix(core): use icons for Delizia menu items
[no changelog]
2025-07-15 10:37:46 +03:00
tychovrahe
5eef25791b feat(core/bootloader): erase storage on bootloader unlock 2025-07-15 09:36:19 +02:00
M1nd3r
286fb47541 chore: reoder THP messages
[no changelog]
2025-07-14 21:05:27 +02:00
Roman Zeyde
a1327bb6cd fix(core): add missing PropertyType element for Solana confirmation
Also, confirm each account separately, in order to avoid overflowing
`ParagraphVecLong`.
2025-07-14 21:30:33 +03:00
obrusvit
d3c4aeaa60 chore(eckhart): remove unused ButtonStyle field
[no changelog]
2025-07-14 19:19:03 +02:00
obrusvit
a9f25e9ebe chore(eckhart): remove unused ButtonContent
[no changelog]
2025-07-14 19:19:03 +02:00
M1nd3r
95b578c99a fix(core): use interact for ble pairing instead of raise_if_cancelled
[no changelog]
2025-07-14 17:08:33 +02:00
M1nd3r
bd501ad8a3 chore(core): rename raise_if_not_confirmed to raise_if_cancelled
[no changelog]
2025-07-14 17:08:33 +02:00
kopecdav
1439a38081 fix(core): prevent fuel gauge sampling wraparounds by changing to systick_us.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
0fd4d40989 fix(core): fix systimer_delete function lock.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
c9acae7b97 feat(core): fuel gauge compensation in hibernation mode.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
513fbcb039 feat(core): introduce fuel gauge compensation in suspend mode.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
50b476c336 feat(core): restructure power_manager as a suspend background task.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
32dc3ebaed feat(core/prodtest): add rtc-timestamp prodtest command.
[no changelog]
2025-07-14 16:40:56 +02:00
kopecdav
847e5224ec feat(core): add rtc_get_timestamp function to RTC module.
[no changelog]
2025-07-14 16:40:56 +02:00
tychovrahe
50481cb0b0 chore(core): update NRF app binary
[no changelog]
2025-07-14 12:39:10 +02:00
tychovrahe
b8b03d866d feat(core/prodtest): adjust screen color according to charging state in Eckhart
[no changelog]
2025-07-14 11:55:47 +02:00
tychovrahe
cf0f2c3fa7 fix(core): fix tropic pin deinitialization order
[no changelog]
2025-07-14 11:55:34 +02:00
tychovrahe
b08fd3ebaf fix(core/prodtest): fix backup ram commands argument check
[no changelog]
2025-07-14 09:48:40 +02:00
tychovrahe
579a67ba01 feat(core/bootloader): erase non-public items from backup ram when erasing storage in bootloader
[no changelog]
2025-07-14 09:48:40 +02:00
tychovrahe
6ab2f7567f feat(core): introduce protected/public item type distinction for backup ram content
[no changelog]
2025-07-14 09:48:40 +02:00
cepetr
7d527d6ecc fix(core): fix D002 model build
[no changelog]
2025-07-14 09:30:33 +02:00
obrusvit
b7a1d1a353 feat(eckhart): adjust bld pairing screens
- code confirmation
- pairing finalization

[no changelog]
2025-07-11 22:19:53 +02:00
obrusvit
0e2b4f4d5c feat(eckhart): bld wireless setup screen
[no changelog]
2025-07-11 22:19:53 +02:00
obrusvit
cf1e892d13 feat(eckhart): bld welcome screen
[no changelog]
2025-07-11 22:19:53 +02:00
obrusvit
cb9eb28dc9 feat(eckhart): adjust bld menu border
[no changelog]
2025-07-11 22:19:53 +02:00
obrusvit
db706eeaae feat(eckhart): add bootloader specific icons
[no changelog]
2025-07-11 22:19:53 +02:00
obrusvit
e2cade035c chore(eckhart): remove unused bootloader icons
[no changelog]
2025-07-11 22:19:53 +02:00
Roman Zeyde
69eb5ea5f2 fix(core): restart homescreen after silently loading translations
Otherwise, the screen keeps showing "Changing language".
2025-07-11 20:50:23 +03:00
M1nd3r
be287648d0 chore(core, tests): add MockAsync and await_result_patched
[no changelog]
2025-07-11 15:36:51 +02:00
tychovrahe
b081f67786 feat(core/bootloader): autodim & autosuspend bootloader on inactivity
[no changelog]
2025-07-11 14:46:47 +02:00
Ioan Bizău
4b1dacdaca feat(caesar): add menu to confirm_with_info
[no changelog]
2025-07-11 10:07:19 +02:00
Ondřej Vejpustek
9237012371 feat(core/prodtest): mock tropic prodtest commands
[no changelog]
2025-07-10 20:22:12 +02:00
tychovrahe
e8044df48c fix(core/bootloader): simplify wireless setup flow
[no changelog]
2025-07-10 15:06:29 +03:00
Roman Zeyde
953b0e23d1 test(core): visit Delizia menu during tests
Currently, only shows the menu (without visiting its children).
Enabled by returning `has_menu=True` via LayoutContent JSON.

Also, reduce the number of `debuglink.read_layout()` calls in tests.

[no changelog]
2025-07-10 12:12:06 +03:00
Roman Zeyde
502f5e95a4 feat(core): update menu layout in Delizia
[no changelog]
2025-07-10 11:35:26 +03:00
Roman Zeyde
c6d8fd6c77 feat(core): support scrollable menus in Delizia
[no changelog]
2025-07-10 11:35:26 +03:00
Roman Zeyde
8e1d90f27e feat(core): add Delizia menu up/down icons
[no changelog]
2025-07-10 11:35:26 +03:00
Ioan Bizău
327ccd38e4 Revert "feat: Make payment request protobuf fields optional."
This reverts commit 4a4cc34d65.
2025-07-10 10:10:14 +02:00
Andrew Kozlik
3d15c36afc feat(core): Implement PaymentNotification validation. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
8ffeb6e387 feat(common): Add PaymentNotification protobuf message. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
8103bd1aa2 feat(core): Implement payment requests in Ripple signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
70ef22b865 feat(common): Add PaymentRequest field to Ripple signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
96afce1e0c feat(core): Set mac field in altcoin Address response messages. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
e67dc16840 feat(core): Access SLIP-21 keychain in Cardano. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
c1cfd66b6d feat(common): Add mac field to altcoin Address response messages. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
2602fa7751 feat: Make payment request protobuf fields optional. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
65a200d39c feat: Add "text details" memo to payment requests. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
cd1b194be8 feat(core): Include address_n in address MAC. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
f699ecf65e feat(common): Add address_n field to PaymentRequest memos. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
1decb527ab feat(tests): Support non-bitcoinlike coins in make_payment_request. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
e2c69033dd feat(core): Implement payment requests in Ethereum signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
9599e4d48c feat(common): Add PaymentRequest field to Ethereum signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
1202780427 refactor(core): Move PaymentRequestVerifier to common. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
635f74f407 refactor: Move TxAckPaymentRequest to common messages as PaymentRequest. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
913ba93616 feat(core): Add mac to EthereumAddress. 2025-07-10 10:10:14 +02:00
Ondřej Vejpustek
9f606ec922 feat(core/prodtest): add optiga-pair command 2025-07-09 14:38:14 +02:00
Ondřej Vejpustek
c8bf5be9b8 feat(core/prodtest): add secrets-write command 2025-07-09 14:38:14 +02:00
Lukas Bielesch
34921907b0 fix(core/eckhart): fix slip39 overflow bug
[no changelog]
2025-07-09 09:51:25 +02:00
Andrew Kozlik
b83857c0e5 feat(core): Add FIDO attestation key masking in firmware.
[no changelog]
2025-07-08 22:27:55 +02:00
Andrew Kozlik
36c284b3c2 feat(core): Add FIDO attestation key masking in prodtest.
[no changelog]
2025-07-08 22:27:55 +02:00
tychovrahe
ff4ff75f61 chore(core): udpate T3W1 embedded nrf application
[no changelog]
2025-07-08 18:58:21 +03:00
tychovrahe
5c0768a201 fix(core,nordic): fix suspending & resuming ble/nrf drivers
[no changelog]
2025-07-08 18:58:21 +03:00
Martin Milata
1faad192d8 feat(core): use random suffix for BLE name when pairing
[no changelog]
2025-07-08 15:10:32 +02:00
Ioan Bizău
00d8683e77 feat(delizia): allow external menu on confirm_value
[no changelog]
2025-07-08 09:59:26 +02:00
cepetr
5a29fed99f fix(core): fix displaying RSOD in bootloader on t3w1
[no changelog]
2025-07-08 09:16:54 +02:00
Ioan Bizău
566f6fe7cb refactor(delizia): use external menu on confirm_action
[no changelog]
2025-07-07 15:54:07 +02:00
Ioan Bizău
1e7108f6d2 refactor(core/ui): allow custom exception on menu cancelation
[no changelog]
2025-07-07 15:54:07 +02:00
Roman Zeyde
2c50db3cde fix(core): allow menu details to be generic awaitables
Also, remove `ButtonRequest`-related code from `show_menu()`
and fix `show_properties()` return value type annotation.

[no changelog]
2025-07-07 14:55:13 +03:00
Roman Zeyde
75596715de refactor(core): use new-style menu for set_brightness Delizia flow
[no changelog]
2025-07-07 14:55:13 +03:00
Roman Zeyde
4ebe1de056 fix(core): don't ignore ActionCancelled exception from menu
In Delizia, it should be possible to cancel the flow using the menu.

[no changelog]
2025-07-07 14:55:13 +03:00
Roman Zeyde
5f2da19424 chore(core): remove Cargo.lock generated by rust-analyzer
[no changelog]
2025-07-07 12:03:26 +03:00
M1nd3r
f27a95fe48 chore(core): change THP credential key's derivation path
[no changelog]
2025-07-04 18:09:48 +02:00
Roman Zeyde
c563595f8d feat(core): implement UIDelizia::select_menu()
[no changelog]
2025-07-04 15:45:11 +03:00
Roman Zeyde
36ad0cf7ce feat(core): implement UIDelizia::show_properties()
[no changelog]
2025-07-04 15:45:11 +03:00