1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00
Commit Graph

166 Commits

Author SHA1 Message Date
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
Pavol Rusnak
8b0336862f
make __fatal_error more useful, add make sizecheck target 2017-04-28 15:39:22 +02:00
Pavol Rusnak
44b32aa4a6
bootloader: process upload message WIP 2017-04-27 19:18:57 +02:00
Pavol Rusnak
3250967d62
bootloader: refactor pb_parse_header to protobuf 2017-04-27 15:32:25 +02:00
Pavol Rusnak
a3c9f0b77e
trezorhal: add mpy license header to sdcard.{c,h} 2017-04-24 15:50:36 +02:00
Pavol Rusnak
d207e8c242
modtrezormsg: add mock for unix build 2017-04-21 18:12:33 +02:00
Jan Pochyla
f64330f4eb main.c: remove usb_init_all from C 2017-04-21 16:25:00 +02:00
Jan Pochyla
e49e7ed1d9 modtrezormsg: add usb_deinit, cleanup usb_init 2017-04-21 16:25:00 +02:00
Jan Pochyla
afaefb7a13 modtrezormsg: fix typo in Msg.init_usb 2017-04-21 16:25:00 +02:00
Jan Pochyla
46f748205d modtrezormsg: WIP python USB API 2017-04-21 16:25:00 +02:00
Jan Pochyla
03aac60681 trezorhal: disable interfaces on deinit 2017-04-21 16:23:06 +02:00
Pavol Rusnak
d131dc7405
fix last commit 2017-04-17 18:56:08 +02:00
Pavol Rusnak
795875523b
unix: implement __fatal_error, simplify modtrezorutils 2017-04-17 18:07:34 +02:00
Pavol Rusnak
117edd233f
build: don't use STM32_HAL_H directly to detect port, introduce TREZOR_STM32 and TREZOR_UNIX macros 2017-04-17 17:57:42 +02:00
Pavol Rusnak
8a9e31382e
bootloader: add fake processing of FirmwareUpload messages 2017-04-16 20:58:58 +02:00
Pavol Rusnak
b91d8da421
bootloader: more protobuf cleanup 2017-04-16 17:37:39 +02:00
Pavol Rusnak
fffe8abd02
bootloader: rework message creation 2017-04-16 14:16:40 +02:00
Pavol Rusnak
00f566c434
bootloader: start working on USB processing 2017-04-12 18:31:23 +02:00
Pavol Rusnak
80d8ab7825
bootloader/firmware: update usb strings 2017-04-12 15:20:09 +02:00
Jan Pochyla
4c183268a8 trezorhal: align uint8_t buffers 2017-04-11 18:22:30 +02:00
Jan Pochyla
87909637bf stmhal: vcp+hid style & comments, vcp tx ring buffer 2017-04-11 18:06:20 +02:00
Pavol Rusnak
69d7f39b23
modtrezorutils: call __fatal_error on stm 2017-04-10 19:43:07 +02:00
Pavol Rusnak
0c060b6d4a
rename loader to bootloader 2017-04-10 19:24:21 +02:00
Pavol Rusnak
0633506166
rename bootloader to boardloader 2017-04-10 19:11:44 +02:00
Pavol Rusnak
b412ef4b24
trezorhal: usbd - fix typo 2017-04-10 18:39:10 +02:00
Jan Pochyla
28d6b38f6f trezorhal: implement vcp read and ctrl-c soft reset, fix write 2017-04-10 18:32:13 +02:00
Jan Pochyla
137d27d69e trezorhal: cleanup hid, usb 2017-04-10 18:30:02 +02:00
Pavol Rusnak
f12c630914
trezorhal: don't use legacy symbols from STMhal 2017-04-10 18:15:48 +02:00
Pavol Rusnak
8a1ec2aad6
trezorhal: upgrade usbd files from stmcube 1.15 2017-04-10 17:52:18 +02:00
Jan Pochyla
df57f47aa9 trezorhal: minor usb cleanup 2017-04-07 17:40:22 +02:00
Jan Pochyla
cc38f537d3 trezorhal: whitespace 2017-04-07 13:41:12 +02:00