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
Jan Pochyla
f5b5e399e5
mocks: add utimeq
2017-06-14 19:33:55 +02:00
Jan Pochyla
197baf66b4
modtrezorcrypto: fix doc
2017-06-14 19:27:13 +02:00
Jan Pochyla
181a2ad8c9
mocks: add typing module
2017-06-14 19:27:02 +02:00
Jan Pochyla
803c47dca8
extmod: use lowercase names
2017-06-14 18:51:55 +02:00
Jan Pochyla
2ca60fc59a
modtrezormsg: minor doc changes
2017-06-14 18:08:17 +02:00
Jan Pochyla
d771c72422
modtrezorio: add sdcard docs and mocks
2017-06-14 18:07:54 +02:00
Jan Pochyla
613412bca2
mocks: regenerate
2017-06-14 17:41:45 +02:00
Jan Pochyla
c0c5642bff
mocks: remove old generated mocks
2017-06-14 17:41:25 +02:00
Jan Pochyla
5a5c4f11b9
extmod: doc comments describe internal apis
2017-06-14 17:40:50 +02:00
Jan Pochyla
e29601e838
tools/build_mocks: support classes
2017-06-14 17:39:32 +02:00
Jan Pochyla
f746fd4e38
pylintrc
2017-06-14 17:38:54 +02:00