cepetr
452e63c4fb
feat(core): add display feature to SConscript
...
[no changelog]
2025-05-12 07:57:46 +02:00
cepetr
daa6ea25fb
feat(core): add powerctl feature to SConscript
...
[no changelog]
2025-05-12 07:57:46 +02:00
Roman Zeyde
bff1ba454b
fix(core): clear loop.this_task
before restart
...
[no changelog]
2025-05-10 11:19:51 +03:00
Roman Zeyde
1f8ebc3562
fix(core): use bool
for _ignore_loader_messages
...
Since `trezor.pin` is persisted across sessions, it should use constant-size globals.
[no changelog]
2025-05-10 10:28:23 +03:00
tychovrahe
42c4cf5190
feat(nordic): reserve flash space for manufacturing data
...
[no changelog]
2025-05-07 19:13:50 +02:00
tychovrahe
f6e39a8420
fix(nordic): fix flash partitioning
...
[no changelog]
2025-05-07 19:13:50 +02:00
tychovrahe
6939c4385e
chore(nordic): remove support for devkit 1 board
...
[no changelog]
2025-05-07 19:13:50 +02:00
Roman Zeyde
c857b61208
ci(core): update hardware CI tests
...
Tested on T2T1:
```
$ pytest -v tests/device_tests/ -k lots --durations 0
...
==================================================================== slowest durations ====================================================================
309.73s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
61.37s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
5.73s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
5.03s call tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
4.10s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
4.09s setup tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
...
===================================================== 3 passed, 1588 deselected in 390.63s (0:06:30) ======================================================
```
```
$ pytest -v tests/device_tests/ -k recovery --durations 0
...
==================================================================== slowest durations ====================================================================
191.90s call tests/device_tests/reset_recovery/test_reset_recovery_slip39_advanced.py::test_reset_recovery
116.65s call tests/device_tests/reset_recovery/test_reset_recovery_slip39_basic.py::test_reset_recovery
24.95s call tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_manual[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
24.74s call tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_msg[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
23.49s call tests/device_tests/reset_recovery/test_reset_slip39_advanced.py::test_reset_device_slip39_advanced
18.58s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_dryrun
17.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_noabort
16.74s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_extra_share_entered
14.05s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares0-c2d2e26ad06023c60145f150abe2dd2b]
13.84s call tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_entropy_check
13.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares0-c2d2e26ad06023c60145f150abe2dd2b]
12.74s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_invalid_seed_dryrun
9.42s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
9.13s call tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
8.48s call tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_device_slip39_basic_256
7.91s call tests/device_tests/reset_recovery/test_reset_recovery_bip39.py::test_reset_recovery
7.68s call tests/device_tests/reset_recovery/test_recovery_slip39_basic.py::test_noabort
...
========================================= 61 passed, 15 skipped, 1515 deselected, 1 warning in 885.84s (0:14:45) ==========================================
```
[no changelog]
2025-05-07 20:08:37 +03:00
tychovrahe
a15d2f621f
feat(core): increase BLE TX packet size to 244B
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
c319e5fa20
refactor(core/bootloader): streamline initializing & deinitializing communication interfaces in bootloader
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
755cb359bd
feat(core): suspend NRF&BLE driver, with or without connection
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
3f6a82ab67
feat(core): add wake up from suspend on NRF/BLE request
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
4f783c0a45
fix(core/prodtest): fix nrf communication tests
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
a8ed83b0a4
fix(nordic): fix signal names
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
83b5c16766
feat(nordic): turn of uart by default, enable turning it on/off on command
...
[no changelog]
2025-05-07 17:08:40 +02:00
tychovrahe
700f432df7
feat(nordic): change internal communication with NRF to SPI only
...
[no changelog]
2025-05-07 16:36:40 +02:00
tychovrahe
3fe0c90c1c
feat(core): change internal communication with NRF to SPI only
...
[no changelog]
2025-05-07 16:36:40 +02:00
tychovrahe
a9103763ec
fix(nordic): abort pairing when advertising is changed
...
[no changelog]
2025-05-07 16:36:40 +02:00
tychovrahe
54202b9f53
feat(nordic): send busy response when trezor is not listening to BLE messages
...
[no changelog]
2025-05-07 16:08:46 +02:00
tychovrahe
70014e103a
feat(core/bootloader): add power-off item to the bootloader menu
...
[no changelog]
2025-05-07 15:23:46 +02:00
tychovrahe
37687f1815
feat(core): add BLE to bootloader
2025-05-07 14:54:28 +02:00
tychovrahe
8aaf68f39f
feat(core): add BLE pairing complete event
...
[no changelog]
2025-05-07 14:54:28 +02:00
tychovrahe
ba874f2ac7
feat(nordic): add pairing complete/canceled messages
...
[no changelog]
2025-05-07 14:54:28 +02:00
tychovrahe
2aafdd40b4
fix(nordic): fix crashes on disconnect events
...
[no changelog]
2025-05-07 14:54:28 +02:00
Roman Zeyde
5aa5d01c71
perf(core): use lookup tables for untranslated strings
...
Also, simplify `generated/translated_string.rs.mako` a bit.
[no changelog]
2025-05-07 14:15:22 +03:00
Roman Zeyde
2e9dfab8d1
style(core): simplify Rust translation conversions
...
[no changelog]
2025-05-07 12:40:42 +03:00
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
obrusvit
2a65d18200
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
(cherry picked from commit 8ba5b4b6b2
)
2025-05-06 08:45:16 +02:00
Roman Zeyde
5f2cf6b24e
fix(core): update UI fixtures
...
Following #5003 .
[no changelog]
(cherry picked from commit 2882e20e6b
)
2025-05-06 08:42:34 +02:00
Roman Zeyde
ed89a99fa6
fix(core): handle empty 'info_items' in Caesar 'confirm_value'
...
[no changelog]
(cherry picked from commit bf2a588a25
)
2025-05-06 08:41:40 +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