Jan Pochyla
83686bc0c6
scons: add TREZOR_NOUI support
2017-08-07 12:31:42 +02:00
Jan Pochyla
3dab5e7797
scons: cleanup defines
2017-08-07 12:04:23 +02:00
Jan Pochyla
3a7277788f
scons: use in Makefile
2017-08-07 12:04:11 +02:00
Jan Pochyla
71ef4e4b3a
tools/binctl: python2 compatibility
2017-08-07 11:59:45 +02:00
Jan Pochyla
1c9b6d44b4
scons: glob py files for firmware
2017-08-05 11:05:44 +02:00
Jan Pochyla
2d69930317
scons: fix frozen module names
2017-08-05 10:17:16 +02:00
Jan Pochyla
d431e0b983
scons: boardloader, bootloader, bugfixes
2017-08-04 00:46:57 +02:00
Jan Pochyla
9b9c020261
scons: remove unused defines
2017-08-04 00:46:57 +02:00
Jan Pochyla
c357692a43
scons: add SConscript.unix
2017-08-04 00:46:57 +02:00
Jan Pochyla
f140f19773
scons: build/firmware
2017-08-04 00:46:57 +02:00
Jan Pochyla
9b03a16b43
scons: fix FrozenModule, simplify usage
2017-08-04 00:46:57 +02:00
Jan Pochyla
684892f1ed
scons: firmware build
2017-08-04 00:46:57 +02:00
Pavol Rusnak
3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo
2017-07-28 19:45:58 +02:00
Pavol Rusnak
596d41e68c
build: fix one missing change of micropython->embed
2017-07-28 19:24:26 +02:00
Pavol Rusnak
3f29925c1c
travis: install python-trezor from master
2017-07-28 19:12:36 +02:00
Pavol Rusnak
fe5b5c1940
tests: update to pytest, regenerate protobuf
2017-07-28 18:58:31 +02:00
Jan Pochyla
bab1303b1b
tools/build_mocks: adapt to micropython -> embed rename
2017-07-28 16:36:14 +02:00
Jan Pochyla
803e39c2a8
make: adapt to micropython -> embed rename
2017-07-28 16:33:40 +02:00
Jan Pochyla
55bd4a0806
rename /micropython to /embed
2017-07-28 16:23:45 +02:00
Jan Pochyla
880faa10b0
usb: use HS_IN_FS
...
TODO: with more interfaces, static usb state is getting bigger, maybe we should move it to dynamic memory. at the very least, concepts of physical and logical interfaces should be separate
2017-07-12 16:04:03 +02:00
Jan Pochyla
d77373eef7
trezor.msg: udp supports only one interface
2017-06-27 13:49:48 +02:00
Jan Pochyla
a2a4b285d4
trezor.msg: fix empty read
2017-06-27 13:49:35 +02:00
Jan Pochyla
915cf849e9
trezor.msg: remove select, add poll
...
TODO: decide if we want to continue polling on interface numbers, or rather on usb/touch file objects
2017-06-26 16:03:20 +02:00
Jan Pochyla
695833c6c0
trezor.msg: send with 1 sec timeout until we make it async
2017-06-26 12:06:40 +02:00
Pavol Rusnak
886c3a0a11
modtrezorcrypto: use lowercase QSTRs so we don't have to 'import as'
2017-06-23 17:50:45 +02:00
Pavol Rusnak
adafd9bc51
tools: fix png2toi c export
2017-06-21 18:18:59 +02:00
Pavol Rusnak
27f7a26d6e
bootloader: join erase/flash loader into one process
2017-06-21 13:11:20 +02:00
Pavol Rusnak
be83b8b138
bootloader: show loader instead of text
2017-06-20 19:53:35 +02:00
Jan Pochyla
afd65833cb
trezor.crypto: rework for new structure
2017-06-20 17:45:34 +02:00
Jan Pochyla
c94b4f68df
modtrezorconfig: fix docs
2017-06-20 17:45:34 +02:00
Jan Pochyla
4127655584
trezor.ui.loader: make target parametric
2017-06-20 17:45:34 +02:00
Pavol Rusnak
0290a13427
bootloader: firmware update working
2017-06-20 17:32:21 +02:00
Pavol Rusnak
95bc321113
bootloader: fix typo in message processing
2017-06-20 15:06:16 +02:00
Pavol Rusnak
ce6dca8ed5
trezor.io: rework for new structure
2017-06-20 14:14:47 +02:00
Pavol Rusnak
acb68dc429
trezor.config: rework for new structure
2017-06-20 13:30:02 +02:00
Pavol Rusnak
285fb1263b
bootloader: more work on firmware update
2017-06-20 12:44:48 +02:00
Jan Pochyla
3318ed22f5
trezor.ui.confirm: content is required
2017-06-20 12:03:36 +02:00
Jan Pochyla
bcd94ecbc1
trezor.ui: rework HoldToConfirmDialog
...
Fixes flickering while idle.
2017-06-20 12:03:36 +02:00
Jan Pochyla
c94e02b0eb
apps.fido_u2f: more type annotations
2017-06-20 12:03:36 +02:00
Pavol Rusnak
26267d532d
bootloader: drop streaming for all cases except FirmwareUpload.payload, skip unused messages
2017-06-20 00:01:29 +02:00
Pavol Rusnak
aa6c96046e
bootloader: process callback in incoming messages
2017-06-19 23:05:21 +02:00
Pavol Rusnak
46c26b8c09
bootloader: parse incoming protobuf messages
2017-06-19 14:20:09 +02:00
Pavol Rusnak
fe672fbd09
travis: install trezor from pypi
2017-06-19 00:28:48 +02:00
Pavol Rusnak
0ee67371b8
tests: run tests in python3
2017-06-19 00:12:46 +02:00
Pavol Rusnak
365fd404b1
src: fix style
2017-06-18 23:32:47 +02:00
Pavol Rusnak
564af0a5ff
vendor: update micropython
2017-06-18 01:51:29 +02:00
Pavol Rusnak
aed4f5547c
bootloader: consume incoming messages
2017-06-16 15:40:27 +02:00
Pavol Rusnak
396e90e19e
bootloader: refactor protobuf code
2017-06-14 23:18:54 +02:00
Pavol Rusnak
4414054d92
bootloader: migrate to nanopb
2017-06-14 20:44:52 +02:00
Jan Pochyla
5b9ef8813a
trezor.utils: fix for mypy, remove genfunc
2017-06-14 19:34:23 +02:00