1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
trezor-firmware/tests/config.py
2013-04-15 19:57:36 +02:00

22 lines
649 B
Python

import sys
sys.path = ['../',] + sys.path
from bitkeylib.transport_pipe import PipeTransport
from bitkeylib.transport_hid import HidTransport
from bitkeylib.transport_socket import SocketTransportClient
TRANSPORT = PipeTransport
TRANSPORT_ARGS = ('../../bitkey-python/bitkey.pipe', False)
#TRANSPORT = HidTransport
#TRANSPORT_ARGS = ('0x10c4:0xea80:000868D3', False)
#TRANSPORT = SocketTransportClient
#TRANSPORT_ARGS = ('trezor.dyn:3000', False)
DEBUG_TRANSPORT = PipeTransport
DEBUG_TRANSPORT_ARGS = ('../../bitkey-python/bitkey_debug.pipe', False)
#DEBUG_TRANSPORT = SocketTransportClient
#DEBUG_TRANSPORT_ARGS = ('trezor.dyn:2000', False)