1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-31 21:28:46 +00:00
Commit Graph

4740 Commits

Author SHA1 Message Date
obrusvit
5a617d2733 refactor(eckhart): ignore empty description
- don't show empty text in confirm_action
2025-05-15 12:40:15 +02:00
obrusvit
6a753cafe6 feat(eckhart): improve ActionBar content
- button content is moved towards the center a bit
- shrink left button at the last page of paginated component
- change the order of render in `TextScreen` to account for Header
overlay. If the main content reaches the Header area, we do not want to
overlay it during Hold to Confirm animation
2025-05-15 12:40:15 +02:00
obrusvit
e128f3d350 refactor(eckhart): separate theme to fw and bld 2025-05-15 12:40:15 +02:00
obrusvit
c7111c523d refactor(eckhart): separate firmware components 2025-05-15 12:40:15 +02:00
Lukas Bielesch
cd7f7744fb feat(eckhart): full-screen input number component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
6696510bc6 chore(eckhart): add action bar touch expansion function 2025-05-15 12:40:15 +02:00
Lukas Bielesch
89a4298977 chore(eckhart): add plus and minus icons 2025-05-15 12:40:15 +02:00
Lukas Bielesch
480d07aaac chore(eckhart): update existing components accordint to new design 2025-05-15 12:40:15 +02:00
Lukas Bielesch
250709b5ee feat(eckahrt): implement show info UI trait function 2025-05-15 12:40:15 +02:00
Lukas Bielesch
0d4c23ff79 feat(eckhart): prompt backup flow 2025-05-15 12:40:15 +02:00
Lukas Bielesch
e9142c42c8 chore(eckhart): temporarily implement show progress UI trait function 2025-05-15 12:40:15 +02:00
Lukas Bielesch
eac88b5808 feat(eckhart): confirm reset flow 2025-05-15 12:40:15 +02:00
Lukas Bielesch
82c9907e68 chore(eckhart): add warning text styles 2025-05-15 12:40:15 +02:00
Lukas Bielesch
9939f29605 chore(eckhart): implement Swipable trait for vertical menu screen 2025-05-15 12:40:15 +02:00
Lukas Bielesch
5b3774d7fa core(eckhart): Fix failing unit test and warnings 2025-05-15 12:40:15 +02:00
Lukas Bielesch
7680babd3b feat(eckhart): Full-screen get count component 2025-05-15 12:40:15 +02:00
obrusvit
e8b112a1ca feat(eckhart): add easing and rollback to HtC anim
- also switch corner icons to 4px width
2025-05-15 12:40:15 +02:00
obrusvit
33578fd822 feat(eckhart): add alpha to ScreenBorder 2025-05-15 12:40:15 +02:00
obrusvit
131e356d8e chore(eckhart): fix some clippy warnings 2025-05-15 12:40:15 +02:00
Lukas Bielesch
0c033559a0 feat(eckhart): Add SLIP39 input component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
a7ed42acf2 feat(eckhart): Add BIP39 input component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
e66056d9d2 feat(eckhart): full-screen mnemonic component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
deb3e42ef8 feat(eckhart): passphrase flow 2025-05-15 12:40:15 +02:00
Lukas Bielesch
399df669d7 feat(eckhart): full-screen passphrase component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
a2eb2cd0d0 feat(eckhart): full-screen PIN keyboard component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
2cfbef5f14 feat(eckhart): keypad component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
a7c3e6c5db feat(ui): Add visibility-checking function to Maybe struct 2025-05-15 12:40:15 +02:00
Lukas Bielesch
28d9c8c7cd feat(ui): Add function for expanding Button touch area 2025-05-15 12:40:15 +02:00
Lukas Bielesch
a5aa78fd9d feat(eckhart): Add common keyboard functionality 2025-05-15 12:40:15 +02:00
Lukas Bielesch
c15888d374 feat(eckhart): keyboard button styles 2025-05-15 12:40:15 +02:00
Lukas Bielesch
d5b607668b feat(eckhart): Add parametrized content offset to Button 2025-05-15 12:40:15 +02:00
Lukas Bielesch
1672c5fa61 chore(eckhart): Add dynamic padding option to vertical menu. Update rendering of separarators in vertical menu. 2025-05-15 12:40:15 +02:00
Lukas Bielesch
3e34ba8e19 feat(eckhart): full-screen select word component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
052b3c42d4 chore(eckhart): Remove redundant code 2025-05-15 12:40:15 +02:00
Lukas Bielesch
e21dab04aa chore(eckhart): Add dynamic padding option to vertical menu.
Update rendering of separarators in vertical menu.
2025-05-15 12:40:15 +02:00
Lukas Bielesch
2877355cca feat(eckhart): Add new Button 'is_pressed' function 2025-05-15 12:40:15 +02:00
Lukas Bielesch
67cb417a1e chore(eckhart): fix button text and subtext rendering 2025-05-15 12:40:15 +02:00
Lukas Bielesch
9a787e72bc feat(eckhart): button styles for select word component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
3ec0d291ad feat(eckhart): share words flow 2025-05-15 12:40:15 +02:00
Lukas Bielesch
d8ee28f28d feat(eckhart): full-screen share words component 2025-05-15 12:40:15 +02:00
Lukas Bielesch
df3474dc95 chore(eckhart): improve HTC animation 2025-05-15 12:40:15 +02:00
obrusvit
f38d16cee5 feat(eckhart): expand touch area of ActionBar 2025-05-15 12:40:15 +02:00
obrusvit
25f52db8be feat(eckhart): implement hold to confirm anim
- HoldToConfirmAnim is driven by the ActionBar in case the right_button
is configured with `long_press`
- HoldToConfirmAnim optionally draws an Header overaly with custom text
- disabling animations is respected
- easing function is not yet finalized
- a few minor fixes along the way
2025-05-15 12:40:15 +02:00
obrusvit
8305e7d82d feat(eckhart): implement ScreenBorder overlay
- a static "custom shape" for eckhart layout which displays screen
overlay around the borders
2025-05-15 12:40:15 +02:00
Lukas Bielesch
269b9e496e feat(eckhart): Update vertical menu components 2025-05-15 12:40:15 +02:00
Lukas Bielesch
3f92623d44 feat(eckhart): Add new Back Header message type 2025-05-15 12:40:15 +02:00
Lukas Bielesch
bd224857b7 feat(eckhart): Add MenuItem button content type 2025-05-15 12:40:15 +02:00
Lukas Bielesch
cdc6cc8e3c feat(eckhart): Add battery icons 2025-05-15 12:40:14 +02:00
Lukas Bielesch
c234611625 feat(eckhart): Add vertical menu button styles 2025-05-15 12:40:14 +02:00
obrusvit
d380e1c258 feat(eckhart): full-screen vertical menu component 2025-05-15 12:40:14 +02:00
obrusvit
b200d3a43f feat(eckhart): implement a few show_xyz functions 2025-05-15 12:40:14 +02:00
obrusvit
48c9b4a3ea feat(eckhart): implement confirm_value 2025-05-15 12:40:14 +02:00
obrusvit
1f4e2d3f64 feat(eckhart): implement confirm_action 2025-05-15 12:40:14 +02:00
obrusvit
8a7ac14662 feat(core): add color op to FormattedText
[no changelog]
2025-05-15 12:40:14 +02:00
obrusvit
81226f14ac feat(eckhart): full-screen textual component
- TextScreen is a full-screen component for (paginated) texts
- it's supposed to wrap FormattedText or Paragraphs
2025-05-15 12:40:14 +02:00
obrusvit
25bba743ea feat(eckhart): action bar component 2025-05-15 12:40:14 +02:00
obrusvit
0803e3b79b feat(eckhart): hint component 2025-05-15 12:40:14 +02:00
obrusvit
0f60f009d6 feat(eckhart): header component 2025-05-15 12:40:14 +02:00
obrusvit
e9afd2167a feat(eckhart): provisional homescreen 2025-05-15 12:40:14 +02:00
obrusvit
12620db7d2 feat(eckhart): text styles 2025-05-15 12:40:14 +02:00
obrusvit
b73776f8ca feat(eckhart): add fonts 2025-05-15 12:40:14 +02:00
obrusvit
714b7d1e73 feat(eckhart): icon set 2025-05-15 12:40:14 +02:00
obrusvit
3da5b7e836 feat(eckhart): color palette 2025-05-15 12:40:14 +02:00
obrusvit
2e9314bbd7 feat(eckhart): initial commit
- build
- directory structure
- bootloader UI and assets copied from delizia
- FirmwareUI trait functions are empty
- Python layout functions are copied from delizia except some of more
complicated ones which raise NotImplemented for now
2025-05-15 12:40:14 +02:00
Roman Zeyde
556e29b068 perf(core): enable MICROPY_ROM_TEXT_COMPRESSION
Also, use `__builtin_strcmp` instead of `strcmp`.

[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
1010be428a chore(core): use MP_ERROR_TEXT() macro for exception messages
[no changelog]
2025-05-15 09:55:40 +03:00
Martin Milata
5ac2660003 refactor(core): don't close tasks when changing language
Since global layout this should no longer be required.
2025-05-14 23:57:03 +02:00
Martin Milata
241fcc0044 feat(core): homescreen streaming
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
846dd3b934 refactor(common/protob): rename TranslationDataRequest to DataChunkRequest
[no changelog]
2025-05-14 23:57:03 +02:00
Roman Zeyde
bd87ebd4b0 chore(core): use -ffreestanding for SOURCE_MOD_CRYPTO and SOURCE_MOD_SECP256K1_ZKP
[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
ca943aeb8b chore(core): don't use main() in core/embed/projects/firmware/main.c
It would allow compile it without `-ffreestanding`.

[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
7cdb0cf244 feat(vendor): update MicroPython to allow excluding line numbers from bytecode
Setting `MICROPY_ENABLE_SOURCE_LINE=0` helps reducing the debug firmware size by ~2%:
```
$ TREZOR_MODEL=T3T1 MICROPY_ENABLE_SOURCE_LINE=0 PYOPT=0 make -C core build_firmware
<snip>
           FLASH:     1,629,456 B      1664 KB     95.63%
```

Before this PR:
```
           FLASH:     1,662,224 B      1664 KB     97.55%
```

[no changelog]
2025-05-13 17:07:37 +03:00
Roman Zeyde
78227ed20f perf(core): remove more local imports from Bitcoin signing flow
[no changelog]
2025-05-13 11:58:36 +03:00
Roman Zeyde
65c34774a1 ci(core): run click tests in parallel
[no changelog]
2025-05-13 11:57:06 +03:00
Martin Milata
46c53bc30c feat(core): add Capability.NFC to Features 2025-05-13 10:48:13 +02:00
Martin Milata
a04525c6de feat(core): add Capability.BLE to Features 2025-05-13 10:48:13 +02:00
Roman Zeyde
3a7850f6a0 chore: remove BNB Beacon Chain support 2025-05-13 09:04:48 +03:00
tychovrahe
a71fe4a66e fix(core): fix nrf start/stop, service listener registration
[no changelog]
2025-05-12 08:59:11 +02:00
tychovrahe
e641fb1c25 fix(core): fix sysevents polling deadlines
[no changelog]
2025-05-12 08:58:58 +02:00
tychovrahe
d6220d72a5 fix(core/bootloader): fix null ios handling in host control
[no changelog]
2025-05-12 08:58:46 +02:00
tychovrahe
597b888963 fix(core): fix VCP polling
[no changelog]
2025-05-12 08:58:35 +02:00
cepetr
e17ec25e77 fix(core): fix backup ram address in non-secure mode
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
b9bb71a243 refactor(core): prepare board_capabilities for secmon api
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
0f0c28404b fix(core): fix exc_return codes for non-secure world
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
9df360785e fix(core): fix incorrect constants use
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
1415c40e80 chore(core): remove unnecessary definitions
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
9fb71f8f81 fix(core): disable MSPLIM before entering next boot stage
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
adf9872988 refactor(core): prevent incomplete mpu driver build
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
8a9de0ebec feat(core): add applet feature to SConscript
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
452e63c4fb feat(core): add display feature to SConscript
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
daa6ea25fb feat(core): add powerctl feature to SConscript
[no changelog]
2025-05-12 07:57:46 +02:00
Roman Zeyde
bff1ba454b fix(core): clear loop.this_task before restart
[no changelog]
2025-05-10 11:19:51 +03:00
Roman Zeyde
1f8ebc3562 fix(core): use bool for _ignore_loader_messages
Since `trezor.pin` is persisted across sessions, it should use constant-size globals.

[no changelog]
2025-05-10 10:28:23 +03:00
tychovrahe
a15d2f621f feat(core): increase BLE TX packet size to 244B
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
c319e5fa20 refactor(core/bootloader): streamline initializing & deinitializing communication interfaces in bootloader
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
755cb359bd feat(core): suspend NRF&BLE driver, with or without connection
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
3f6a82ab67 feat(core): add wake up from suspend on NRF/BLE request
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
4f783c0a45 fix(core/prodtest): fix nrf communication tests
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
3fe0c90c1c feat(core): change internal communication with NRF to SPI only
[no changelog]
2025-05-07 16:36:40 +02:00
tychovrahe
54202b9f53 feat(nordic): send busy response when trezor is not listening to BLE messages
[no changelog]
2025-05-07 16:08:46 +02:00