1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-27 08:58:28 +00:00
Commit Graph

15645 Commits

Author SHA1 Message Date
Roman Zeyde
8cb425306e test(core): add missing script to main diff report
[no changelog]
2025-07-25 21:54:38 +03:00
obrusvit
059d795ec3 feat(core): implement autodim in app firmware
- similarly to bootloader, firmware sets backlight to LOW (45) after 30s
of inactivity when the device is not connected via USB
- implemented via IdleTimer

[no changelog]
2025-07-25 17:12:47 +02:00
obrusvit
2c6db23014 feat(core): expose power manager for uPy
- new module `trezor.io.pm` is created to expose power manager
functionality
- namely, the module allows `suspend` and `is_usb_connected` calls

[no changelog]
2025-07-25 17:12:47 +02:00
Roman Zeyde
2da88a6a6b test(core): remove extra T3W1 InputFlowPaymentRequestDetails confirmation
[no changelog]
2025-07-24 22:17:33 +03:00
Roman Zeyde
08f375efab test(core): remove extra T3W1 InputFlowSignTxHighFee confirmation
[no changelog]
2025-07-24 22:17:33 +03:00
Lukas Bielesch
f54d037345 refactor(core/eckhart): replace formatted text with paragraph
[no changelog]
2025-07-24 17:01:46 +02:00
Lukas Bielesch
0230fd5ac6 refactor(core): make layout imports relative
[no changelog]
2025-07-24 17:01:46 +02:00
Lukas Bielesch
4caee20d78 refactor(core/eckhart): unify spacing constants
[no changelog]
2025-07-24 17:01:46 +02:00
Lukas Bielesch
1711a563e6 chore(core/eckhart): introduce page limit where applicable
[no changelog]
2025-07-24 17:01:46 +02:00
Lukas Bielesch
a9e7b6abab chore(core/eckhart): add checklist constants
[no changelog]
2025-07-24 17:01:46 +02:00
Martin Milata
fb3004bf95 build(core): drop build-system section from pyproject.toml 2025-07-24 14:43:05 +02:00
Martin Milata
63588ce0e2 build(core): regenerate poetry.lock 2025-07-24 14:43:05 +02:00
Martin Milata
f2173d5276 tests(python): add tests against python 3.12
[no changelog]
2025-07-24 14:43:05 +02:00
Martin Milata
3ca4e9566d fix(tests): headless sanity check 2025-07-24 14:43:05 +02:00
Ioan Bizău
9e4d99bf0d fix(tests): use Python 3.12 for ts-tvl
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2025-07-24 14:43:05 +02:00
Martin Milata
d927d4ca1b build(python): bump tox 2025-07-24 14:43:05 +02:00
matejcik
61876d909c build(core): fix scons conversion of CPPFLAGS to BINDGEN_FLAGS
When `env.ParseConfig` finds a `-DFOO=BAR`, it puts the value in
CPPFLAGS as a `list`. Our code was only ever expecting a `str` or a
`tuple`, breaking the generated bindgen values.
2025-07-24 14:43:05 +02:00
Martin Milata
0a9393ae8c build(core): avoid multiple macro definitions
[no changelog]
2025-07-24 14:43:05 +02:00
Martin Milata
4ff388face ci(nix): bump nixpkgs, update to poetry 2.1 2025-07-24 14:43:05 +02:00
Roman Zeyde
f1b223895c test(core): add Solana signature test case to reproduce #5369 2025-07-24 14:08:54 +03:00
Roman Zeyde
a56b2534d5 fix(core): don't fail in case Solana rent cannot be calculated 2025-07-24 14:08:54 +03:00
Roman Zeyde
6c34aa377f refactor(core): don't calculate Solana fee for unsupported instructions
[no changelog]
2025-07-24 14:08:54 +03:00
Roman Zeyde
7a2900c3ae chore(core): fix return type of handle_Cancel
[no changelog]
2025-07-24 13:30:23 +03:00
kopecdav
2dd30b89f7 feat(core): add battery reincarnation into pm charging controller
[no changelog]
2025-07-23 11:33:38 +02:00
Lukas Bielesch
42f27aa7fb feat(core/tools): add json style check
[no changelog]
2025-07-23 11:09:05 +02:00
tychovrahe
0eb4bc4be2 fix(core/prodtest): make secrets-init calling repeatable
[no changelog]
2025-07-23 10:39:46 +02:00
tychovrahe
c1ff378512 fix(core): fix secmon production build
[no changelog]
2025-07-23 10:17:40 +02:00
obrusvit
2704070934 feat(eckhart): adjust bld install flow & progress
- "Restarting in X" shown in the footer area without progress
- allow different color in `show_progress`
- show "Wait" in the footer area in `show_progress`
- also fix RSOD header color
- temporarily put smaller QR code again

[no changelog]
2025-07-23 10:16:21 +02:00
tychovrahe
c5410226cf chore(core): update T3W1 nrf binaries
[no changelog]
2025-07-22 17:31:18 +02:00
Ioan Bizău
c583a6deb7 chore(tests): update fixtures
[no changelog]
2025-07-22 16:48:07 +02:00
Ioan Bizău
86d4c4a8d8 fix(tests): better test coverage for ETH swaps
[no changelog]
2025-07-22 16:48:07 +02:00
Ioan Bizău
7dc6860855 feat(eckhart): payment requests for ETH 2025-07-22 16:48:07 +02:00
Ioan Bizău
5cd4c75e81 feat(eckhart): implement confirm_trade
[no changelog]
2025-07-22 16:48:07 +02:00
obrusvit
3e66f208f3 feat(core): adjust bootloader suspend and dim time
[no changelog]
2025-07-22 14:46:30 +02:00
tychovrahe
827a261148 fix(nordic): add version file to radio_test
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
fbee0ffb3e chore(core/nordic): specify ncs sdk version by commit hash
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
26a0ff850e chore(nordic): improve building instructions
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
fb28c2a0d8 feat(nordic): use stricter FIH settings in mcuboot
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
165e75bbb7 chore(nordic): debug/prod configuration
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
19752f781a feat(nordic): implement multisig fw signatures
[no changelog]
2025-07-22 14:04:28 +02:00
tychovrahe
1c2ecfa7e8 fix(core/boardloader): preserve boot command when resetting in boardloader
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
f318a5132f feat(core): use IWDG on T3W1
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
ca3a982b13 feat(core): start iwdg in bootloader
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
3b9be7baec feat(core): add allow unlimited run vendorheader flag
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
f898dc1232 feat(core/prodtest): add secmon header to prodtest (when needed)
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
918cae17eb chore(core): use precompiled and pre-signed secmon for unsafe FW
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
98c5bb7686 chore(core): add special prodtest vendorheader for DEV bootloaders
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
4a60d2040d chore(core): update vendorheader files and generate changed vendorheaders
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
4cd28ef643 fix(core): improve manufacturing mode detection by respecting vendorheader flag
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
8795cbcf5c feat(core): verify secmon signature in bootloader
[no changelog]
2025-07-22 14:04:09 +02:00