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

43 Commits

Author SHA1 Message Date
Jan Pochyla
823a33b930 trezorhal: export usb_hid_read_select 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
cb8e957379
bootloader/loader: refactor PRINT(LN) macros to common.h 2017-04-06 17:25:14 +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
fad4b80af8
trezorhal: don't parse (image|vendor) headers twice, don't use legacy stm32 names 2017-04-05 15:10:33 +02:00
Pavol Rusnak
87b7d0649b
boot: use cosi to compute aggregated key and use it 2017-04-02 02:55:51 +02:00
Pavol Rusnak
5c227a4a47
loader: compute pubkey rather than use precomputed one, prepare for vendor keys 2017-04-01 22:30:10 +02:00
Pavol Rusnak
bbf55bcf2a
loader: handle vendor header 2017-04-01 19:24:41 +02:00
Pavol Rusnak
74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Jochen Hoenicke
e37619899e Put loader/firmware header into image (#5) 2017-04-01 00:22:24 +02:00
Pavol Rusnak
d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Pavol Rusnak
efb722cc97
trezorhal: split memory files, adapt bootloader and loader 2017-03-29 22:00:17 +02:00
Pavol Rusnak
8d3020bc62
trezorhal: implement jump_to function 2017-03-29 20:50:45 +02:00
Pavol Rusnak
c8bff40ffb
trezorhal: use more readable syntax in memory script 2017-03-29 15:54:21 +02:00
Pavol Rusnak
a9d16aa7fa
firmware: extract periph_init into common.c 2017-03-23 16:22:58 +01:00
Pavol Rusnak
1e80e82bac
bootloader: change stage2 to loader 2017-03-21 16:06:54 +01:00
Pavol Rusnak
9e5d61752c
trezorhal: use display_print instead of mp_hal_stdout in our version of stm32_it.c 2017-03-21 16:06:54 +01:00
Pavol Rusnak
416676120b
extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Pavol Rusnak
715d25a93b
trezorhal: add flash_set_option_bytes function 2017-03-13 19:38:34 +01:00
Pavol Rusnak
0cb0b11723
trezorhal: minor changes in sdcard 2017-03-13 11:50:41 +01:00
Pavol Rusnak
f6f3765a3e
trezorhal: enable write to sdcard 2017-03-13 11:50:41 +01:00
Jan Pochyla
462f6bab7f trezorhal: move irq handlers to subsystems 2017-03-07 17:33:39 +01:00
Pavol Rusnak
935e9b2912
trezorhal: fix i2c, more reorg 2017-03-07 15:52:19 +01:00
Pavol Rusnak
3f0026912c
i2c: reorganize sources 2017-03-07 15:11:21 +01:00
Jan Pochyla
929f708e5c trezorhal: split to subsystems 2017-03-07 14:50:09 +01:00
Jan Pochyla
78d82386d1 trezorhal: adjust to new structure 2017-03-06 17:33:48 +01:00
Pavol Rusnak
10b687c318
reorganization (wip) 2017-02-24 13:19:00 +01:00