Commit Graph

338 Commits

Author SHA1 Message Date
matejcik
c3e6e7a25e style(core): update types to pyright 1.1.404
Majority by volume is resolving the byte types promotion problem, which
pyright stopped ignoring
2025-09-22 23:38:20 +02:00
obrusvit
97c6e1419e chore(tools): bump-version bumps VERSION files
- modify the tool to also work with VERSION files which are not
C-headers. Used e.g. in nordic/trezor/trezor-ble project.

[no changelog]
2025-09-21 21:40:37 +02:00
dependabot[bot]
7bdcb666af build(deps): bump pillow in /tools/automatic_battery_tester
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.2.1 to 11.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.2.1...11.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 11.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 16:38:26 +02:00
matejcik
87f5f12d64 style: update to black 25 style, silence new flake8 warnings
[no changelog]
2025-09-08 16:27:44 +02:00
matejcik
25c30024e2 build(tools): migrate trezor-pylint-plugin to uv 2025-09-08 16:27:44 +02:00
matejcik
85a3463587 chore(python): migrate to pyproject.toml and uv 2025-09-08 16:27:44 +02:00
cepetr
f72e8b0c5d refactor(core): relocate systemview to sys/dbg
[no changelog]
2025-08-28 15:25:56 +02:00
tychovrahe
997a42bf79 feat(nordic): add support for direct test mode
[no changelog]
2025-07-28 13:37:42 +08:00
tychovrahe
ed6b8ecb4d feat(nordic): add radio test
[no changelog]
2025-07-02 16:21:58 +02:00
kopecdav
d21bdb7f12 style(tools/automatic_battery_charger): fix styles + flake8 errors.
[no changelog]
2025-07-02 14:19:11 +02:00
kopecdav
4e6d169dfa feat(tools/automatic_battery_tester): Introduce single_capture.py test script and add temperature analysis script
[no changelog]
2025-07-02 14:19:11 +02:00
kopecdav
6837f3ab5f feat(core): rationalized package imports, reworked/simplify deditec library, purge Czech comments.
[no changelog]
2025-07-02 14:19:11 +02:00
kopecdav
9f74704e89 feat(tools/automatic_battery_tester): introduce automatic battery tester.
[no changelog]
2025-07-02 14:19:11 +02:00
tychovrahe
981ddb046f style: allow python style check in tools
[no changelog]
2025-07-02 10:52:01 +02:00
Roman Zeyde
bad8a845e2 feat(tools): add socat-based helper script to read debug log via TTY
[no changelog]
2025-06-30 18:44:17 +03:00
Lukas Bielesch
545997e872 docs(tools): add prodtest version update
[no changelog]
2025-06-26 13:51:00 +02:00
matejcik
4a3e2728ca feat(core/solana): implement diffable textual representation of supported programs 2025-04-29 14:54:41 +02:00
Martin Milata
8f37578408 ci(nix): update to latest nixpkgs-unstable, rustc
[no changelog]
2025-04-16 17:27:11 +02:00
matejcik
f6be9db382 ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
tychovrahe
8e0e3a1787 refactor(core): complete bootloader refactoring 2025-03-24 14:31:14 +01:00
Roman Zeyde
90d7713592 build(core): fix RUST_PRINT_TYPES_SIZES passing to SConscript.firmware
Use a list to collect RUSTFLAGS, to prevent overwriting them.

Also:
- fix a typo in `SConscript.unix` (it was using `firmware` build directory)
- use keyword arguments for better readability
- reformat Rust library build command string

[no changelog]
2025-03-13 18:18:48 +02:00
Roman Zeyde
11517f46fd feat(tools): add a script for printing Rust stacks' sizes
[no changelog]
2025-03-04 18:22:54 +02:00
kopecdav
bdc8dbffe3 feat(core): Introduce nfc commands in prodtest & update NFC library [no changelog] 2025-02-25 18:29:54 +01:00
Martin Milata
d375db9fc2 fix(tools): changelog.py: stricter model list format 2025-02-19 22:05:32 +01:00
Martin Milata
df61895d07 fix(tools): also bump language JSONs for core 2025-02-19 22:05:32 +01:00
matejcik
8dbd5e06fa fix(tools): better path handling in changelog.py
now it also works with relative paths
2025-02-12 14:26:15 +01:00
tychovrahe
3d4fbcb38b refactor(nordic): rename west to nordic
[no changelog]
2025-02-10 17:22:57 +01:00
tychovrahe
c7e6f2c21b refactor(ble): cleanup of trezor ble code
[no changelog]
2025-02-10 17:22:57 +01:00
tychovrahe
d4ac2650f1 feat(nordic): introduce NCS/zephyr into firmware monorepo
[no changelog]
2025-02-10 17:22:57 +01:00
tomasklim
711c19173c chore(common): add ARB, BASE and OP evm networks 2025-01-28 14:17:46 +01:00
Roman Zeyde
2aca680eda style: add make changelog_style for automatic changelog formatting
Added also to `make style`.

[no changelog]
2025-01-28 12:10:33 +02:00
Roman Zeyde
e9aca68612 docs: make sure changelog fragments end with a period
Also, run `generate-changelog.py` over prodtest changelog.

[no changelog]
2025-01-20 14:54:27 +02:00
Ondřej Vejpustek
0f54f63c99 chore(style): include core/tests python files for style linting
[no changelog]
2024-12-06 16:14:54 +01:00
cepetr
089db2cadf refactor(core): restructure embed folder
[no changelog]
2024-11-18 09:41:02 +01:00
matejcik
8fb41ee290 feat(core): enforce return type annotations 2024-11-12 16:55:17 +01:00
M1nd3r
48b9c8456f chore: add legacy options_pb2 to style.py.exclude
[no changelog]
2024-10-23 22:27:48 +02:00
Ondřej Vejpustek
8bf02cf0a2 style(crypto): format blake and groestl 2024-09-26 13:17:43 +02:00
Ioan Bizău
c82fad68e7 fix: clarify how to break out of build_tx loops
[no changelog]
2024-09-19 10:17:21 +03:00
Martin Milata
d7e1f0faf3 docs(core): changelog for T3B1 2024-09-03 19:22:20 +02:00
matejcik
43677c6afd style(core): add check for utils.INTERNAL_MODEL in (tuple)
The static replacer doesn't understand tuples (it's just a dumb sed,
we'd need to teach it the python ast which is a somewhat bigger project
that would also make the build slower)
so instead we spell out every "utils.INTERNAL_MODEL == xyz" equality
check separately.

If you don't, you don't get static replacement and you're checking at
run-time in every firmware for every device.

This pylint will catch the problem.
2024-08-29 10:56:21 +02:00
Ondřej Vejpustek
aedef2d69d refactor(core/tests): create template for solana
[no changelog]
2024-08-06 13:48:20 +02:00
Martin Milata
8869b16c83 chore: generate-changelog.py adjustments
- add T3T1 to the list of core hardware
- add flag for regenerating model-specific changelogs in case the main
  one is manually edited
- generate headings in the same format as currently used in
  core/CHANGELOG.md
2024-07-12 20:43:26 +00:00
matejcik
8a3133bacc fix(core): include valid staging certificate for T3T1 emulator 2024-06-25 13:35:16 +02:00
Martin Milata
d6186f105f docs(core): changelog for 2.7.1 2024-06-06 14:28:19 +02:00
matejcik
8640b50d81 style(core): upgrade pyright to 1.1.361
[no changelog]
2024-05-07 11:57:10 +02:00
Andrew Kozlik
6e207215e3 feat(crypto): Add Brian Gladman's implementation of GCM. 2024-04-03 10:26:46 +02:00
matejcik
b263dbc109 fix(all): improve Solana template generation 2024-03-26 15:22:32 +01:00
matejcik
1fede16548 fix: update check-bitcoin-only exceptions list 2024-03-08 13:17:12 +01:00
matejcik
f34ad3daf1 fix: correctly detect all altcoin names in check-bitcoin-only
The -d multi-select picks only coins that are available on _all_ models.
Besides, it's more correct to check even for unsupported altcoins.
2024-03-08 13:17:12 +01:00
Martin Milata
a433f8f914 test(core): ignore {0} in bitcoin-only firmware 2024-03-08 11:00:48 +00:00