1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-23 18:49:13 +00:00
Commit Graph

14735 Commits

Author SHA1 Message Date
Roman Zeyde
29b40e4d7c test(core): don't stop tests in case of communication failure
[no changelog]
2025-04-16 12:30:39 +03:00
Roman Zeyde
e3efe00b3a chore: ignore hypothesis artifacts
[no changelog]
2025-04-16 12:30:39 +03:00
Lukas Bielesch
e5401f5544 feat(tests): add missing delizia tests
check shares info in advanced recovery
2025-04-16 00:54:21 +02:00
matejcik
f6be9db382 ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
Roman Zeyde
d50181b7f9 fix(core): check QSTR run-time allocations only for frozen debug builds
[no changelog]
2025-04-15 14:22:47 +03:00
Martin Milata
2a40d91790 refactor(core): convert modtrezorio.ble to rust
[no changelog]
2025-04-15 13:08:37 +02:00
Martin Milata
b35d2f4000 refactor(core/rust): expose RuntimeError
[no changelog]
2025-04-15 13:08:37 +02:00
Martin Milata
1c09490f3b refactor(core/io): add pairing_code to ble_command_data_t
[no changelog]
2025-04-15 13:08:37 +02:00
matejcik
a50e49afa9 chore(core): include T3B1 certificate for the emulator 2025-04-15 12:37:25 +02:00
matejcik
0db727b21b chore(core): include T3W1 certificate for the emulator 2025-04-15 12:37:25 +02:00
Roman Zeyde
9bd81926af feat(core): check for runtime QSTR allocations
[no changelog]
2025-04-14 22:42:16 +03:00
Roman Zeyde
2975a07f1f chore(core): remove unused path definitions from MicroPython emulator
[no changelog]
2025-04-14 22:42:05 +03:00
Roman Zeyde
c2dd63a6bd chore(core): move core/prof into core/src/prof
It would allow interning profiling-related QSTRs in debug emulator builds.

[no changelog]
2025-04-14 22:40:52 +03:00
Roman Zeyde
04f9ada9bc style(core): annotate prof.py
Also, fix a few style lints.

[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
c90b30fbf7 chore(core): intern Monero-related QSTRs
[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
599c17cd29 build(core): refactor qstrdefsport.h generation
Allow excluding debug-related QSTRs.

[no changelog]
2025-04-14 22:39:24 +03:00
Roman Zeyde
6473b3ca48 feat(vendor): update MicroPython to support sorted qstr pools
Requires https://github.com/trezor/micropython/pull/20.

[no changelog]
2025-04-14 21:20:08 +03:00
Roman Zeyde
16289c4ec9 test(core): keep logs in case of emulator failure
[no changelog]
2025-04-14 20:03:41 +03:00
Andrew Kozlik
e80e979fdd docs(core): Document Optiga configuration.
[no changelog]
2025-04-14 17:10:07 +02:00
cepetr
8a636bd9cf fix(core): make mod_trezorio_poll return False only on timeout
[no changelog]
2025-04-14 12:30:52 +02:00
Roman Zeyde
07ad01220c perf(core): remove imports from hot path
[no changelog]
2025-04-10 14:19:34 +03:00
Martin Milata
3c08ce62b3 build(core): default T3W1 to revision C
[no changelog]
2025-04-09 23:44:12 +02:00
cepetr
75f9821cf1 fix(core): improve rgb_led driver deinitialization
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
0b673c2772 fix(core): fix ft6x36 interrupt pin deinitialization
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
ad80d5c1de fix(core): fix tropic driver deinitialization
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
47d1378d28 refactor(core): simplify display driver deinitialization
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
2017c5931e feat(core): optimize pmic power consumption
[no changelog]
2025-04-09 22:10:11 +02:00
cepetr
9537c8a80d feat(core): deinitialize tropic driver before suspending
[no changelog]
2025-04-09 22:10:11 +02:00
Martin Milata
23cc83f3ba refactor(core): ble: expose connection state in micropython
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
fe20466ed7 fix(core): modtrezorio-ble cleanup
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
93f23e6318 feat(core): start BLE advertising on boot
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
c5a4eddfc9 build(core): enable button feature in T3W1 emulator
[no changelog]
2025-04-09 21:25:37 +02:00
Martin Milata
0ecff7182b build(core): allow ble feature in emulator
[no changelog]
2025-04-09 21:25:37 +02:00
Ioan Bizău
40756a0941 fix(core/ui): use "..." ellipsis in "show more" 2025-04-09 15:57:01 +02:00
Martin Milata
828e1868ab docs: fix broken changelog links 2025-04-09 10:11:21 +02:00
Roman Zeyde
893bd1e69b chore(core): remove unused all_modules.py
[no changelog]
2025-04-08 17:48:15 +03:00
Roman Zeyde
1ddba2526b ci(core): increase device tests' timeout
[no changelog]
2025-04-08 16:56:56 +03:00
obrusvit
ad9f85b21d chore(core): remove redundant Error messages
[no changelog]
2025-04-08 15:44:51 +02:00
Roman Zeyde
69ce947d71 test(core): automatically skip altcoin tests 2025-04-08 07:55:14 +03:00
Roman Zeyde
8df465d7e8 build(core): replace all_modules.py by qstrdefsport.h
[no changelog]
2025-04-07 20:19:31 +03:00
Roman Zeyde
879cc69c63 perf(core): intern non-alphanumeric characters
It was found by running `micropython.mem_info()` with the following patch:
```diff
diff --git a/py/gc.c b/py/gc.c
index 604334c95..bff62b754 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -840,6 +840,7 @@ void gc_dump_info(void) {
         (uint)info.total, (uint)info.used, (uint)info.free);
     mp_printf(&mp_plat_print, " No. of 1-blocks: %u, 2-blocks: %u, max blk sz: %u, max free sz: %u\n",
         (uint)info.num_1block, (uint)info.num_2block, (uint)info.max_block, (uint)info.max_free);
+    qstr_dump_data();
 }

 void gc_dump_alloc_table(void) {
```

New QSTR definitions:
```
$ tail -n4 ./core/build/unix/genhdr/qstrdefs.generated.h
QDEF(MP_QSTR__paren_close_, 46476, 1, ")")
QDEF(MP_QSTR__paren_open_, 46477, 1, "(")
QDEF(MP_QSTR__lt_, 46489, 1, "<")
QDEF(MP_QSTR__semicolon_, 46494, 1, ";")
```

[no changelog]
2025-04-07 20:19:31 +03:00
cepetr
b50e201ea5 fix(core): improve simulation of lost TOUCH_START events
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
a6bfe399ff fix(core): ensure touch_get_event does not return zero after TOUCH_START
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
dd2af348dc fix(core): ensure touch_get_state does not return 0
[no changelog]
2025-04-07 17:49:04 +02:00
cepetr
f46bfb4bfe feat(core): fix out-of-range touch coordinates on T3W1
[no changelog]
2025-04-07 17:49:04 +02:00
tychovrahe
f1120d53c2 fix(core/prodtest): provide BLE driver with pairing code when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
tychovrahe
0355ea6dd3 feat(core): send pairing code to NRF when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
tychovrahe
d597b58274 feat(nordic): check pairing code when accepting pairing
[no changelog]
2025-04-07 15:05:57 +02:00
kopecdav
56bad5bd3a feat(core): Update stwlc38 patching cut selection + new stwlc38 FW patch and configs [no changelog] 2025-04-07 13:42:10 +02:00
tychovrahe
3db788d80a fix(core): fix NFC deinitialization
[no changelog]
2025-04-07 13:41:16 +02:00