Commit Graph

143 Commits (87f20bac29ae82dcfee0f4c847d8305a80e18be2)

Author SHA1 Message Date
Pavol Rusnak a3c9f0b77e
trezorhal: add mpy license header to sdcard.{c,h}
8 years ago
Pavol Rusnak d207e8c242
modtrezormsg: add mock for unix build
8 years ago
Jan Pochyla f64330f4eb main.c: remove usb_init_all from C
8 years ago
Jan Pochyla e49e7ed1d9 modtrezormsg: add usb_deinit, cleanup usb_init
8 years ago
Jan Pochyla afaefb7a13 modtrezormsg: fix typo in Msg.init_usb
8 years ago
Jan Pochyla 46f748205d modtrezormsg: WIP python USB API
8 years ago
Jan Pochyla 03aac60681 trezorhal: disable interfaces on deinit
8 years ago
Pavol Rusnak d131dc7405
fix last commit
8 years ago
Pavol Rusnak 795875523b
unix: implement __fatal_error, simplify modtrezorutils
8 years ago
Pavol Rusnak 117edd233f
build: don't use STM32_HAL_H directly to detect port, introduce TREZOR_STM32 and TREZOR_UNIX macros
8 years ago
Pavol Rusnak 8a9e31382e
bootloader: add fake processing of FirmwareUpload messages
8 years ago
Pavol Rusnak b91d8da421
bootloader: more protobuf cleanup
8 years ago
Pavol Rusnak fffe8abd02
bootloader: rework message creation
8 years ago
Pavol Rusnak 00f566c434
bootloader: start working on USB processing
8 years ago
Pavol Rusnak 80d8ab7825
bootloader/firmware: update usb strings
8 years ago
Jan Pochyla 4c183268a8 trezorhal: align uint8_t buffers
8 years ago
Jan Pochyla 87909637bf stmhal: vcp+hid style & comments, vcp tx ring buffer
8 years ago
Pavol Rusnak 69d7f39b23
modtrezorutils: call __fatal_error on stm
8 years ago
Pavol Rusnak 0c060b6d4a
rename loader to bootloader
8 years ago
Pavol Rusnak 0633506166
rename bootloader to boardloader
8 years ago
Pavol Rusnak b412ef4b24
trezorhal: usbd - fix typo
8 years ago
Jan Pochyla 28d6b38f6f trezorhal: implement vcp read and ctrl-c soft reset, fix write
8 years ago
Jan Pochyla 137d27d69e trezorhal: cleanup hid, usb
8 years ago
Pavol Rusnak f12c630914
trezorhal: don't use legacy symbols from STMhal
8 years ago
Pavol Rusnak 8a1ec2aad6
trezorhal: upgrade usbd files from stmcube 1.15
8 years ago
Jan Pochyla df57f47aa9 trezorhal: minor usb cleanup
8 years ago
Jan Pochyla cc38f537d3 trezorhal: whitespace
8 years ago
Pavol Rusnak 1851bffe26
loader: move usb/flash init to mainloop, add simple demo
8 years ago
Jan Pochyla 792faea908 loader: cleanup usb before jump
8 years ago
Jan Pochyla 0e33357ee7 trezorhal: add usb_deinit
8 years ago
Pavol Rusnak b592a95fb1 loader: better report descriptor format
8 years ago
Jan Pochyla 0636c12729 loader: fix b2f9725
8 years ago
Jan Pochyla 823a33b930 trezorhal: export usb_hid_read_select
8 years ago
Jan Pochyla 9fcf5afaa9 usb_init_all: better report descriptor format
8 years ago
Jan Pochyla a54293b808 trezorhal: add usb_hid_read_select
8 years ago
Pavol Rusnak 1f837c4572 trezorhal: remove dependency on py/
8 years ago
Pavol Rusnak d8d62af275 trezorhal: bcdUSB should be 0x0200
8 years ago
Pavol Rusnak 435ac7081a loader: add usb
8 years ago
Jan Pochyla 38b99b306a trezorhal: add cdc vcp tx
8 years ago
Jan Pochyla e87d0d3905 trezorhal: refactor error checks
8 years ago
Jan Pochyla cb497eec0b trezorhal: error checks, fix potential bug in usb_hid_class_data_out
8 years ago
Pavol Rusnak 9fcd21922f trezorhal: use UNCONST macro in usb stack
8 years ago
Jan Pochyla a78221fd22 trezorhal: fix IN endpoint detection
8 years ago
Jan Pochyla 33e5ad1ac9 trezorhal: fix setup of next OUT transfer
8 years ago
Jan Pochyla 3a4cbacbff trezorhal: fix missing rx_buffer
8 years ago
Jan Pochyla c258bfdd90 trezorhal: fix buffer truncation in usb_hid_read
8 years ago
Pavol Rusnak 8eb5cbbe13 trezorhal: add stubs for vcp interface
8 years ago
Pavol Rusnak 2c03f97ca9 trezorhal: extract usb hid stuff into usb_hid-defs.h and usb_hid-impl.h
8 years ago
Pavol Rusnak 6b07961cf6 trezorhal: set iface.type
8 years ago
Jan Pochyla 56b1d69796 trezorhal/usb: now compiles
8 years ago