1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00
Commit Graph

3084 Commits

Author SHA1 Message Date
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
grdddj
6142a39f20 fix(core): add debug feature to Rust in hardware build when PYOPT=0
[no changelog]
2024-02-12 17:07:28 +01:00
grdddj
941408246c chore(core): add changelog entry for translations 2024-02-12 14:49:32 +01:00
matejcik
65178a6a36 refactor(core/rust): reuse the same component for "waiting for host" screen 2024-02-12 14:49:32 +01:00
matejcik
8471e0c455 refactor(core/rust): decouple Connect screen from bootloader theme 2024-02-12 14:49:32 +01:00
matejcik
02557ad6c0 feat(core/rust): expose attrtuple to Rust 2024-02-12 14:49:32 +01:00
matejcik
6af7b4a4b7 fix(core/rust): convert Qstr type to representation that matches C code 2024-02-12 14:49:32 +01:00
matejcik
ab3c62ae71 feat(core/rust): introduce SimpleTypeObj 2024-02-12 14:49:32 +01:00
matejcik
6a280a279a feat(python): add cosi.sign_with_privkeys
we've had multiple copies of this function all over the codebase, it's time to move it where it belongs
2024-02-12 14:49:32 +01:00
matejcik
3e14937c8a feat(core/rust): add const Obj::small_int 2024-02-12 14:49:32 +01:00
matejcik
63360a7417 feat(core/rust): add Map::is_empty() 2024-02-12 14:49:32 +01:00
matejcik
9c72c7c99d feat(common): provide some useful paths for the mako templates 2024-02-12 14:49:32 +01:00
matejcik
03298ca80f docs(core/rust): improve safety comments in buffer.rs 2024-02-12 14:49:32 +01:00
matejcik
0c793084f8 chore(core/rust): move illustration outside src/ tree 2024-02-12 14:49:32 +01:00
matejcik
8bf5a72843 refactor(core/rust): move iter_into_array to micropython::utils 2024-02-12 14:49:32 +01:00
matejcik
3b88116bba feat(core/rust): add trezorcrypto bindings
for now, we use sha256 and a little of ed25519 for CoSi purposes

also add the Merkle root algorithm
2024-02-12 14:49:32 +01:00
matejcik
76296ad417 refactor(core/rust): move InputStream to its own module 2024-02-12 14:49:32 +01:00
matejcik
055662ea27 chore(common): deprecate language fields in ApplySettings, ResetDevice, RecoveryDevice 2024-02-12 14:49:32 +01:00