1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
Commit Graph

3628 Commits

Author SHA1 Message Date
M1nd3r
87d6407d26 feat(core, debug): change DebugLinkState to contain thp_pairing_code_qr_code and thp_pairing_code_nfc_unidirectional instead of thp_pairing_secret
[no changelog]
2024-09-05 13:37:22 +02:00
M1nd3r
06cc68cc46 wip 2024-09-04 12:47:36 +02:00
M1nd3r
02312699d1 chore(core): remove unused code in transmission_loop
[no changelog]
2024-09-04 12:47:35 +02:00
M1nd3r
206c01a5c0 fix(core): create try-catch around displaying the number of allocations
[no changelog]
2024-09-04 12:47:02 +02:00
M1nd3r
89820e84ed temp add debug print to pairing 2024-09-04 12:47:02 +02:00
matejcik
2f492adbc0 wip: focus session 2024-09-04 12:47:02 +02:00
M1nd3r
19b3e9b845 fix style 2024-09-04 12:47:02 +02:00
M1nd3r
117f3eab73 fix(core): add handle to loop before exiting it - DANGER ZONE
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
b3aacf1485 chore(core): add logging, update comments
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
c8c999919a re-enable retransmission tmp 2024-09-04 12:47:01 +02:00
M1nd3r
a272de9453 fixup: remove transmission loop wait spawn 2024-09-04 12:47:01 +02:00
M1nd3r
34940bc5f9 return ACK handling tmp
[no changelog]
2024-09-04 12:47:01 +02:00
M1nd3r
e1f17dd576 TEMP: remove ACK sending, message retransmission and message sequence bit checks
- for tests of THP speed
[no changelog]
2024-08-23 11:12:12 +02:00
M1nd3r
d45491b57b feat(core): change thp_channel_id in DebugLinkGetState to bytes
[no changelog]
2024-08-23 10:14:26 +02:00
M1nd3r
6cd5e2e73e remove non-functional code 2024-08-22 14:36:31 +02:00
M1nd3r
557a32c17a feat(core): allow DebugLinkGetState to pass channel_id and get pairing secrets and code
[no changelog]
2024-08-22 14:22:44 +02:00
matejcik
354a8ec9ec wip 2024-08-22 14:11:13 +02:00
M1nd3r
2c61321857 fix(core): fix conflicts and style, part 1
[no changelog]
2024-08-22 13:55:03 +02:00
M1nd3r
f00011d480 feat(core): implement a new Trezor-Host protocol 2024-08-22 13:55:03 +02:00
matejcik
b02c7c4895 wip 2024-08-22 11:43:51 +02:00
matejcik
695daab14e wipwip 2024-08-22 11:43:07 +02:00
matejcik
7af0483d91 wip 2024-08-22 11:43:07 +02:00
matejcik
780a22f68f fixup! refactor(core/ui): reusable timers 2024-08-22 11:43:07 +02:00
matejcik
d1625ab4a8 fixup! tests: fix small irregularities 2024-08-22 11:42:52 +02:00
matejcik
8f4cf99e48 fixup! feat(core): unify RustLayout, implement single global layout 2024-08-22 11:42:52 +02:00
matejcik
a33abd70fd fix(core): allow Ping while locked
same behavior as on Trezor One
2024-08-22 11:41:42 +02:00
matejcik
4710306b9a feat(core): drop support for after-step-hook
This was necessary for hooking display.refresh() with the old UI toolkit.
With the new one, we explicitly refresh the display after every paint, so
implicit after-step refresh seems no longer necessary.
2024-08-22 11:41:42 +02:00
matejcik
0b7ea1c415 refactor(core/ui): reusable timers 2024-08-22 11:41:42 +02:00
matejcik
eafa276d42 docs(core): add changelog 2024-08-22 11:39:36 +02:00
matejcik
4e6ba352ff style: fix complaining lints & formatters 2024-08-22 11:39:36 +02:00
matejcik
a0267004d5 feat(core/debug): better ButtonAck deadlock detection 2024-08-22 11:39:36 +02:00
matejcik
6568f6a150 fix(core): correctly repaint ShowMore component when requested 2024-08-22 11:39:36 +02:00
matejcik
ee5443a9ec refactor(core): improve recovery_enter_share 2024-08-22 11:39:36 +02:00
matejcik
b5786c2ff6 feat(core): show progress before starting to wipe device
This doesn't actually advance the progress while device erase is ongoing, but at least the user sees a loader.
2024-08-22 11:38:54 +02:00
matejcik
fad653a38b fix(core/ui): repaint the title of Progress layout when requested 2024-08-22 11:38:54 +02:00
matejcik
98a6a2149c refactor(core/ui): improve LayoutObj initialization
* RequestPaint message is sent at construction time to force calculation
  of number of pages
* given that Attach corresponds to "start the layout" message, Child now
  responds to Attach the same way it responds to RequestPaint, by
  force-repainting everything.
2024-08-22 11:38:54 +02:00
matejcik
b579796dd6 build(core): fix random order seed when using zsh 2024-08-22 11:38:54 +02:00
matejcik
ddeb11d88d fix(core): change incorrect usage of "deadline" in Rust timer code 2024-08-22 11:38:54 +02:00
matejcik
73019d079d feat(core): unify RustLayout, implement single global layout 2024-08-22 11:38:53 +02:00
matejcik
d24ea3ca7d fix(core): set default value for do_not_restart
otherwise if _handle_single_message raises an exception (which is
fortunately not something that should generally happen), the
finally-block would fail on "referenced before assignment"
2024-08-22 11:36:29 +02:00
matejcik
38b1151673 feat(core): add mailbox as a simplified version of chan 2024-08-22 11:36:29 +02:00
matejcik
1a1135b9b1 refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-08-22 11:36:29 +02:00
matejcik
c8ab4f83ad refactor(core): remove unused features from loop.race 2024-08-22 11:36:29 +02:00
matejcik
2adfe92e8d feat(core): introduce timeout to loop.wait() 2024-08-22 11:36:29 +02:00
tychovrahe
c30f1231d5 refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
[no changelog]
2024-08-22 11:36:29 +02:00
tychovrahe
4b68431f7c feat(core): tune consumption mask protection on T3B1
[no changelog]
2024-08-07 18:11:43 +02:00
tychovrahe
c42c268e05 fix(core): fix dma2d includes and initialization with respect to new rendering
[no changelog]
2024-08-07 18:11:29 +02:00
tychovrahe
171961829a fix(core): fix gfx_clear
[no changelog]
2024-08-07 18:11:29 +02:00
vdovhanych
bb92a6b56a chore: fix hardcoded x86 build 2024-08-06 15:34:29 +02:00
Ondřej Vejpustek
aedef2d69d refactor(core/tests): create template for solana
[no changelog]
2024-08-06 13:48:20 +02:00