1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-18 03:10:58 +00:00
Commit Graph

14237 Commits

Author SHA1 Message Date
obrusvit
1fd59524e1 fixup! fixup! refactor(core): consistent naming of UI layouts 2025-01-17 17:57:39 +01:00
obrusvit
21b464c6dd fixup! refactor(core): consistent naming of UI layouts 2025-01-17 16:58:07 +01:00
obrusvit
5107298c3c fixup! refactor(core): consistent naming of UI layouts 2025-01-17 16:37:04 +01:00
obrusvit
cfac449b8b refactor(core): consistent naming of UI layouts
- follow-up on 862c987779
- layout_bolt stays the same
- layout_samson -> layout_caesar
- layout_quicksilver -> layout_delizia

[no changelog]
2025-01-17 15:35:14 +01:00
Ioan Bizău
30e88f4641 fix(core/ui): make button press cancel current hold 2025-01-17 13:04:56 +01:00
matejcik
38e362cd5b fix(core): improve ButtonRequest.name in backup confirmation
[no changelog]
2025-01-17 11:28:12 +01:00
matejcik
4e852231ab fix(tests): implement expected responses for entropy check
fixes #4464
2025-01-17 11:28:12 +01:00
matejcik
a3fc66f4b6 fix(tests): update tests for newly introduced device.setup() 2025-01-17 11:28:12 +01:00
matejcik
79cc7a9693 style(python): improve type hints for input flows 2025-01-17 11:28:12 +01:00
matejcik
6a5836708f refactor(python): replace usages of @expect 2025-01-17 11:28:12 +01:00
matejcik
53bdef5bb4 feat(python): introduce device.setup() for entropy check
this deprecates `device.reset()`, and moves the new arguments to
`device.setup()`.

Also it changes default backup type on core devices to SLIP39-single,
same as Suite, and randomizes the number of entropy check rounds, if not
provided from outside.
2025-01-17 11:28:12 +01:00
matejcik
4610655d77 feat(python): introduce a deprecation helper
it's a Python class that emits a DeprecationWarning if you try to use it
for almost anything
(two exceptions that can't be overriden from the wrapper:
 * isinstance(depr, SomeOtherClass)
 * depr is None)

we will return instances of this class to indicate that a return value
of something will be going away
2025-01-17 11:28:12 +01:00
matejcik
0cae2ab2d0 deprecation(python): deprecate @expect 2025-01-17 11:28:12 +01:00
matejcik
8b6d8e7572 fix(all): make more protobuf fields required
[no changelog]
2025-01-17 11:28:12 +01:00
matejcik
c7231e5de9 feat(python): introduce expect argument to client.call 2025-01-17 11:28:12 +01:00
Carlos Garcia Ortiz karliatto
6c4064489a fix(common): add requirements.txt to tools 2025-01-17 08:24:28 +01:00
Ioan Bizău
dd3bf253f8 fix(core): disallow canceling on uncancelable pages 2025-01-16 13:54:13 +01:00
Tomáš Martykán
d711fbcad5 fix(common): update solana domains 2025-01-15 11:37:31 +01:00
Prochmi99
fee4b4ab86 feat(common): add new t3t1 color variant 2025-01-15 11:36:52 +01:00
Carlos Garcia Ortiz karliatto
d2e47ca87b fix(common): blockbook for testnet 4 2025-01-14 13:57:42 +01:00
tychovrahe
8207b9ffe5 feat(core): add BLE to t3w1 board
[no changelog]
2025-01-14 09:15:12 +01:00
tychovrahe
b2a4db1463 feat(core): expose BLE functionality to micropython
[no changelog]
2025-01-14 09:15:12 +01:00
tychovrahe
8ca51be020 feat(core): expose BLE functionality to rust
[no changelog]
2025-01-14 09:15:12 +01:00
tychovrahe
3fae6b23cf feat(core:): introduce BLE driver
[no changelog]
2025-01-14 09:15:12 +01:00
tychovrahe
34e033fd4e fix(core): fix wrong RSOD color on some older Model T devices 2025-01-14 08:21:37 +01:00
kopecdav
b726e1e203 fix(core/prodtest): add missing source file for revA0
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
280b1e9b79 fix(core): reset peripherals in emergency mode
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
2426e637b3 feat(core): introduce optiga deinit and suspending
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
80e2cea2b5 feat(core): improve button driver init/deinit
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
fc2f9c5949 feat(core): add powerctl_suspend syscall
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
f3793fd8c4 fix(core): panic on invalid syscall number
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
63fe21b6cb feat(core): improve dma2d/gfx_bitblt init/deinit
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
3165443dfe feat(core): improve t3w1 display driver init/deinit
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
1f3e640dd9 feat(core): add display_init return value
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
47f618c640 feat(core): decrease t3w1 backlight pwm frequency
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
7a603b8717 feat(core): improve haptic driver peripherals init/deinit
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
a881401e4d feat(core): improve pwm backlight driver peripherals init/deinit
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
22f132c935 fix(core): fix suspending to STOP2 mode
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
4fda1c4dfb feat(core): introduce USE_USB feature
[no changelog]
2025-01-14 07:52:15 +01:00
cepetr
27e37de695 fix(core): fix incorrect macro name
[no changelog]
2025-01-13 19:03:28 +01:00
tychovrahe
eef2f4113f refactor(core): improve USB events handling, more extensible implementation
[no changelog]
2025-01-13 18:46:11 +01:00
tychovrahe
e4f4985584 refactor(core): split polling can_read and reading from USB
[no changelog]
2025-01-13 17:42:30 +01:00
Ondřej Vejpustek
31fb9528b5 fix(tests): fix minor issues in multisig tests 2025-01-13 16:56:09 +01:00
Martin Milata
dadff32f39 build(core): use internal model names everywhere
TREZOR_MODEL=T and TREZOR_MODEL=R

no longer work, please use

  TREZOR_MODEL=T2T1 and TREZOR_MODEL=T2B1

[no changelog]
2025-01-13 16:24:35 +01:00
Pavol Rusnak
c9b50f3cde build(build-docker): use shasum first, then sha256sum
macOS recently introduced sha256sum command which can not read
from stdin if "-c" option is provided

using shasum first fixes this issue

[no changelog]
2025-01-10 14:12:44 +01:00
Lukas Bielesch
1ef62aaf0b fix(core): rework 'too many PIN attempts' RSOD
Also, allow multi-line title in `model_samson` `ErrorScreen`.

Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>
2025-01-10 13:31:00 +01:00
Roman Zeyde
849af38f5e refactor(core): remove an unused member from ErrorScreen
Also, rename `ErrorScreen::place` argument to `_bounds`,
similarly to how it's done in `model_quicksilver` and `model_bolt`.
2025-01-10 13:31:00 +01:00
tychovrahe
43721ab396 feat(core/prodtest): add RGB LED test
[no changelog]
2025-01-10 11:32:49 +01:00
Roman Zeyde
cbfbd48e3a docs: use 'trezorctl firmware update'
Following #1258.

[no changelog]
2025-01-10 10:49:39 +01:00
obrusvit
862c987779 refactor(core): consistent naming of UI layouts
- UI layouts name changes:
  - model_tt -> layout_bolt
  - model_tr -> layout_samson
  - model_mercury -> layout_quicksilver
- rust features `model_xyz` freed for different use, now it's
`layout_xyz`
- input_flow function names are based on UI layout and not internal
model name (i.e. quicksilver instead of t3t1)
- directory names and commentary changed accordingly

[no changelog]
2025-01-09 22:57:14 +01:00