Commit Graph

151 Commits

Author SHA1 Message Date
Pavol Rusnak d8efa32091
bootloader: more wip 2017-02-17 15:49:43 +01:00
Pavol Rusnak 302f0e614a
tools: implement VendorHeader and FirmwareImage classes in firmwarectl 2017-02-09 18:14:10 +01:00
Pavol Rusnak 7d4414000e
tools: join check_bootloader and check_firmware into firmwarectl tool 2017-02-09 16:26:15 +01:00
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking 2017-02-08 19:43:47 +01:00
slush0 d6ae782dfc pb2py moved to trezor-common 2016-12-04 19:24:48 +01:00
slush0 0ea856589f Added non-micropython compatibility.
Optional generation of wiretype index file.
2016-12-04 19:12:01 +01:00
Pavol Rusnak 373487af1f
tools: update coins-gen.py 2016-11-11 18:11:37 +01:00
Pavol Rusnak 105b9c8167
tools: simplify coins-gen.py 2016-11-09 14:52:43 +01:00
Pavol Rusnak 3015045df6
apps.common.coins: update to return CoinType, not dict (also modify generator) 2016-11-09 14:46:59 +01:00
Pavol Rusnak c49c4ea29e
apps.common.coins: make coins definitions more readable + adapt generator 2016-11-06 15:50:39 +01:00
Jan Pochyla 783fddf749 messages: do not use const() 2016-11-02 01:03:16 +01:00
Jan Pochyla 20b612f8c1 pb2py: use new protobuf message format 2016-10-26 17:34:07 +02:00
Pavol Rusnak 6e658ff2f1
trezor.messages: regenerate classes 2016-10-24 15:45:05 +02:00
Pavol Rusnak e62e8dbe6f
tools: move coins-gen tool to /tools 2016-10-20 17:07:56 +02:00
Pavol Rusnak fffe930d8c
modtrezorui: rename fonts 2016-10-18 15:05:55 +02:00
Jan Pochyla 2d7d241a8d res_collect: fix for resources in subdirectories 2016-10-12 13:12:27 +02:00
Pavol Rusnak f8bf6d8cff
tools: added toi2png tool 2016-10-10 13:38:33 +02:00
Pavol Rusnak 90836621f5
tools: skip hidden files in res_collect 2016-10-06 17:54:57 +02:00
chren a47b6ee7bb design changes in bootloader mockups 2016-10-05 19:36:30 +02:00
chren 5cbb1ff892 minor design changes in ui-mockups of bootloader 2016-10-05 15:44:34 +02:00
Pavol Rusnak a1b75b879d
remove the need for pb2 subdir for pb2py generator 2016-10-03 18:16:15 +02:00
Pavol Rusnak 031550a5ed
regenerate mocks 2016-10-03 15:48:09 +02:00
slush0 f5d2007297 Use const() for protobuf definitions 2016-10-03 15:41:15 +02:00
Pavol Rusnak 3fe688e9b4
add size reporting to res_collect tool 2016-10-03 11:56:24 +02:00
slush0 1d7d408bc8 Updating resources on build automatically 2016-09-29 13:35:39 +02:00
Jan Pochyla f2b509b591 use micropython.const() in trezor.messages 2016-09-29 12:37:40 +02:00
Jan Pochyla fb7b85e479 move protobuf to a single module 2016-09-28 23:17:11 +02:00
slush0 d87e4e683d
Changed placeholder for automatic generated mocks 2016-09-27 17:26:17 +02:00
slush0 44479b38d0
res_collect now works also on CPython<3.5 2016-09-27 17:26:16 +02:00
slush0 43dafb2efc
Fixes mock dir cleanup, add link to source file 2016-09-27 17:26:15 +02:00
slush0 72fa153ea2
Mock builder for C modules 2016-09-27 17:26:15 +02:00
Pavol Rusnak ae65b8c17f
cleanup res_collect.py 2016-09-27 17:26:12 +02:00
Pavol Rusnak d1ff96af04
cleanup makefile; make res_collect tool more verbose 2016-09-27 17:26:12 +02:00
Jan Pochyla 59c0de5312
build wire_type index in pb2py 2016-09-27 17:26:05 +02:00
Jan Pochyla 173c49bef8
add __repr__ to Message and MessageType 2016-09-27 17:25:55 +02:00
Pavol Rusnak ea3bd0b6f8
rename resource collector script and move it to scripts 2016-09-27 17:25:46 +02:00
Jan Pochyla 362e835807
MessageType.type -> MessageType.wire_type 2016-09-27 17:24:21 +02:00
slush0 3f9020ccf4
"TYPE = %d" => "t.type = %d" 2016-09-27 17:24:15 +02:00
slush0 bc95e83aea
Generate message type constant into message modules 2016-09-27 17:24:10 +02:00
Pavol Rusnak ee3614ae6a
cleanup pb2py, add debug to emu.sh 2016-09-27 17:23:23 +02:00
Pavol Rusnak bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
slush0 e6df94cbd5
pb2py generator, build_pb2.sh 2016-09-27 17:23:22 +02:00
Pavol Rusnak 6a3cf02396
add documentation about toif 2016-09-27 17:23:20 +02:00
Pavol Rusnak b41c1c3e4d
add data size to toi format header 2016-09-27 17:23:18 +02:00
Pavol Rusnak 8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules 2016-09-27 17:22:52 +02:00
Pavol Rusnak fef9a2266d
more font work 2016-09-27 17:21:01 +02:00
Pavol Rusnak 9558ac1830
introduce TOI grayscale 4-bit format 2016-09-27 17:20:38 +02:00
Pavol Rusnak cf4078543b
allow more than 1 built-in font 2016-09-27 17:20:38 +02:00
Pavol Rusnak 711adbeea4
update ttf2c generator 2016-09-27 17:19:51 +02:00
Pavol Rusnak 8041bc7a8e
add ttf2c tool 2016-09-27 17:19:51 +02:00
Pavol Rusnak ced1a8fdef
introduce toi format 2016-09-27 17:19:50 +02:00