1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-26 18:02:35 +00:00
Commit Graph

15227 Commits

Author SHA1 Message Date
Roman Zeyde
05f951784e fix(core): fix tutorial-related translations 2025-05-19 14:45:30 +03:00
M1nd3r
df28c84e0b chore(storage): rename DEVICE_SECRET and CRED_AUTH_KEY_COUNTER
[no changelog]
2025-05-19 13:33:17 +02:00
M1nd3r
f190830fb7 chore(storage): make device secret and credential key counter persist reset
[no changelog]
2025-05-19 13:33:17 +02:00
tychovrahe
6bdac7614f feat(core): support handling of tropic keys in secret sector
[no changelog]
2025-05-19 11:41:36 +02:00
tychovrahe
9708d329e1 chore(core): introduce basic logical operations on secbool
[no changelog]
2025-05-19 11:41:36 +02:00
matejcik
996f81924f chore(python): move impractical network_from_address_n function out of the ethereum module
this is a backwards incompatible change
2025-05-19 11:14:20 +02:00
matejcik
5c0a84841b refactor(python): update definitions code for new paths 2025-05-19 11:14:20 +02:00
matejcik
9fc0c5d82b docs: improve external definition documentation
and introduce the new URL scheme

[no changelog]
2025-05-19 11:14:20 +02:00
tychovrahe
e4a31ab0e3 feat(core/prodtest): report build version in prodtest intro and version 2025-05-19 09:34:26 +02:00
tychovrahe
13a576c556 feat(core): add bin to hex conversion to Makefile
[no changelog]
2025-05-17 07:03:26 +02:00
tychovrahe
0b7e53e72d fix(core/bootloader): increase c_laoyout_t buffer size
[no changelog]
2025-05-16 14:56:23 +02:00
tychovrahe
048970d059 fix(core/bootloader): fix reboot trezor when called from waiting for host
[no changelog]
2025-05-16 14:56:23 +02:00
Roman Zeyde
2a7f79e023 ci(core): increase minimal coverage threshold to 85% 2025-05-16 13:25:31 +03:00
Roman Zeyde
7ebb00ff55 fix(core): handle DebugLink.input_wait_type when return_empty_state is set
Also, simplify `tests/upgrade_tests/recovery_old.py`.

[no changelog]
2025-05-16 11:57:55 +02:00
Roman Zeyde
717429bedb ci(core): enable coverage report for T3B1
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
d91822938a feat(core): annotate Python code with execution stats
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
846e890327 feat(core): count per-line execution when profiling
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
556e29b068 perf(core): enable MICROPY_ROM_TEXT_COMPRESSION
Also, use `__builtin_strcmp` instead of `strcmp`.

[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
1010be428a chore(core): use MP_ERROR_TEXT() macro for exception messages
[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
3df107c087 fix(vendor): use MP_ERROR_TEXT for mp_map_presize error message
[no changelog]
2025-05-15 09:55:40 +03:00
Martin Milata
2f622df974 chore: update fixtures
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
5ac2660003 refactor(core): don't close tasks when changing language
Since global layout this should no longer be required.
2025-05-14 23:57:03 +02:00
Martin Milata
241fcc0044 feat(core): homescreen streaming
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
846dd3b934 refactor(common/protob): rename TranslationDataRequest to DataChunkRequest
[no changelog]
2025-05-14 23:57:03 +02:00
Roman Zeyde
bd87ebd4b0 chore(core): use -ffreestanding for SOURCE_MOD_CRYPTO and SOURCE_MOD_SECP256K1_ZKP
[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
ca943aeb8b chore(core): don't use main() in core/embed/projects/firmware/main.c
It would allow compile it without `-ffreestanding`.

[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
7cdb0cf244 feat(vendor): update MicroPython to allow excluding line numbers from bytecode
Setting `MICROPY_ENABLE_SOURCE_LINE=0` helps reducing the debug firmware size by ~2%:
```
$ TREZOR_MODEL=T3T1 MICROPY_ENABLE_SOURCE_LINE=0 PYOPT=0 make -C core build_firmware
<snip>
           FLASH:     1,629,456 B      1664 KB     95.63%
```

Before this PR:
```
           FLASH:     1,662,224 B      1664 KB     97.55%
```

[no changelog]
2025-05-13 17:07:37 +03:00
Tomas Susanka
f2cf5d8fa1 chore(docs): update SECURITY.md 2025-05-13 13:57:43 +02:00
Roman Zeyde
78227ed20f perf(core): remove more local imports from Bitcoin signing flow
[no changelog]
2025-05-13 11:58:36 +03:00
Roman Zeyde
c73e098380 ci(core): upload ui-report results concurrently
Also, use `aws s3 cp --recursive` instead of `aws s3 sync` for UI tests'
reports, which are using unique S3 paths (to avoid existence checking).

[no changelog]
2025-05-13 11:57:06 +03:00
Roman Zeyde
c1b0852b90 ci(core): increase S3 upload concurrency for ui-report action
[no changelog]
2025-05-13 11:57:06 +03:00
Roman Zeyde
65c34774a1 ci(core): run click tests in parallel
[no changelog]
2025-05-13 11:57:06 +03:00
Martin Milata
46c53bc30c feat(core): add Capability.NFC to Features 2025-05-13 10:48:13 +02:00
Martin Milata
a04525c6de feat(core): add Capability.BLE to Features 2025-05-13 10:48:13 +02:00
Roman Zeyde
55b1c840fb chore(legacy): remove Binance from protob/Makefile
[no changelog]
2025-05-13 09:20:59 +03:00
Roman Zeyde
3a7850f6a0 chore: remove BNB Beacon Chain support 2025-05-13 09:04:48 +03:00
Ioan Bizău
e5f38baf4e release: sign translations 2025-05-12 09:38:11 +02:00
tychovrahe
a71fe4a66e fix(core): fix nrf start/stop, service listener registration
[no changelog]
2025-05-12 08:59:11 +02:00
tychovrahe
e641fb1c25 fix(core): fix sysevents polling deadlines
[no changelog]
2025-05-12 08:58:58 +02:00
tychovrahe
d6220d72a5 fix(core/bootloader): fix null ios handling in host control
[no changelog]
2025-05-12 08:58:46 +02:00
tychovrahe
597b888963 fix(core): fix VCP polling
[no changelog]
2025-05-12 08:58:35 +02:00
cepetr
e17ec25e77 fix(core): fix backup ram address in non-secure mode
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
b9bb71a243 refactor(core): prepare board_capabilities for secmon api
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
0f0c28404b fix(core): fix exc_return codes for non-secure world
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
9df360785e fix(core): fix incorrect constants use
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
1415c40e80 chore(core): remove unnecessary definitions
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
bf65a97306 fix(core): fix typo in Makefile
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
9fb71f8f81 fix(core): disable MSPLIM before entering next boot stage
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
adf9872988 refactor(core): prevent incomplete mpu driver build
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
8a9de0ebec feat(core): add applet feature to SConscript
[no changelog]
2025-05-12 07:57:46 +02:00