1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

11489 Commits

Author SHA1 Message Date
matejcik
2aa427a6e3 feat(core/rust): make Rust buildable without Micropython
Features `micropython` and `protobuf` are defined. Protobuf implies micropython
because our protobuf impl is pretty much _for_ micropython.

The respective subdirs are included only if the matching feature is defined.

util.rs is moved to micropython because it mostly concerns micropython interop

ResultExt, useful only for ui_debug, is moved to ui::util.

A new module `trezorhal::time` is provided. It mirrors functionality of
`micropython::time` via stmlib functions.  The intended use is to always use
functions from `trezorhal::time`. The right micropython variants are used when
micropython is available, otherwise the pure stmlib versions are called.

ui::*::layout is conditional for micropython feature, because it only concerns
micropython layouts. If we want to reuse layouts defined there, we will need to
export them to not depend on Objs and Qstrs etc.
2022-06-16 13:08:07 +02:00
mcudev
7d37109eb8 common/defs/fido: add cloudflare 2022-06-14 15:12:51 +02:00
matejcik
37d5597965 feat(core/rust): direct write to display memory for better performance on TT hardware 2022-06-14 15:09:03 +02:00
matejcik
57b12c2807 feat(core): expose display pixeldata accessors from C 2022-06-14 15:09:03 +02:00
tychovrahe
61482d0795 feat(core/rust): expose raw pixel access to rust 2022-06-14 15:09:03 +02:00
Ondrej Mikle
7b7318c3aa feat(core/boardloader): add fixed-address boardloader capablities field 2022-06-13 18:18:25 +02:00
Jan Pochyla
c3b82fd651 feat(core/rust): add trezorhal bindings 2022-06-08 14:42:04 +02:00
Dusan Klinec
1e9acf10fa fix(xmr): remove inv8 optimization as in xmr master 2022-06-08 08:59:34 +02:00
dependabot[bot]
cc795407d0 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust/fuzz
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 12:20:02 +02:00
dependabot[bot]
3c31d24f50 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 11:18:41 +02:00
Andrew Kozlik
c293d2f9eb fix(tests): Fix Zcash v5 version group ID and branch ID in device test. 2022-06-06 17:03:15 +02:00
Pavol Rusnak
dff5bdced0
chore(common): add Consensus Branch ID for Zcash Testnet NU5
[no changelog]
2022-06-02 12:31:43 +02:00
Pavol Rusnak
17963a2837 fix(legacy): refactor oledInvertPixel
to not use static bool variable, but ifdef constant

[no changelog]
2022-06-02 10:50:40 +02:00
Martin Novak
2663801108 perf(firmware): do not initialize touch controller in firmware 2022-06-02 10:30:53 +02:00
matejcik
c77066065e chore(core/rust): bump cty to 0.2.2
this fixes signedness of char on Mac M1
2022-06-01 16:35:33 +02:00
matejcik
38a36a131f chore: rename BIP39_WORDS to BIP39_WORD_COUNT 2022-06-01 16:35:33 +02:00
matejcik
dfa4b1d9a1 build: add bip39_english.o where appropriate
[no changelog]
2022-06-01 16:35:33 +02:00
matejcik
6319a5a9d0 feat(core/rust): BIP-39 wordlist operations in Rust 2022-06-01 16:35:33 +02:00
matejcik
61adb0a62b feat(crypto): expose BIP39 wordlist 2022-06-01 16:35:33 +02:00
matejcik
e98464d2c8 build(crypto): make clang version cross-platform compatible 2022-06-01 16:35:33 +02:00
Pavol Rusnak
59f78d06b1 chore(common/defs/fido): add kraken
[no changelog]
2022-06-01 14:52:15 +02:00
matejcik
d3f24f6e17 feat(core): provisionally gate RebootToBootloader under experimental features 2022-06-01 14:50:59 +02:00
matejcik
e66ed079b0 feat(core): show confirmation dialog before rebooting 2022-06-01 14:50:59 +02:00
Ondrej Mikle
60db3e3e52 fix(core/bootloader): do not wait for touch if we know we are staying in bootloader 2022-06-01 14:50:59 +02:00
Ondrej Mikle
49462dc283 chore(core/bootloader): bump over unreleased version 2022-06-01 14:50:59 +02:00
Ondrej Mikle
c563c987e1 feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline 2022-06-01 14:50:59 +02:00
Simon Males
61a0d69baa chore(docs): Hint on finding your tty. 2022-06-01 14:42:36 +02:00
Pavol Rusnak
ea35f46f5f
chore(common): add Consensus Branch ID for Zcash NU5
[no changelog]
2022-05-30 16:14:03 +02:00
grdddj
82622adf6f fix(tools): modify type-hints to be compatible with older python versions 2022-05-30 14:41:32 +02:00
grdddj
9ca9720f22 feat(tests): add test for supporting older python versions 2022-05-30 14:41:32 +02:00
Pavol Rusnak
6589f020c6 fix(legacy,core): use sat/vB only for segwit and sat/B otherwise
[no changelog]
2022-05-30 10:51:47 +02:00
Martin Novak
a69e43d1a6 chore(tests): tests recording also generates "results web page" 2022-05-30 09:52:42 +02:00
Martin Milata
0388268b57 fix(tests): skip arm binaries during upgrade tests 2022-05-26 19:20:03 +02:00
vdovhanych
056d4c7c77 ci: fix emulators deploy 2022-05-26 19:13:18 +02:00
Pavol Rusnak
810b34f579 fix(legacy): update sector argument to match flash_erase_sector size 2022-05-26 17:18:20 +02:00
grdddj
9261f2ffce feat(common): add wallet info to cointool dump 2022-05-26 12:18:40 +02:00
grdddj
08f463e5e8 chore(common): small improvements to cointool dump 2022-05-26 12:18:40 +02:00
grdddj
519f79f9eb chore(common): add type hints to some coin tools scripts
Type-checking tools are still complaining at some places about inconsistencies.
It would be too much effort to make them completely happy.
2022-05-26 12:18:40 +02:00
grdddj
5671bd037b chore(core): add type hints to emu.py 2022-05-25 16:12:47 +02:00
Martin Novak
85f0d3a741 feat(core,legacy): show fee rate when signing transaction 2022-05-25 14:43:45 +02:00
Martin Milata
1e0fa3428c ci: fix UI master diff 2022-05-25 10:35:22 +02:00
David Misiak
a1eaa465aa chore(cardano): remove legacy types 2022-05-23 11:08:52 +02:00
vdovhanych
fa2b161d6a ci: update arm jobs to run on tags and use the official nix image 2022-05-21 17:25:31 +02:00
Ondřej Vejpustek
a198b390ff fix(legacy,core): fix size of secp256k1-zkp context
[no changelog]
2022-05-20 17:29:07 +02:00
grdddj
14a0bc13ce chore(docs): mention that .mako files are rendered by make templates
[no changelog]
2022-05-19 14:09:16 +02:00
grdddj
6dc4426151 feat(ui): setup homescreen and label for model R
[no changelog]
2022-05-19 14:09:16 +02:00
Martin Milata
c5f1bec474 Merge branch 'release/22.05' 2022-05-18 12:43:53 +02:00
matejcik
187ca8ad50 feat(core/rust): List::from_iter
[no changelog]
2022-05-17 15:56:26 +02:00
matejcik
b3b3e0efa4 tests(core/rust): ability to set up MicroPython env for testing
warning: super hacky!
[no changelog]
2022-05-17 15:56:26 +02:00
Ondřej Vejpustek
bdfc453245 refactor(crypto): remove code that is duplicated in secp256k1-zkp submodule 2022-05-16 16:23:18 +02:00