obrusvit
8acccb6e50
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-04-16 17:44:24 +02:00
obrusvit
0063dffddd
refactor(eckhart): separate theme to fw and bld
2025-04-16 17:44:24 +02:00
obrusvit
9e8330a42d
refactor(eckhart): separate firmware components
2025-04-16 17:44:24 +02:00
Lukas Bielesch
794d8f7075
feat(eckhart): full-screen input number component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
21bc7dc305
chore(eckhart): add action bar touch expansion function
2025-04-16 17:44:24 +02:00
Lukas Bielesch
857d4e32ea
chore(eckhart): add plus and minus icons
2025-04-16 17:44:24 +02:00
Lukas Bielesch
43e6de167f
chore(eckhart): update existing components accordint to new design
2025-04-16 17:44:24 +02:00
Lukas Bielesch
a7f455ff3e
feat(eckahrt): implement show info UI trait function
2025-04-16 17:44:24 +02:00
Lukas Bielesch
299fe12056
feat(eckhart): prompt backup flow
2025-04-16 17:44:24 +02:00
Lukas Bielesch
cbd996abfe
chore(eckhart): temporarily implement show progress UI trait function
2025-04-16 17:44:24 +02:00
Lukas Bielesch
75d89aad75
feat(eckhart): confirm reset flow
2025-04-16 17:44:24 +02:00
Lukas Bielesch
56e1be6523
chore(eckhart): add warning text styles
2025-04-16 17:44:24 +02:00
Lukas Bielesch
647e6bae39
chore(eckhart): implement Swipable trait for vertical menu screen
2025-04-16 17:44:24 +02:00
Lukas Bielesch
31e5e8911f
core(eckhart): Fix failing unit test and warnings
2025-04-16 17:44:24 +02:00
Lukas Bielesch
d3ab01a426
feat(eckhart): Full-screen get count component
2025-04-16 17:44:24 +02:00
obrusvit
0c5bbb4079
feat(eckhart): add easing and rollback to HtC anim
...
- also switch corner icons to 4px width
2025-04-16 17:44:24 +02:00
obrusvit
6abcf3c897
feat(eckhart): add alpha to ScreenBorder
2025-04-16 17:44:24 +02:00
obrusvit
6485c20b38
chore(eckhart): fix some clippy warnings
2025-04-16 17:44:24 +02:00
Lukas Bielesch
3e42d9e311
feat(eckhart): Add SLIP39 input component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
2de1585d16
feat(eckhart): Add BIP39 input component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
d2fc0c94c7
feat(eckhart): full-screen mnemonic component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
2f2d19d4d5
feat(eckhart): passphrase flow
2025-04-16 17:44:24 +02:00
Lukas Bielesch
3d0016b433
feat(eckhart): full-screen passphrase component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
5ebf8f7b74
feat(eckhart): full-screen PIN keyboard component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
910aa77cd6
feat(eckhart): keypad component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
e98b90645c
feat(ui): Add visibility-checking function to Maybe struct
2025-04-16 17:44:24 +02:00
Lukas Bielesch
c1814c22c0
feat(ui): Add function for expanding Button touch area
2025-04-16 17:44:24 +02:00
Lukas Bielesch
52e7e39cbe
feat(eckhart): Add common keyboard functionality
2025-04-16 17:44:24 +02:00
Lukas Bielesch
33348477b4
feat(eckhart): keyboard button styles
2025-04-16 17:44:24 +02:00
Lukas Bielesch
14f478e04f
feat(eckhart): Add parametrized content offset to Button
2025-04-16 17:44:24 +02:00
Lukas Bielesch
453774be36
chore(eckhart): Add dynamic padding option to vertical menu. Update rendering of separarators in vertical menu.
2025-04-16 17:44:24 +02:00
Lukas Bielesch
50e0807307
feat(eckhart): full-screen select word component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
4f60e6d0bf
chore(eckhart): Remove redundant code
2025-04-16 17:44:24 +02:00
Lukas Bielesch
204c8cc0e4
chore(eckhart): Add dynamic padding option to vertical menu.
...
Update rendering of separarators in vertical menu.
2025-04-16 17:44:24 +02:00
Lukas Bielesch
c78bdf4ef3
feat(eckhart): Add new Button 'is_pressed' function
2025-04-16 17:44:24 +02:00
Lukas Bielesch
a6301acbcc
chore(eckhart): fix button text and subtext rendering
2025-04-16 17:44:24 +02:00
Lukas Bielesch
dad0722dac
feat(eckhart): button styles for select word component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
b54ed8d629
feat(eckhart): share words flow
2025-04-16 17:44:24 +02:00
Lukas Bielesch
6ac3752386
feat(eckhart): full-screen share words component
2025-04-16 17:44:24 +02:00
Lukas Bielesch
68a8fbca68
chore(eckhart): improve HTC animation
2025-04-16 17:44:24 +02:00
obrusvit
acc9add7cd
feat(eckhart): expand touch area of ActionBar
2025-04-16 17:44:24 +02:00
obrusvit
2dcd0b1876
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-04-16 17:44:24 +02:00
obrusvit
318a6e2386
feat(eckhart): implement ScreenBorder overlay
...
- a static "custom shape" for eckhart layout which displays screen
overlay around the borders
2025-04-16 17:44:24 +02:00
Lukas Bielesch
88bb6e7f67
feat(eckhart): Update vertical menu components
2025-04-16 17:44:24 +02:00
Lukas Bielesch
9bbb98fbee
feat(eckhart): Add new Back Header message type
2025-04-16 17:44:24 +02:00
Lukas Bielesch
02f13699ec
feat(eckhart): Add MenuItem button content type
2025-04-16 17:44:23 +02:00
Lukas Bielesch
4af10f48b1
feat(eckhart): Add battery icons
2025-04-16 17:44:23 +02:00
Lukas Bielesch
37953577dc
feat(eckhart): Add vertical menu button styles
2025-04-16 17:44:23 +02:00
obrusvit
022b03c7a2
feat(eckhart): full-screen vertical menu component
2025-04-16 17:44:23 +02:00
obrusvit
11894a2492
feat(eckhart): implement a few show_xyz functions
2025-04-16 17:44:23 +02:00
obrusvit
7314fd77a2
feat(eckhart): implement confirm_value
2025-04-16 17:44:23 +02:00
obrusvit
957e6b0ecd
feat(eckhart): implement confirm_action
2025-04-16 17:44:23 +02:00
obrusvit
ce279e80d7
feat(core): add color op to FormattedText
...
[no changelog]
2025-04-16 17:44:23 +02:00
obrusvit
38c7cd80a5
feat(eckhart): full-screen textual component
...
- TextScreen is a full-screen component for (paginated) texts
- it's supposed to wrap FormattedText or Paragraphs
2025-04-16 17:44:23 +02:00
obrusvit
663e734f72
feat(eckhart): action bar component
2025-04-16 17:44:23 +02:00
obrusvit
b5336527b4
feat(eckhart): hint component
2025-04-16 17:44:23 +02:00
obrusvit
bdf09f8547
feat(eckhart): header component
2025-04-16 17:44:23 +02:00
obrusvit
f6dd8acb1e
feat(eckhart): provisional homescreen
2025-04-16 17:44:23 +02:00
obrusvit
0ae16d21f6
feat(eckhart): text styles
2025-04-16 17:44:23 +02:00
obrusvit
71a512f1b9
feat(eckhart): add fonts
2025-04-16 17:44:23 +02:00
obrusvit
bb1e666245
feat(eckhart): icon set
2025-04-16 17:44:23 +02:00
obrusvit
19cb7dabaf
feat(eckhart): color palette
2025-04-16 17:44:23 +02:00
obrusvit
e33457c10a
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-04-16 17:44:23 +02:00
Martin Milata
04aeaf0607
build(core/unix): use -g instead of -g3
...
Prevents flood of warnings on macos.
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
0ec2dbd583
fix(core/unix): HIDPI on macOS 15
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
e81617e1c6
build(core): fix build for GCC14
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
8f37578408
ci(nix): update to latest nixpkgs-unstable, rustc
...
[no changelog]
2025-04-16 17:27:11 +02:00
Martin Milata
04b9768faa
build(core): allow passing HW_REVISION to make
2025-04-16 15:36:05 +02:00
Roman Zeyde
c48cfbc59e
chore(core): update coverage
to 5.5
...
Because `coverage` 4.5.4 requires Python <=3.8 (EOL).
[no changelog]
2025-04-16 15:14:53 +03:00
Roman Zeyde
d50181b7f9
fix(core): check QSTR run-time allocations only for frozen debug builds
...
[no changelog]
2025-04-15 14:22:47 +03:00
Martin Milata
2a40d91790
refactor(core): convert modtrezorio.ble to rust
...
[no changelog]
2025-04-15 13:08:37 +02:00
Martin Milata
b35d2f4000
refactor(core/rust): expose RuntimeError
...
[no changelog]
2025-04-15 13:08:37 +02:00
Martin Milata
1c09490f3b
refactor(core/io): add pairing_code to ble_command_data_t
...
[no changelog]
2025-04-15 13:08:37 +02:00
matejcik
a50e49afa9
chore(core): include T3B1 certificate for the emulator
2025-04-15 12:37:25 +02:00
matejcik
0db727b21b
chore(core): include T3W1 certificate for the emulator
2025-04-15 12:37:25 +02:00
Roman Zeyde
9bd81926af
feat(core): check for runtime QSTR allocations
...
[no changelog]
2025-04-14 22:42:16 +03:00
Roman Zeyde
2975a07f1f
chore(core): remove unused path
definitions from MicroPython emulator
...
[no changelog]
2025-04-14 22:42:05 +03:00
Roman Zeyde
c2dd63a6bd
chore(core): move core/prof
into core/src/prof
...
It would allow interning profiling-related QSTRs in debug emulator builds.
[no changelog]
2025-04-14 22:40:52 +03:00
Roman Zeyde
04f9ada9bc
style(core): annotate prof.py
...
Also, fix a few style lints.
[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
c90b30fbf7
chore(core): intern Monero-related QSTRs
...
[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
599c17cd29
build(core): refactor qstrdefsport.h
generation
...
Allow excluding debug-related QSTRs.
[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
6473b3ca48
feat(vendor): update MicroPython to support sorted qstr pools
...
Requires https://github.com/trezor/micropython/pull/20 .
[no changelog]
2025-04-14 21:20:08 +03:00
Andrew Kozlik
e80e979fdd
docs(core): Document Optiga configuration.
...
[no changelog]
2025-04-14 17:10:07 +02:00
cepetr
8a636bd9cf
fix(core): make mod_trezorio_poll return False only on timeout
...
[no changelog]
2025-04-14 12:30:52 +02:00
Roman Zeyde
07ad01220c
perf(core): remove imports from hot path
...
[no changelog]
2025-04-10 14:19:34 +03:00
Martin Milata
3c08ce62b3
build(core): default T3W1 to revision C
...
[no changelog]
2025-04-09 23:44:12 +02:00
cepetr
75f9821cf1
fix(core): improve rgb_led driver deinitialization
...
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
0b673c2772
fix(core): fix ft6x36 interrupt pin deinitialization
...
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
ad80d5c1de
fix(core): fix tropic driver deinitialization
...
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
47d1378d28
refactor(core): simplify display driver deinitialization
...
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
2017c5931e
feat(core): optimize pmic power consumption
...
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
9537c8a80d
feat(core): deinitialize tropic driver before suspending
...
[no changelog]
2025-04-09 22:10:11 +02:00
Martin Milata
23cc83f3ba
refactor(core): ble: expose connection state in micropython
...
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
fe20466ed7
fix(core): modtrezorio-ble cleanup
...
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
93f23e6318
feat(core): start BLE advertising on boot
...
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
c5a4eddfc9
build(core): enable button feature in T3W1 emulator
...
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
0ecff7182b
build(core): allow ble feature in emulator
...
[no changelog]
2025-04-09 21:25:37 +02:00
Ioan Bizău
40756a0941
fix(core/ui): use "..." ellipsis in "show more"
2025-04-09 15:57:01 +02:00
Martin Milata
828e1868ab
docs: fix broken changelog links
2025-04-09 10:11:21 +02:00
Roman Zeyde
893bd1e69b
chore(core): remove unused all_modules.py
...
[no changelog]
2025-04-08 17:48:15 +03:00