1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +00:00
Commit Graph

196 Commits

Author SHA1 Message Date
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
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
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
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
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
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
197baf66b4 modtrezorcrypto: fix doc 2017-06-14 19:27:13 +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
5a5c4f11b9 extmod: doc comments describe internal apis 2017-06-14 17:40:50 +02:00
Jan Pochyla
2c3221810e stm: remove i2s 2017-06-12 18:19:04 +02:00
Jan Pochyla
fbf7be27cd trezorhal/usb: add some support for hs-in-fs 2017-06-12 16:08:13 +02:00
Pavol Rusnak
59421d4b3a
trezorhal: fix bug in touch ignoring the first TOUCH_START event 2017-06-07 17:12:07 +02:00
Jan Pochyla
ecefb1c0ef modtrezormsg: fix 4a359d2 2017-06-07 14:35:46 +02:00
Jan Pochyla
4a359d2d35 modtrezormsg: add udp ping handling to modtrezormsg-unix.h 2017-06-07 13:55:40 +02:00
Jan Pochyla
1c2aae8cb9 modtrezormsg: recv has zero timeout 2017-05-31 18:39:37 +02:00
Jan Pochyla
13a91451f6 trezorhal/usb: handle additional setup packets 2017-05-24 13:56:53 +02:00
Jan Pochyla
ecd5fd858b trezorhal/usb: do not send full packets 2017-05-24 13:56:53 +02:00
Pavol Rusnak
f7d72741fd
unix: enable modtrezorio, mock sdcard 2017-05-24 00:47:20 +02:00
Jan Pochyla
2d452551da add BYTES_PER_WORD define 2017-05-23 12:30:38 +02:00
Pavol Rusnak
65ee44b636
core: add prints to main loop 2017-05-15 19:33:35 +02:00
Pavol Rusnak
4d4364f0b5
TrezorUi -> TrezorUI 2017-05-15 18:12:05 +02:00
Pavol Rusnak
c3e5e2b208
update micropython submodule; add REPL to firmware 2017-05-15 17:58:03 +02:00
Pavol Rusnak
3765fb734b
remove trezor.debug module, add trezor.io module 2017-05-15 15:48:47 +02:00
Pavol Rusnak
6a3210c4ce
unix: fix build 2017-05-09 16:22:07 +02:00
Jan Pochyla
fb398d07cb touch: change iface num to 255 2017-05-09 16:13:40 +02:00
Jan Pochyla
50c100bf34 mphalport: set vcp iface num at runtime 2017-05-09 16:13:40 +02:00
Jan Pochyla
64f2d6d9fb trezorhal: vcp comments 2017-05-09 16:13:40 +02:00
Pavol Rusnak
9e42a45b10
crypto: update trezor-crypto, fix crypto.bip32 test 2017-05-08 17:48:22 +02:00
Pavol Rusnak
f345de1a4f
bootloader: protobuf - add pb_add_bytes 2017-05-02 19:49:56 +02:00
Pavol Rusnak
6fd52dd36e
trezorhal: use attribute format for printf functions 2017-05-02 17:35:39 +02:00
Pavol Rusnak
11917920e7
trezorhal: use display_printf also in stm32_it.c 2017-05-02 16:33:41 +02:00
Pavol Rusnak
367fe8952c
modtrezorui: introduce display_printf, use where possible 2017-04-28 19:55:05 +02:00
Pavol Rusnak
19cd626fc9
modtrezorui: introduce RGB16 and COLOR_x macros, use them where possible 2017-04-28 17:51:49 +02:00
Pavol Rusnak
97f95f44c0
bootloader: disable usage of mono/normal fonts 2017-04-28 15:54:54 +02:00