1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00
Commit Graph

935 Commits

Author SHA1 Message Date
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
Pavol Rusnak
995ae517cd
build: add make bloaty 2017-04-10 16:40:41 +02:00
Pavol Rusnak
56c3c55b7c
assets: update bootloader ui mockups 2017-04-09 02:42:49 +02:00
Pavol Rusnak
fd1718f8b6
mocks: update build script, refresh 2017-04-08 18:43:26 +02:00
Pavol Rusnak
62ad4d6a39
tools: pass sigmask and seckey as parameter to binctl 2017-04-08 18:24:46 +02:00
Pavol Rusnak
393ead9beb
src: remove boot.py 2017-04-08 18:11:10 +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
Pavol Rusnak
1851bffe26
loader: move usb/flash init to mainloop, add simple demo 2017-04-07 02:36:26 +02:00
Pavol Rusnak
4ca7dd2345
build: fix travis build 2017-04-06 19:14:12 +02:00
Jan Pochyla
792faea908 loader: cleanup usb before jump 2017-04-06 19:06:05 +02:00
Jan Pochyla
0e33357ee7 trezorhal: add usb_deinit 2017-04-06 19:06:05 +02:00
Pavol Rusnak
b592a95fb1 loader: better report descriptor format 2017-04-06 19:06:05 +02:00
Jan Pochyla
0636c12729 loader: fix b2f9725 2017-04-06 19:06:05 +02:00
Jan Pochyla
823a33b930 trezorhal: export usb_hid_read_select 2017-04-06 19:06:05 +02:00
Jan Pochyla
9fcf5afaa9 usb_init_all: better report descriptor format 2017-04-06 19:06:05 +02:00
Jan Pochyla
a54293b808 trezorhal: add usb_hid_read_select 2017-04-06 19:06:05 +02:00
Pavol Rusnak
1f837c4572 trezorhal: remove dependency on py/ 2017-04-06 19:06:05 +02:00
Pavol Rusnak
d8d62af275 trezorhal: bcdUSB should be 0x0200 2017-04-06 19:06:05 +02:00
Pavol Rusnak
435ac7081a loader: add usb 2017-04-06 19:06:05 +02:00
Jan Pochyla
38b99b306a trezorhal: add cdc vcp tx
TODO: rx support
TODO: buffering
TODO: cleanup
2017-04-06 19:06:05 +02:00
Jan Pochyla
e87d0d3905 trezorhal: refactor error checks 2017-04-06 19:06:05 +02:00
Jan Pochyla
cb497eec0b trezorhal: error checks, fix potential bug in usb_hid_class_data_out 2017-04-06 19:06:05 +02:00
Pavol Rusnak
9fcd21922f trezorhal: use UNCONST macro in usb stack 2017-04-06 19:06:05 +02:00
Jan Pochyla
a78221fd22 trezorhal: fix IN endpoint detection 2017-04-06 19:06:05 +02:00
Jan Pochyla
33e5ad1ac9 trezorhal: fix setup of next OUT transfer 2017-04-06 19:06:05 +02:00
Jan Pochyla
3a4cbacbff trezorhal: fix missing rx_buffer 2017-04-06 19:06:05 +02:00
Jan Pochyla
c258bfdd90 trezorhal: fix buffer truncation in usb_hid_read 2017-04-06 19:06:05 +02:00
Pavol Rusnak
8eb5cbbe13 trezorhal: add stubs for vcp interface 2017-04-06 19:06:05 +02:00
Pavol Rusnak
2c03f97ca9 trezorhal: extract usb hid stuff into usb_hid-defs.h and usb_hid-impl.h 2017-04-06 19:06:05 +02:00
Pavol Rusnak
6b07961cf6 trezorhal: set iface.type 2017-04-06 19:06:05 +02:00
Jan Pochyla
56b1d69796 trezorhal/usb: now compiles 2017-04-06 19:06:05 +02:00
Jan Pochyla
466285a21c trezorhal: WIP usb rewrite 2017-04-06 19:06:05 +02:00
Pavol Rusnak
17ff61459d
tools: add pretty format to sigmask field 2017-04-06 19:02:09 +02:00
Jan Pochyla
2abc29f70d unix: mp_uint_t -> size_t 2017-04-06 18:37:36 +02:00
Jan Pochyla
9f985dba46 extmod: use size_t for mp_obj_get_array and mp_obj_tuple_get 2017-04-06 18:36:30 +02:00
Pavol Rusnak
cb8e957379
bootloader/loader: refactor PRINT(LN) macros to common.h 2017-04-06 17:25:14 +02:00
Pavol Rusnak
4f9f351a16
bootloader/loader: print version to log 2017-04-06 17:21:03 +02:00
Pavol Rusnak
364bcedb04
tools: small formatting change to binctl 2017-04-06 16:58:16 +02:00
Peter Jensen
76705dde5b trezor.ui: change failure pin msg 2017-04-06 14:16:48 +02:00
Pavol Rusnak
35e404bd38
tools: add fake signing to binctl, add make sign target 2017-04-05 19:33:50 +02:00
Pavol Rusnak
fdef0575b1
loader: show firmware version in loader, remove image_options.h 2017-04-05 17:41:10 +02:00
Pavol Rusnak
a4a939058b
bootloader/loader: reorganize checking code 2017-04-05 16:27:55 +02:00