matejcik
331e07b1e0
feat(core): disable animations in debug firmware by default
...
This makes it possible to run HW tests on the T3T1 where animations mess
things up. It also speeds up HW tests on other models slightly.
export TREZOR_DISABLE_ANIMATION=0 to build a debug firmware with
animations enabled
2024-12-03 11:02:17 +01:00
M1nd3r
01cf58f2a1
docs(core): add and modify docs to context and cache
...
[no changelog]
2024-12-02 12:39:15 +01:00
M1nd3r
8eb62fdeca
refactor(core): abstract cache and context
...
[no changelog]
2024-12-02 12:39:15 +01:00
tychovrahe
1efb684544
refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
...
[no changelog]
2024-11-12 16:55:17 +01:00
tychovrahe
b9a55cf2a7
feat(core): add settings to turn haptic on/off
...
[no changelog]
2024-06-03 14:26:25 +02:00
matejcik
44a6696f24
build(core): improve model detection
...
instead of MODEL_IS_T2B1, we now catch INTERNAL_MODEL == Txyz
this is still not perfect because it can't detect 'in'/'not in', which
sucks but what can we do
2024-05-24 13:53:05 +02:00
Ondřej Vejpustek
ccb242ee1c
chore(core): introduce THP flag
...
[no changelog]
2024-05-10 20:05:37 +02:00
matejcik
8640b50d81
style(core): upgrade pyright to 1.1.361
...
[no changelog]
2024-05-07 11:57:10 +02:00
tychovrahe
6b31b8eec3
chore(core): change USB manufacturer and product strings for new models
...
[no changelog]
2024-05-06 13:10:36 +02:00
Andrew Kozlik
27f54eec9c
feat(core): Add unit packaging variant field to Features.
...
[no changelog]
2024-04-25 15:51:52 +02:00
tychovrahe
8313c15f34
feat(core): allow SD card hotswap based on production date for Model T
2024-02-29 23:05:56 +01:00
matejcik
5f016a896a
chore: upgrade style checkers
...
black 24.2.0
flake8 7.0.0
some neat improvements for if-else statements there
2024-02-29 13:08:18 +01:00
grdddj
b8ea21d24a
feat(all): implement translations into Trezor
...
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
cepetr
ba83a7e644
feat(core): introduce interaction-less upgrade
2023-10-27 16:15:15 +02:00
matejcik
c892d4b0ba
refactor(core): inject full model name from build script
...
so that we don't have to do awkward string operations when we need it
[no changelog]
2023-09-29 16:27:27 +02:00
tychovrahe
3c1236bf82
refactor(core): setup single-place layout selection
...
[no changelog]
2023-09-18 18:05:37 +02:00
Andrew Kozlik
c48b606867
feat(core): Add bootloader_locked flag to Features message.
...
[no changelog]
2023-09-15 14:08:02 +02:00
grdddj
76c6e9cd9d
feat(all): implement support information for T2B1
...
WIP - change trezor{1,2} to their internal names, add support for model R
WIP - add EOS and NEM features Capability only for TT
WIP - not include EOS and NEM into TR
WIP - choose between device models when generating coininfo
WIP - regenerate coininfo.py
WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR
WIP - fix python support
WIP - fix unit tests
WIP - import bitcoin-like code only when needed
WIP - remove ignored coins for TR in fixtures.json
WIP - make all the external references to models UPPERCASE
WIP - do the model separation in mako script also for tokens and networks
WIP - hot-fixing non-supporting RELEASES_URL for new model names
WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION
WIP - run `python support.py release`
WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS
WIP - change all the docs and commands to have UPPERCASE model names
[no changelog]
2023-09-14 13:54:09 +02:00
Andrew Kozlik
8010cfb5b6
feat(core): Add utils.USE_OPTIGA.
2023-09-13 15:45:48 +02:00
matejcik
edc2add85e
style(core): apply isort 5
...
[no changelog]
2023-08-16 13:29:51 +02:00
tychovrahe
539420cac8
refactor(core): make backlight/fading optional
...
[no changelog]
2023-06-27 16:18:30 +02:00
tychovrahe
8d812ca36e
feat(core): support device variants
...
[no changelog]
2023-06-07 19:48:53 +02:00
tychovrahe
a2f8cb9d1c
feat(core): add internal model field to features
...
[no changelog]
2023-06-06 09:39:45 +02:00
tychovrahe
83500487b8
refactor(core): improve conditional compilations based on model
...
[no changelog]
2023-04-19 21:36:51 +02:00
grdddj
5196f249a2
feat(core): add make command to check for unused upy code using vulture
...
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
428ac8d2ac
chore(core): delete unused code in src
...
[no changelog]
2023-01-25 19:17:56 +01:00
Andrew Kozlik
e612d58f36
feat(core): Add debugging tool for hashing operations.
...
[no changelog]
2023-01-24 10:22:54 +01:00
grdddj
756a97a95d
chore(core): delete unused functions
2022-11-10 14:08:28 +01:00
Ondrej Mikle
a0287698d5
feat(core): show blue dot when USB data not connected
2022-08-25 16:42:29 +02:00
matejcik
a6410693b3
Revert "feat(core): implement firmware dumping"
...
This reverts commit 37c61c1381
.
2022-08-02 17:12:07 +02:00
Ondrej Mikle
c563c987e1
feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2022-06-01 14:50:59 +02:00
matejcik
221a7c9973
fix(core): drop support for __slots__ from obj_eq / obj_repr
...
__slots__ are unsupported in micropython
[no changelog]
2022-05-16 12:37:24 +02:00
matejcik
37c61c1381
feat(core): implement firmware dumping
2022-05-03 19:00:04 +02:00
Andrew Kozlik
822b1c344f
feat(core): Return fw_vendor in firmware Features message.
2022-05-03 19:00:04 +02:00
Andrew Kozlik
106ab65e21
feat(core): Implement GetFirmwareHash message.
2022-05-03 19:00:04 +02:00
grdddj
3d505874aa
feat(ci): create pyright tool and include it in CI
...
[no changelog]
2022-03-02 15:43:50 +01:00
matejcik
c236dfc814
style(core): type object
doesn't have __slots__
2022-02-08 14:27:23 +01:00
Andrew Kozlik
83686d1be2
chore(core): Add HashContextInitable protocol class.
2022-01-31 18:00:22 +01:00
matejcik
e20879189f
style(core): remove old-style annotations (Set, Tuple, Union)
2022-01-07 21:41:17 +01:00
matejcik
80f6463799
style(core): define obj_eq and obj_repr so that they pass type-check
2022-01-07 21:41:17 +01:00
grdddj
9fc5bb546b
style(core): full pyright-based type-checking
...
Changes many fields to required -- as far as we were able to figure out,
signing would fail if these fields aren't provided anyway, so this
should not pose a compatibility problem.
Co-authored-by: matejcik <ja@matejcik.cz>
2022-01-07 21:41:17 +01:00
matejcik
e972839ac7
style(all): fix pylint complaints
...
[no changelog]
2021-10-27 13:13:15 +02:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
matejcik
cb882df100
feat(core): in debug mode, dump contents of received protobuf messages
...
[no changelog]
2021-07-23 11:46:24 +02:00
Andrew Kozlik
7811204ed5
refactor(core/bitcoin): Use HashWriter in address derivation.
2021-07-22 10:54:49 +02:00
Andrew Kozlik
2c003052f5
refactor(core/bitcoin): Change CoinInfo.script_hash to be a HashContext.
2021-07-22 10:54:49 +02:00
matejcik
b41d4c71f0
feat(core/emulator): JSON memory map dump
...
use `trezor.utils.mem_dump("somefile.json")` in a key place, then
`analyze.py src/somefile.json` to look at what is going on
2021-07-14 13:50:24 +02:00
Martin Milata
b7cab90e3c
refactor(core/ui): use new_lines=False in layouts
2021-06-23 11:51:18 +02:00
Jan Pochyla
02aa14fc04
refactor(core): Switch to new Protobuf API
2021-06-08 09:55:19 +02:00
Pavol Rusnak
23aa69caea
fix(core): unify Features.revision reporting with legacy
2021-06-04 12:50:49 +02:00