1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-19 14:30:31 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Martin Milata
3213557f72 ci: check model before flashing 2021-02-20 21:55:36 +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
Tomas Susanka
61531fbd4a ci: introduce hardware tests for TT 2021-02-05 12:58:21 +01:00
Marek Mahut
4264e87319 ci: add hardware tests for T1
This enables to run device tests against an actual device connected to
our CI. It uses https://github.com/mmahut/tpmb to enter bootloader and
then it uploads a debug firmware to the device. The debug mode is the
used to "click" the buttons but we might improve this and actually use
the hardware buttons instead.
2020-04-10 11:23:07 +02:00