1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00
Commit Graph

3188 Commits

Author SHA1 Message Date
obrusvit
f8fcb49ba6 refactor(core): allow changing button font on R
By default, buttons have uppercased font. The addition is necessary to
customize font on info buttons where we need normal font.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
f9e55a215d refactor(core): replace upper calls by upper font
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
43e759ea0b refactor(core): apply uppercased fonts in build
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
c448a7bcfc refactor(tools): add gen_upper arg to gen_font
The new option allows generation of font glyph definition where both
lowercase and uppercase letters are mapped to uppercase glyphs.

[no changelog]
2024-05-08 22:46:58 +02:00
matejcik
8640b50d81 style(core): upgrade pyright to 1.1.361
[no changelog]
2024-05-07 11:57:10 +02:00
tychovrahe
6fe476a828 chore(core): fix typos in usb implementation
[no changelog]
2024-05-06 19:51:06 +02:00
tychovrahe
1ce694b7fc fix(core): fix usb configuration for FS peripheral (use 6 endpoints)
[no changelog]
2024-05-06 19:51:06 +02:00
matejcik
12725d9835 chore(core): bump bootloader / prodtest versions after release 2024-05-06 13:21:14 +02:00
matejcik
e8c65b9f24 chore(core): changelog for bootloader and prodtest 2024-05-06 13:20:39 +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
tychovrahe
8ebb8c2128 fix(core): fix prodtest WIPE on STM32U5
[no changelog]
2024-05-05 18:36:47 +02:00
Andrew Kozlik
f8be07b732 feat(core): Increase Optiga I2C timeout.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
d453dac45c feat(core): Measure Optiga response timeout in ms not number of attempts.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
594d7425cd feat(core): Retry getting Optiga response even when it doesn't seem to have one.
[no changelog]
2024-05-05 10:03:32 +02:00
Andrew Kozlik
62e3a414ad chore(core): Disable wait_random() for prodtest and VCP.
[no changelog]
2024-05-05 10:03:32 +02:00
matejcik
45a973b8f9 feat(core/prodtest): do not lock Optiga in non-production builds
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
ed43a5bc5b feat(core): Don't lock Optiga in debug builds.
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
54c441a607 feat(core): enable Optiga logging in debug builds by default
[no changelog]
2024-05-03 09:49:37 +02:00
matejcik
8623e57f43 chore(core): add prodtest provisioning script
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
4fb06815b5 feat(core): Set trust anchor data type in prodtest.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
182a9b1ce8 refactor(core): Refactor Optiga macros.
[no changelog]
2024-05-03 09:49:37 +02:00
Andrew Kozlik
9a5e9b25c7 feat(core): Add Optiga command logging macro.
[no changelog]
2024-05-03 09:49:37 +02:00
Ioan Bizău
7c97561565 chore(core): rename "seed" to "backup" 2024-05-01 09:23:40 +02:00
Ioan Bizău
8ec9545b89 chore(core): add an extra confirmation for non-1-of-1 Shamir backups 2024-05-01 09:23:40 +02:00
Ioan Bizău
4afe42a57e refactor(core): make 1-of-1 SLIP39 backups use same messaging as BIP39 2024-05-01 09:23:40 +02:00
Ioan Bizău
3006224bff feat(core): add ability to request backups with any number of groups/shares 2024-05-01 09:23:40 +02:00
Andrew Kozlik
d6b352befe core(feat): Add FIRMWARE VERSION command to prodtest. 2024-04-30 11:14:22 +02:00
M1nd3r
0d7fe7d643 chore(core): add colors to unittest prints
[no changelog]
2024-04-26 18:04:33 +02:00
tychovrahe
ea1c32f90e fix(core/rust): fix bindgen macros generation
[no changelog]
2024-04-26 13:36:58 +02:00
tychovrahe
91a783ee37 chore(core): fix flash_combine makefile command
[no changelog]
2024-04-26 12:36:45 +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
d349c44a58 refactor(core): generate macros for rust bindgen automatically
[no changelog]
2024-04-25 13:20:07 +02:00
tychovrahe
c635b945e1 chore(core/boardloader): bump version after release
[no changelog]
2024-04-24 15:15:14 +02:00
tychovrahe
d9590cbe90 chore(core/boardloader): generate changelog
[no changelog]
2024-04-24 15:15:14 +02:00
tychovrahe
ab11afa442 fix(core): set proper VDD level for T3T1 boards
[no changelog]
2024-04-24 12:55:52 +02:00
matejcik
39e1085295 chore(core): add T3T1 QA bootloader 2.1.5 2024-04-22 10:56:25 +02:00
matejcik
66b96bc279 build(core): fix prodtest build from build-docker
build-docker.sh will unconditionally pass in a value for the
VENDOR_HEADER envvar. This is a problem if the user didn't specify one,
because the value inside the container is going to be empty string.

We make prodtest look at whether the value of VENDOR_HEADER is truthy
instead of a literal None. Which is a correct logic: if the user
deliberately sets the value to an empty string, the build will fail
anyway, so we ignore such value.
2024-04-22 10:56:25 +02:00
matejcik
f0c7cc4e8e chore(core): add signed vendor headers for T3T1 2024-04-22 10:56:25 +02:00
matejcik
c01302dd31 chore(core): add signed production T3T1 bootloader v2.1.5 2024-04-22 10:56:25 +02:00
tychovrahe
e5e40cf4a8 fix(core): ensure correctly programmed oem key option bytes
[no changelog]
2024-04-22 09:15:42 +02:00
tychovrahe
916dbdff9c fix(core): fix reboot to bootloader crash when display copying is in progress
[no changelog]
2024-04-18 10:50:46 +02:00
matejcik
90afd9c96a chore(core): bump versions of prodtest / bootloader after release 2024-04-17 14:40:30 +02:00
matejcik
4728b14bcc docs(core): add changelogs for prodtest and bootloader 2024-04-17 14:40:29 +02:00
matejcik
5b0b145f12 build(core): allow custom vendor header for prodtest
to facilitate building prodtest with unsigned VH and then replacing it
2024-04-17 14:40:29 +02:00
tychovrahe
dfe5ee67f1 fix(core): move OEM key check after display initialization so that error message can be displayed
[no changelog]
2024-04-17 14:23:09 +02:00
tychovrahe
457e5956c8 fix(core): fix sha256 calculation with hash processor
[no changelog]
2024-04-17 10:48:37 +02:00
Ondřej Vejpustek
e9f6eb0b2b fix(core/reflash): fix compile errors
[no changelog]
2024-04-16 17:41:30 +02:00
matejcik
89fdaed31e chore(core): add unsigned vendor headers with production keys 2024-04-12 16:13:52 +02:00
matejcik
0109ab2232 chore(core): make vendor_unsafe.toif small 2024-04-12 16:13:52 +02:00
matejcik
867300b8c6 chore(core): include T3T1 boardloader / bootloader production keys 2024-04-12 16:13:52 +02:00