mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
Profiles for pipe transport / USB hid
This commit is contained in:
parent
851fa37a0a
commit
42419a129a
@ -5,17 +5,22 @@ from trezorlib.transport_pipe import PipeTransport
|
|||||||
from trezorlib.transport_hid import HidTransport
|
from trezorlib.transport_hid import HidTransport
|
||||||
from trezorlib.transport_socket import SocketTransportClient
|
from trezorlib.transport_socket import SocketTransportClient
|
||||||
|
|
||||||
TRANSPORT = PipeTransport
|
use_pipe = True
|
||||||
TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor', False)
|
if use_pipe:
|
||||||
|
|
||||||
#TRANSPORT = HidTransport
|
TRANSPORT = PipeTransport
|
||||||
#TRANSPORT_ARGS = ('0x10c4:0xea80:000868D3', False)
|
TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor', False)
|
||||||
|
|
||||||
#TRANSPORT = SocketTransportClient
|
DEBUG_TRANSPORT = PipeTransport
|
||||||
#TRANSPORT_ARGS = ('trezor.dyn:3000', False)
|
DEBUG_TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor_debug', False)
|
||||||
|
|
||||||
DEBUG_TRANSPORT = PipeTransport
|
else:
|
||||||
DEBUG_TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor_debug', False)
|
|
||||||
|
TRANSPORT = HidTransport
|
||||||
|
TRANSPORT_ARGS = ('0x10c4:0xea80:000868D3', False)
|
||||||
|
|
||||||
|
DEBUG_TRANSPORT = SocketTransportClient
|
||||||
|
DEBUG_TRANSPORT_ARGS = ('trezor.bo:2000', False)
|
||||||
|
|
||||||
#DEBUG_TRANSPORT = SocketTransportClient
|
#DEBUG_TRANSPORT = SocketTransportClient
|
||||||
#DEBUG_TRANSPORT_ARGS = ('trezor.dyn:2000', False)
|
#DEBUG_TRANSPORT_ARGS = ('trezor.dyn:2000', False)
|
||||||
|
Loading…
Reference in New Issue
Block a user