matejcik
73a28e12f2
fix(core): create protobuf messages correctly
2021-02-10 10:56:52 +01:00
matejcik
0964517fe7
fix(legacy): do not query presence of newly-required protobuf fields
2021-02-10 10:56:52 +01:00
matejcik
14037d0c31
chore: regenerate protobuf classes
2021-02-10 10:56:52 +01:00
matejcik
576d431058
feat(common): set more fields as required ( #1406 )
2021-02-10 10:56:52 +01:00
matejcik
bf562cfd4b
feat(core/misc): enable typing for misc app
2021-02-10 10:56:52 +01:00
matejcik
ccd241fe55
feat(core/cardano): enable typing for Cardano app
2021-02-10 10:56:52 +01:00
Pavol Rusnak
32c37aa9cd
fix(ci): copy nixpkgs.nix to container
2021-02-09 16:47:11 +01:00
Pavol Rusnak
18b51b856b
common/fido: update icons for github, mojeid and slushpool ( #1456 )
2021-02-08 16:51:49 +01:00
Martin Milata
c000a803e4
ci: deterministic order for hw tt btconly testcases
...
It seems some test permutations result in FirmwareError likely caused by
OOM.
2021-02-08 08:46:50 +01:00
Martin Milata
2ecd4eeac2
ci: wait longer for T1 bootup
2021-02-06 16:02:42 +01:00
Martin Milata
6050412ed4
docs: hardware CI test jobs
2021-02-06 11:56:23 +01:00
Pavol Rusnak
48d1a7a880
fix(python): append checksum to descriptors ( #1445 )
2021-02-05 17:46:02 +01:00
Tomas Susanka
421594dfa8
chore(docs/ci): remove outdated notes
2021-02-05 13:21:28 +01:00
Martin Milata
73c600d3f5
ci: also run regular tt tests on hw
...
Break off hardware test tasks into separate file.
2021-02-05 12:58:21 +01:00
Martin Milata
55474bdadd
ci: use custom uhubctl package
...
Simply bumping the nixpkgs unstable version causes python test to fail:
https://gitlab.com/satoshilabs/trezor/trezor-firmware/-/jobs/1008507521
Until that's resolved we can stay on the current nixpkgs version and use
our own copy of the uhubctl nix expression.
2021-02-05 12:58:21 +01:00
Martin Milata
4d5e6e360f
ci: change usb location/ports
2021-02-05 12:58:21 +01:00
Martin Milata
c7b021e59e
ci: hardware: wipe tt before flashing
2021-02-05 12:58:21 +01:00
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