tychovrahe
1909d1ebdb
feat(core): improve flexibility of combine script, add combine fw make targets
...
[no changelog]
2024-03-13 22:12:57 +01:00
Martin Milata
73a7223e7b
test(core): add T3T1 support
...
[no changelog]
2024-03-12 20:55:23 +00:00
Martin Milata
ebb480ef29
fix(core): T3T1 emulator
...
[no changelog]
2024-03-12 20:55:23 +00:00
matejcik
b6e8567a49
fix(core): exclude altcoin functions from bitcoinonly build
2024-03-08 13:17:12 +01:00
matejcik
17678ef38d
fix(core/rust): exclude altcoin strings from generated code
2024-03-08 13:17:12 +01:00
matejcik
ccf4b7e9eb
fix(core/rust): convert bitcoin_only to an additive feature
...
universal_fw enables more features, as opposed to bitcoin_only removing features
2024-03-08 13:17:12 +01:00
matejcik
87894ae062
chore(core): add translation signatures
2024-03-07 12:26:58 +01:00
matejcik
fd3919254c
refactor(core/ui): rename confirm_payment_request to should_...
...
Because confirm_* returns None and raises on false.
but this layout is actually a prompt akin to should_show_more
2024-03-07 09:53:00 +01:00
matejcik
34965ca2cb
refactor(core/ui): use LayoutObj signatures in layout files
...
* make sure every confirm_* returns None
* prefer "def -> Awaitable[T]" to "async def -> T" everywhere (avoids one useless allocation per call)
* type-check return values from Rust layouts
2024-03-07 09:53:00 +01:00
matejcik
0304484ca6
docs(core): add method signatures for LayoutObj to mocks ( fixes #2672 )
...
feat(core): annotate CONFIRMED/CANCELLED/INFO as fake class UiResult
2024-03-07 09:53:00 +01:00
matejcik
99457bbcb0
refactor(core/ui): make request_number signature the same in TT and TR
2024-03-07 09:53:00 +01:00
matejcik
29863f84ca
refactor(core): simplify context.wait() to only accept one task
...
Nobody was using the multi-task version and this is easier to properly
type-annotate.
2024-03-07 09:53:00 +01:00
tychovrahe
e736d389f2
fix(core): fix backlight reinitialization with maximum value
...
[no changelog]
2024-03-05 16:51:23 +01:00
tychovrahe
8ccd2cb048
feat(core): add support for T3T1 rev. E HW
...
[no changelog]
2024-03-05 16:51:23 +01:00
Martin Milata
45e8a842a3
fix(core): add production pubkeys for translations
...
[no changelog]
(cherry picked from commit bfacd07ed7
)
2024-03-04 13:25:03 +01:00
Martin Milata
bfacd07ed7
fix(core): add production pubkeys for translations
...
[no changelog]
2024-03-04 12:16:20 +00:00
Martin Milata
2b0ce0398c
chore(core): bump version to 2.7.1
...
[no changelog]
2024-03-04 09:56:21 +00:00
Martin Milata
ca5d852250
docs(core): fix version in changelogs
2024-03-01 21:21:04 +01:00
tychovrahe
1f67c1e55c
chore(core): bump fw and fix version due to storage migration
...
[no changelog]
(cherry picked from commit ffabee2e6a
)
2024-03-01 16:30:27 +01:00
tychovrahe
ffabee2e6a
chore(core): bump fw and fix version due to storage migration
...
[no changelog]
2024-03-01 15:26:43 +00:00
tychovrahe
d69750fae4
refactor(core): do not use framebuffer dma copy in boardloader to safe flash space
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
f08bed363d
refactor(core): extract framebuffer copy to separate bg_copy functionality
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
afefc17478
refactor(core): use internal framebuffer on T3T1 (with ST7789V display controller)
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
416794a463
fix(core): add missing refresh to boardloader startup
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
5c7726126f
fix(core): fix bootloader jump to firmware through reset UI
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
66583f2ebf
fix(core): fix missing refresh in progress layout
...
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
b62dc27f06
feat(core): add translations support for U5 models
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
7c800f183f
refactor(core): make translations blob handling HW agnostic
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
eb6796059c
fix(core): fix st7789v driver compilation for other than T models
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8313c15f34
feat(core): allow SD card hotswap based on production date for Model T
2024-02-29 23:05:56 +01:00
tychovrahe
0e70fcdc6f
feat(core): add haptic to prodtest
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
61b3273baa
chore(core): add makefile commands for erasing bootloader and firmware, fix read/erase storage commands
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8c1425edd5
perf(core): optimize boot time by removing unnecessary touch initialization delays
2024-02-29 23:05:56 +01:00
tychovrahe
30edad0151
perf(core): optimize i2c initialization on U5 by statically defining timing constant
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
b3d1ba25d9
perf(core): optimize boot speed by checking empty image area by words
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
c3f84e2949
perf(core): optimize boot speed on U5 by using has processor to calculate image hashes, switches to sha256
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
1ea7ca4149
chore(core): change STM32Cube submodule to separate hal driver and cmsis submodules.
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
95999623fc
fix(core): fix STM32F4 display base address
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
653d73ee22
chore(core): optimize flash usage - backlight pwm
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
5e4e398f64
chore(core): optimize flash usage - SD card on U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
f83e33399f
chore(core): optimize flash usage - tamper on U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
ce82f53010
feat(core): support SD card on STM32U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
ea0f3038a0
fix(core): improve cmakelists generation for CMSE
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
5106ac7aa3
feat(core): support optiga handling on U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
72dc8f57e8
feat(core): add haptic feedback
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
a71a608ea7
feat(core): add basic support for T3T1
2024-02-29 23:05:56 +01:00
tychovrahe
7d7ccc9dde
chore(core): unify i2c instances numbering
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
834693a115
fix(core): fix OTP programming on U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
cec0191360
fix(core): fix bootloader update on STM32U5
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8815e764d2
feat(core): add support for STM32U585
...
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
4cf781abb2
chore(core, legacy, storage): refactor flash drivers
...
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
271bed8bf6
chore(core): use cortex-m33 stack protection
2024-02-29 23:05:56 +01:00
cepetr
7e427432ea
chore(core): refactor trustzone initialization
...
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
b504baceda
chore(core): refactor mpu initialization
...
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
c4c571d837
chore(core): refactor boot_args
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
353095ae95
feat(core): add support for STM32U5A9J-DK board
...
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8150636a81
feat(core): add basic support for STM32U5
2024-02-29 23:05:56 +01:00
cepetr
937b7d34d0
feat(core): add STM32CubeU5 submodule
...
[no changelog]
2024-02-29 23:05:56 +01:00
Martin Milata
6ae158cac9
fix(core): workaround umlauts not being cleared
...
[no changelog]
(cherry picked from commit d790354667
)
2024-02-29 13:24:32 +01:00
Martin Milata
1fddb0b498
feat(core): Add Capability.Translations to Features
...
[no changelog]
(cherry picked from commit 48124023d7
)
2024-02-29 13:24:32 +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
Martin Milata
14625eacbd
chore(core): bump translations version
...
[no changelog]
2024-02-29 11:29:11 +00:00
Martin Milata
d790354667
fix(core): workaround umlauts not being cleared
...
[no changelog]
2024-02-29 11:22:35 +00:00
Martin Milata
48124023d7
feat(core): Add Capability.Translations to Features
...
[no changelog]
2024-02-29 11:16:05 +00:00
Martin Milata
e3207a9705
chore(core): bump version to 2.6.6
...
[no changelog]
2024-02-28 16:35:04 +00:00
Martin Milata
6b821a8cd5
chore(common): set definition timestamp to the current signed definitions
...
[no changelog]
2024-02-27 17:10:42 +01:00
Martin Milata
1746fe06b1
docs(core): changelog for 2.6.5
2024-02-27 11:39:40 +01:00
Martin Milata
ae1f4cf5c9
feat(core/bitcoin): send BIP-380 descriptor in GetPublicKey response
2024-02-27 11:09:56 +01:00
Martin Milata
3f10a291b5
feat(common): send BIP-380 descriptor in GetPublicKey response
...
[no changelog]
2024-02-27 11:09:56 +01:00
Martin Milata
a2b53e3c46
feat(core): Add language_version_matches flag to Features
...
[no changelog]
2024-02-26 18:10:24 +01:00
Martin Milata
f53b945e61
feat(common): Add language_version_matches flag to Features
...
[no changelog]
2024-02-26 18:10:24 +01:00
grdddj
c95d83a487
chore(core): disable czech translations from blob generation
...
[no changelog]
2024-02-26 15:07:48 +01:00
matejcik
8c0e1e360e
fix(core/translations): add indices to templates
...
so that we can change the template later without running into trouble
[no changelog]
2024-02-26 15:07:48 +01:00
grdddj
04bdb95362
chore(core): shorten spanish and french texts for wrong PIN screen
...
[no changelog]
2024-02-26 15:07:48 +01:00
obrusvit
27829591c6
feat(core): add DE, ES, FR langs for ETH staking
2024-02-23 18:09:43 +01:00
obrusvit
83ac9d422f
fix: show verb in TS3 confirm_value with info
2024-02-23 18:09:43 +01:00
obrusvit
2f77434677
feat(core): device-tests of staking chunkify
2024-02-23 18:09:43 +01:00
obrusvit
e602a87c90
feat(core): allow chunkify of Stake address on TS3
2024-02-23 18:09:43 +01:00
obrusvit
ebcf3e2db2
feat(core): confirm ETH stake, unstake, claim
2024-02-23 18:09:43 +01:00
obrusvit
e1f696b4dd
fix: remove clippy error for TS3
...
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
a351614e3a
chore(tests): fix CI failures
...
Disable some tests of unsupported coins for TS3.
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
e073e619c9
chore(tests): re-run black and isort on core/tests
...
isort set to skip the first necessary "from common import *" line. A
better solution would be to get rid of the need of this import in the
future.
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
a1a60ed320
feat(tests): skip SD card tests for TR - allowing to run unittests for TR
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
171c615dfa
chore(tests): remove unused imports and variables
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bca28bac0
chore(tests): run isort and put "from common import *" at the beginning
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bd7cf4b04
chore(tests): run black
...
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
e2b7244383
Rename trezorctl self-test to prodtest-t1.
...
It was confusing for trezorctl users. The new name clearly signals that
it's meant to work only for Model One.
2024-02-22 11:47:26 +01:00
grdddj
5aec7bf414
chore(core): generate signatures.json
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
d2167fdd27
chore(tools): add rules for buttons and new strings
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
a6b02e0311
fix(core): replace spanish number symbol with nro. shortcut
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
8f4c956bdc
fix(core): shorten long translations
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
2c06c4a75c
feat(core): add newly translated strings from agency
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
5ce5d47171
chore(core): catch possible EOFError when parsing translations header
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
1ab2d843ab
chore(core): add missing template to the variable name
...
[no changelog]
2024-02-21 12:44:40 +01:00
tychovrahe
8147b11345
fix(core): fix quadword-only storage
...
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
440b1304c0
refactor(storage): Split implementations based on FLASH_BIT_ACCESS.
...
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
b2f05f187f
feat(storage): Work with generic flash blocks instead of quadwords.
...
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
743ed413f6
feat(core): add support for quad-word only storage
...
[no changelog]
2024-02-20 09:37:28 +01:00
grdddj
0579ba54fc
feat(core): allow for going back to previous word in recovery process
2024-02-19 22:05:04 +01:00
obrusvit
8c5f73c413
docs: improve documentation for core
...
[no changelog]
2024-02-13 16:51:54 +01:00