1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-14 21:08:46 +00:00
Commit Graph

14837 Commits

Author SHA1 Message Date
Roman Zeyde
7661c13a22 feat(vendor): reimplement utils.presize_module() in C
[no changelog]
2025-05-07 12:18:52 +03:00
Roman Zeyde
ffea765a85 fix(core): disable check_free_heap also in debug firmware
Currently, it may misdetect on-heap buffers' data as valid heap
pointers (resulting in `gc_mark_subtree` false-positives).

[no changelog]
2025-05-07 10:37:38 +03:00
cepetr
010c5adf89 refactor(core): remove firmware_calc_hash callback
[no changelog]
2025-05-06 16:33:36 +02:00
obrusvit
4005e136e0 feat(emu): add LED capability to emulator
[no changelog]
2025-05-06 15:47:04 +02:00
tychovrahe
50411367af refactor(core): unify button polling functionality
[no changelog]
2025-05-06 12:57:39 +02:00
tychovrahe
6860c4be0a refactor(core): unify touch polling functionality
[no changelog]
2025-05-06 12:57:39 +02:00
Martin Milata
5306421964 ci(nix): bump arm-embedded-gcc to version 13 2025-05-06 12:23:31 +02:00
Roman Zeyde
749c0bc8b2 chore(core): use systick_us for mp_hal_ticks_us
[no changelog]
2025-05-06 09:37:17 +03:00
Roman Zeyde
2882e20e6b fix(core): update UI fixtures
Following #5003.

[no changelog]
2025-05-05 21:31:07 +03:00
Roman Zeyde
74f6f11dbf fix(python): fix trezorctl firmware update device restarts' handling 2025-05-05 20:10:56 +03:00
Martin Milata
8a0cf0e29a build(core): remove LD_LIBRARY_PATH workaround from Makefile
Normal CI workflows seem to work fine with it and it broke
`make upload` on some setups.

[no changelog]
2025-05-05 18:14:03 +02:00
Roman Zeyde
49d25cbe6f fix(vendor): don't access GitHub artifacts from cflite.yml job
[no changelog]
2025-05-05 18:42:43 +03:00
Roman Zeyde
a3715fcbc9 ci(vendor): vendor google/clusterfuzzlite/actions/run_fuzzers@v1
[no changelog]
2025-05-05 18:42:43 +03:00
obrusvit
8ba5b4b6b2 fix(core): fix Delizia request_number dialog
- NumberInputDialog now reacts to tap to continue
- change the types there to u16 to be consistent with NumberInputSlider
2025-05-05 14:58:36 +02:00
Roman Zeyde
bf2a588a25 fix(core): handle empty 'info_items' in Caesar 'confirm_value'
[no changelog]
2025-05-05 15:31:11 +03:00
Roman Zeyde
53225569c8 fix(tools): use tio --no-reconnect instead of --no-autoconnect
It was renamed in https://github.com/tio/tio/releases/tag/v3.0.

[no changelog]
2025-05-02 17:18:09 +03:00
Roman Zeyde
d3df16e84e fix(core): propagate exceptions via unimport.__exit__
[no changelog]
2025-05-02 10:45:55 +03:00
tychovrahe
c6dedea7b3 chore(core/prodtest): improve CLI parameter documentation
[no changelog]
2025-05-01 19:53:00 +02:00
tychovrahe
e9b47d1116 chore(core/prodtest): fix time units in readme for NFC commands
[no changelog]
2025-05-01 19:53:00 +02:00
tychovrahe
a22563c01a chore(core/prodtest): fix typos in prodtest
[no changelog]
2025-05-01 19:53:00 +02:00
tychovrahe
3a9315cc58 feat(core/prodtest): allow infinite testing of NFC functionalities
[no changelog]
2025-05-01 19:53:00 +02:00
Ioan Bizău
d579d87948 chore(legacy): bump version to 1.13.2
[no changelog]
2025-05-01 08:53:26 +02:00
Ioan Bizău
8ad1069166 chore(core): bump version to 2.8.11
[no changelog]
2025-05-01 08:53:26 +02:00
kopecdav
aa16fa71d6 fix(core): remove backup ram deinit outside of FIXED_HW_DEINIT
[no changelog]
2025-04-30 15:18:02 +02:00
kopecdav
ab8aeaa102 fix(core): let LDO selection to sattle before BREN bit is being set [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
c9984fabb2 fix(core): fix backup ram prodtest argument parsing
[no changelog]
2025-04-30 15:18:02 +02:00
kopecdav
ae02677ca2 feat(core): add backup ram global initialization in bootloader, prodtest and kernel
[no changelog]
2025-04-30 15:18:02 +02:00
kopecdav
dec252df77 fix(core): Enable Backup SRAM in VBAT mode [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
dba76ea3e8 feat(core): Add backup ram driver to T3W1 rev A and B [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
bece935d67 refactor(core): Remove backup ram section from linker [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
eea75534e5 fix(core): Remove initialized check from backup ram erase function [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
5ae5d97328 feat(core): Add backup_ram header, version and consistency checks + minor refactor [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
7f27730b5d feat(core): Add backup driver prodtest [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
edd72eeaa0 feat(core): Introduce backup_ram driver [no changelog] 2025-04-30 15:18:02 +02:00
kopecdav
bfd78c8d6e feat(core): Update fuel gauge charging mode + Update battery model to separate battery data in standalone header file. [no changelog] 2025-04-30 12:55:49 +02:00
kopecdav
3b407e8dc8 feat(core): Add fuel_gauge prodtest [no changelog] 2025-04-30 12:55:49 +02:00
kopecdav
76cffbc5c6 feat(core): Introduce fuel gauge library [no changelog] 2025-04-30 12:55:49 +02:00
DaniPopes
07c16858d4 chore(rust/trezor-client): bump dependencies
Fixes https://github.com/advisories/GHSA-2gh3-rmm4-6rq5 and a few warnings.

Signed-off-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2025-04-29 23:52:44 +02:00
Roman Zeyde
0729da9ccf fix(legacy): use GWei when ETH amount is between 1e6 and 1e12 2025-04-29 17:25:06 +02:00
Ioan Bizău
38f51f40b2 chore(core/ui): use better font on Delizia properties
[no changelog]
2025-04-29 16:09:28 +02:00
Martin Milata
215c4d32d9 build: build-docker.sh: ignore dubious ownership
[no changelog]
2025-04-29 15:18:00 +02:00
matejcik
dea1cf2bf8 chore: update fixtures for translations 2025-04-29 14:54:41 +02:00
matejcik
8b365aadbb docs: fix Solana definitions doc 2025-04-29 14:54:41 +02:00
matejcik
279d59c698 build(common): allow messages-definitions.proto for protob check 2025-04-29 14:54:41 +02:00
matejcik
4422a80f34 build(legacy): fix legacy build
[no changelog]
2025-04-29 14:54:41 +02:00
matejcik
17990e1c80 style: fix linter complaints 2025-04-29 14:54:41 +02:00
matejcik
ff1c9b9f9a tests(core): run make test headless
don't spam the emulator window ^_^
2025-04-29 14:54:41 +02:00
matejcik
f10588b2b6 tests(core): split up definition unit tests and add Solana cross-parseability check 2025-04-29 14:54:41 +02:00
matejcik
c21cc2034b fix(core/protobuf): properly fail on wire type mismatch
otherwise we'd happily mis-parse a length-delimited field as a varint
one, accepting the length as the varint value and consuming garbage from
the length-delimited data for the next fields
2025-04-29 14:54:41 +02:00
matejcik
3e9b29cd67 fix(tests): update test string for invalid definitions
[no changelog]
2025-04-29 14:54:41 +02:00