325 Commits

Author SHA1 Message Date
M1nd3r
b730960957 chore(vendor): update libtropic to v3.1.0
Release: https://github.com/tropicsquare/libtropic/releases/tag/v3.1.0

[no changelog]
2026-02-03 15:30:03 +01:00
matejcik
6e3018509b refactor(python): rework session-based API
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]
2026-02-03 14:47:31 +01:00
Ioan Bizău
6d8bab7a6d chore: update fido2-tests reference
[no changelog]
2026-01-14 09:56:42 +02:00
M1nd3r
393c68bf15 chore(vendor): update ts-tvl to version 2.3 2026-01-02 19:10:13 +01:00
M1nd3r
f5ff0616cd chore(vendor): update libtropic to 3.0.0
[no changelog]
2026-01-02 19:10:13 +01:00
M1nd3r
67bd342c74 chore(vendor): update libtropic to 1.0.0
[no changelog]
2025-09-25 14:40:34 +02:00
Roman Zeyde
b5d9ecde18 feat(vendor): disable traceback allocation in PYOPT=1 builds 2025-09-14 06:41:40 +03:00
Roman Zeyde
9491ab65dc chore(crypto): update secp256k1 submodule to 0.7.0
[no changelog]
2025-09-10 14:50:57 +03:00
Andrew Kozlik
ba51fa46d3 feat(core): Use ML-DSA-44 for MCU device attestation key.
[no changelog]
2025-09-02 19:12:27 +02:00
Ondřej Vejpustek
68ecf16195 chore(core): update ts-tvl to 2.2
[no changelog]
2025-08-19 17:27:33 +02:00
tychovrahe
c1b769af70 chore(core): update libtropic
[no changelog]
2025-08-18 15:06:47 +02:00
Lukas Bielesch
65b753df89 chore(tests): make go to menu item an action 2025-08-15 12:57:23 +02:00
M1nd3r
2f0e5905aa test: adjust fido test to THP 2025-07-31 20:29:05 +02:00
M1nd3r
7088d1ec01 feat(code): add sphincsplus submodule
[no changelog]
2025-07-29 11:37:47 +02:00
Roman Zeyde
30840d7cbf perf(core): rewrite trezor.log and trezor.wire_log in Rust
Requires https://github.com/trezor/micropython/pull/26.

[no changelog]
2025-06-11 10:26:09 +03:00
obrusvit
0cd64d6a08 fix(core): fix Caesar PinEntry to use Title
- Title component uses Marquee internally which scrolls longer prompt
texts
- this fixes e.g. czech translations not fitting the screen
2025-05-26 01:32:55 +02: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
Roman Zeyde
7661c13a22 feat(vendor): reimplement utils.presize_module() in C
[no changelog]
2025-05-07 12:18:52 +03:00
Martin Milata
e81617e1c6 build(core): fix build for GCC14
[no changelog]
2025-04-16 17:27:11 +02: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
matejcik
7e64fddaee chore: bump libtropic submodule to current version
this gets rid of a very deep tree of submodules, ending with the rather
insane STM32Cube repository
2025-04-04 10:26:22 +02:00
Roman Zeyde
6aaabd4126 fix(vendor): update MicroPython to resolve GC false-positive
See https://github.com/trezor/micropython/pull/18.

[no changelog]
2025-04-03 12:46:41 +03:00
Roman Zeyde
63a17ea0f9 chore(core): exclude all_modules.py bytecode from frozen_mpy.c
See `all_modules.py.mako` for more details.

[no changelog]
2025-03-27 10:22:44 +02:00
Roman Zeyde
18c5927695 chore(vendor): update micropython to allow __main__ presizing
Following https://github.com/trezor/micropython/pull/15.

[no changelog]
2025-03-27 10:08:34 +02:00
Roman Zeyde
2333a6a262 feat(core): log GC info in case of OOM
Enabled on debug firmware and non-frozen emulator.

[no changelog]
2025-03-17 20:17:42 +02:00
Ioan Bizău
4c699d6066 chore(core): add TROPIC01 model as a submodule
[no changelog]
2025-03-13 15:08:48 +01:00
Ioan Bizău
f385d20b84 chore(core): update libtropic
[no changelog]
2025-03-13 15:08:48 +01:00
tychovrahe
32bf5d82ff feat(core/prodtest): add tropic01 HAL integration and basic production tests
[no changelog]
2025-02-26 08:53:16 +01:00
obrusvit
00740b560c refactor(core): consistent naming of UI layouts
- follow-up on 862c987779
- layout_bolt stays the same
- layout_samson -> layout_caesar
- layout_quicksilver -> layout_delizia
- use super for importing rust modules in layout code

[no changelog]
2025-01-20 12:29:24 +01:00
obrusvit
862c987779 refactor(core): consistent naming of UI layouts
- UI layouts name changes:
  - model_tt -> layout_bolt
  - model_tr -> layout_samson
  - model_mercury -> layout_quicksilver
- rust features `model_xyz` freed for different use, now it's
`layout_xyz`
- input_flow function names are based on UI layout and not internal
model name (i.e. quicksilver instead of t3t1)
- directory names and commentary changed accordingly

[no changelog]
2025-01-09 22:57:14 +01:00
matejcik
17f3e9b1bf chore: update FIDO2 test helpers 2024-11-12 16:55:17 +01:00
Martin Milata
cc77425f39 test(core): fix T2T1 FIDO2 test
Submodule update only.

[no changelog]
2024-11-12 16:55:17 +01:00
Martin Milata
6ec9937ead chore(vendor): update vendor/fido2-tests
[no chagelog]
2024-09-02 19:36:25 +02:00
Ondřej Vejpustek
eaa12f1cad chore(crypto): update secp256k1 submodule to 0.5.1
[no changelog]
2024-08-23 17:00:52 +02:00
matejcik
d82d5a1fe5 build(core): fix build for GCC13
we need to cherry-pick two commits into the micropython submodule, and
adapt one of the fixes
2024-07-09 14:14:13 +02:00
cepetr
5d8a7ac5bf feat(core): introduce new drawing library
[no changelog]
2024-05-17 09:17:37 +02:00
tychovrahe
1ea7ca4149 chore(core): change STM32Cube submodule to separate hal driver and cmsis submodules.
[no changelog]
2024-02-29 23:05:56 +01:00
cepetr
937b7d34d0 feat(core): add STM32CubeU5 submodule
[no changelog]
2024-02-29 23:05:56 +01:00
obrusvit
2f77434677 feat(core): device-tests of staking chunkify 2024-02-23 18:09:43 +01:00
obrusvit
ebcf3e2db2 feat(core): confirm ETH stake, unstake, claim 2024-02-23 18:09:43 +01:00
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
Martin Milata
e7c2800798 build: fix compilation on darwin
[no changelog]
2023-05-10 20:59:00 +02:00
tychovrahe
6fe25eb305 chore(vendor): optimize uzlib (via micropython)
relevant commit:
a973bbca756ca0c9219deefea2873d3cc774839d Uzlib: partially optimize decompression for speed

[no changelog]
2023-04-26 14:14:48 +02:00
Martin Milata
3fb3f108cc chore(vendor): bump micropython to 1.19.1
Relevant micropython commits:
  01374d941f9d7398e35990b574769b20c6779457 py/mpconfig.h: Define initial templates for "feature levels".
  7b89ad8dbf432ab51eea6d138e179bf51394c786 py/vm: Add a fast path for LOAD_ATTR on instance types.
  68219a295c75457c096ac42dbe8411b84e1e1a51 stm32: Enable LOAD_ATTR fast path, and map lookup caching on >M0.
  e0bf4611c3a8b23b3c52e6a7804aac341ac3a87d py: Only search frozen modules when '.frozen' is found in sys.path.
  f2040bfc7ee033e48acef9f289790f3b4e6b74e5 py: Rework bytecode and .mpy file format to be mostly static data.
  926b554dafffa1e9bd80aa12fea5c621221c9d79 extmod/moduos: Create general uos module to be used by all ports.
  2b409ef8a46015f8f3bd20bc44e644637dbe9bd3 unix/moduos: Convert module to use extmod version.
  47f634300c5572571816817f16836113c98814ae py: Change makemoduledefs process so it uses output of qstr extraction.
  0e7bfc88c6ac6b5d64240f91183a3cfe2ab67ade all: Use mp_obj_malloc everywhere it's applicable.
  2a6ba47110be88ff1e1f5abd1bd76c353447884c py/obj: Add static safety checks to mp_obj_is_type().
2023-04-21 13:14:07 +02:00
Pavol Rusnak
056ac9d70a chore(vendor): update secp256k1-zkp to v0.3.1 2023-04-14 13:34:14 +02:00
Pavol Rusnak
67f3af619a chore(vendor): replace secp256k1-zkp with secp256k1 (v0.3.0)
We don't use any ZKP features at the moment, so we might as well switch
to upstream secp256k1 which does stable releases now.

I am keeping the original submodule name and "zkp" in all integrations,
because it seemed kind of pointless to try to rename/refactor everything,
especially when we might want to switch back to secp256k1-zkp in the future.
2023-03-14 15:37:12 +01:00
Martin Milata
4622aec0f1 refactor(core): switch to Rust implementation of QR-Code-generator
[no changelog]
2023-03-09 23:36:36 +01:00
matejcik
52f0c70b95 chore: bump fido2 submodule (to get INTERACT support) 2022-11-24 13:03:34 +01:00
Ondřej Vejpustek
db0da196a8 chore(vendor): update secp256k1-zkp to latest 2022-05-16 16:23:18 +02:00
Martin Milata
a01516389a chore(vendor): update QR-code-generator 2021-11-05 14:09:11 +01:00