1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 11:58:13 +00:00
Commit Graph

10230 Commits

Author SHA1 Message Date
Martin Milata
ceccf1951a ci: all hw configuration in one place 2021-02-05 12:58:21 +01:00
Martin Milata
4adbb4e8e1 ci: use same pinned nixpkgs for hardware tests 2021-02-05 12:58:21 +01:00
Martin Milata
41bf9201b5 ci: do not rely on TREZOR_PATH, use switch ports instead
As the connected Trezors can be left in various weird states, trezorctl
list may not always return what is expected or even fail. If it failed
TREZOR_PATH was set to empty string which means random device got
selected.

For now let's avoid using incorrect device by powering down the other
usb port.

Fix log lines ordering.
2021-02-05 12:58:21 +01:00
Martin Milata
ed481b5dde ci: hw tests: tweak wait times 2021-02-05 12:58:21 +01:00
Martin Milata
0a75e02392 ci: skip some tests that cause alloc failure
Also increase PYTEST_TIMEOUT so that test_lots_of_inputs has enough time
to pass.
2021-02-05 12:58:21 +01:00
Martin Milata
dedca1bb13 ci: ffmpeg tweaks in hardware tests
Running ffmpeg in a subshell and killing it in exit trap handler should
ensure video availability even when bootstrap or pytest fail.
2021-02-05 12:58:21 +01:00
Tomas Susanka
708a85a916 ci: run btconly firmware on TT in HW tests 2021-02-05 12:58:21 +01:00
Tomas Susanka
61531fbd4a ci: introduce hardware tests for TT 2021-02-05 12:58:21 +01:00
matejcik
ba326865f1 chore: rename deprecated pytest option 2021-02-05 10:44:09 +01:00
matejcik
637ccadcb6 style(core): remove unused type:ignore comment after mypy upgrade 2021-02-05 10:44:09 +01:00
matejcik
a1cd0b0949 fix(tests): update shamir_mnemonic usage 2021-02-05 10:44:09 +01:00
matejcik
00c8080ad8 chore: bump shamir-mnemonic to 0.2.1, regenerate poetry.lock 2021-02-05 10:44:09 +01:00
matejcik
cdf55d2fac tests: get rid of skip_ui (fixes #1409) 2021-02-05 10:44:09 +01:00
Pavol Rusnak
81ae1d0ec0
fix(python): remove extraneous empty line from descriptors output
[skip_ci]
2021-02-03 14:58:30 +01:00
Pavol Rusnak
1d4cff97ec
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "944742aa7"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "944742aa7"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2021-02-02 14:50:35 +01:00
Martin Milata
6be367bf8b build: workaround poetry bug (KeyError)
https://github.com/python-poetry/poetry/issues/3199
2021-01-28 23:03:02 +01:00
Ondrej Mikle
22d01b6ff4 chore(core): bootloader_ci - decouple file links from original bootloader 2021-01-27 23:43:38 +01:00
Rafael Korbas
e4c406822c Add multiasset sending and min validity to Cardano transactions 2021-01-27 18:26:40 +01:00
Pavol Rusnak
c25e5daad2 chore(core): use SYSTEM_VIEW as feature flag, not make flag 2021-01-26 20:53:38 +01:00
Pavol Rusnak
a11cb11ba3 chore(core): rework SYSTEMVIEW_DEST_SYSTEMVIEW
to work with ifdef instead of if
2021-01-26 20:53:38 +01:00
Pavol Rusnak
b9e8a7c999 chore(vendor): bump micropython (add systemview support) 2021-01-26 20:53:38 +01:00
Ondrej Mikle
d99127771c chore(core): reorder includes 2021-01-26 20:53:38 +01:00
Ondrej Mikle
a628b9a92d chore(core): remove unneeded include 2021-01-26 20:53:38 +01:00
Ondrej Mikle
3b0f269e0d build(core): consider systemview disabled by default 2021-01-26 20:53:38 +01:00
Ondrej Mikle
4cf91b128d style(core): systemview editorconfig reformat 2021-01-26 20:53:38 +01:00
Ondrej Mikle
9411756c42 style(core): systemview reformat 2021-01-26 20:53:38 +01:00
Ondrej Mikle
550216354b chore(core): more systematic systemview function definitions 2021-01-26 20:53:38 +01:00
Ondrej Mikle
869cfbbd1c style(core): style for systemview 2021-01-26 20:53:38 +01:00
Ondrej Mikle
0abcb57840 feat(core): place systemview buffers into CCMRAM 2021-01-26 20:53:38 +01:00
Ondrej Mikle
5a4166ea93 feat(core): increase systemview buffers 2021-01-26 20:53:38 +01:00
Ondrej Mikle
f591ce6789 feat(core): update systemview sources to 3.20 2021-01-26 20:53:38 +01:00
Ondrej Mikle
8fa3745838 feat(core): define RTT locking by enabling/disabling interrupts 2021-01-26 20:53:38 +01:00
Ondrej Mikle
ce3a6b649c feat(core): systemview header 2021-01-26 20:53:38 +01:00
Ondrej Mikle
4a692cc63b feat(core): segger dependencies 2021-01-26 20:53:38 +01:00
Ondrej Mikle
5f837e12b9 feat(core): send messaged through systemview 2021-01-26 20:53:38 +01:00
Ondrej Mikle
60e4e06aa5 feat(core): measure systick with systemview 2021-01-26 20:53:38 +01:00
Ondrej Mikle
c5e986b1ba feat(core): enable SystemView at firmware start 2021-01-26 20:53:38 +01:00
Ondrej Mikle
b51ed55ea8 build(core): parameters for SystemView instrumentation 2021-01-26 20:53:38 +01:00
Martin Milata
c293b52bd6 feat(core): bootloader_ci: do not ui_fadein/ui_fadeout 2021-01-26 17:21:16 +01:00
Martin Milata
2643ee2ab8 feat(core): bootloader_ci: wipe device without confirmation 2021-01-26 17:21:16 +01:00
Andrew Kozlik
79fad70b05 fix: Improve wording when showing multisig XPUBS. 2021-01-26 15:09:37 +01:00
Pavol Rusnak
0519d86451
chore(legacy): simplify data2hex 2021-01-22 22:41:11 +01:00
Pavol Rusnak
105f203a1f fix(legacy): fix emulator build on darwin 2021-01-22 22:24:21 +01:00
Pavol Rusnak
250f09245b
ci: drop experimental --platform argument from docker 2021-01-22 16:55:27 +01:00
Tomas Susanka
1006c8a0f1 chore(core,legacy): change versions to 1.9.5 and 2.3.6
This reverts commit 92535dc090.
2021-01-22 15:42:55 +01:00
Tomas Susanka
7b1e1b83b5 docs/tests: animations need to be disabled in ui tests 2021-01-22 15:05:02 +01:00
Rafael Korbas
44c7d23741 Cardano: map account paths to account numbers 2021-01-22 14:45:29 +01:00
Pavol Rusnak
33df274458
docs(core): update changelog
[skip_ci]
2021-01-22 14:30:57 +01:00
Pavol Rusnak
47e701f54c
docs(legacy): update changelog
[skip_ci]
2021-01-22 14:30:50 +01:00
Pavol Rusnak
92535dc090
chore(core,legacy): change versions back to 1.9.4 and 2.3.5
[skip_ci]
2021-01-22 14:23:11 +01:00