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

25 Commits

Author SHA1 Message Date
Pavol Rusnak
8b0336862f
make __fatal_error more useful, add make sizecheck target 2017-04-28 15:39:22 +02:00
Jan Pochyla
f64330f4eb main.c: remove usb_init_all from C 2017-04-21 16:25:00 +02:00
Jan Pochyla
46f748205d modtrezormsg: WIP python USB API 2017-04-21 16:25:00 +02:00
Pavol Rusnak
fffe8abd02
bootloader: rework message creation 2017-04-16 14:16:40 +02:00
Pavol Rusnak
80d8ab7825
bootloader/firmware: update usb strings 2017-04-12 15:20:09 +02:00
Jan Pochyla
87909637bf stmhal: vcp+hid style & comments, vcp tx ring buffer 2017-04-11 18:06:20 +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
df57f47aa9 trezorhal: minor usb cleanup 2017-04-07 17:40:22 +02:00
Jan Pochyla
9fcf5afaa9 usb_init_all: better report descriptor format 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
3a4cbacbff trezorhal: fix missing rx_buffer 2017-04-06 19:06:05 +02:00
Jan Pochyla
56b1d69796 trezorhal/usb: now compiles 2017-04-06 19:06:05 +02:00
Jochen Hoenicke
e0fd890661 Implemented vendor header.
Header is generated with

    ./tools/build_vendorheader 'key1,key2,key3' 2 1.1 SatoshiLabs assets/satoshilabs.png micropython/firmware/vendorheader.bin

where

- keyN is a 64 character hex string encoding the public key
- 2 encodes 2/3 key scheme
- 1.1 is the version number (major, minor)
- SatoshiLabs is the vendor name
- satoshilabs.png is the vendor image

Updated the firmware compilation that it adds vendor header and updated loader
that it handles vendor header to be present.
2017-04-01 17:01:59 +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
6861e68f21
update to current micropython master 2017-03-26 23:11:57 +02:00
Pavol Rusnak
a9d16aa7fa
firmware: extract periph_init into common.c 2017-03-23 16:22:58 +01:00
Pavol Rusnak
416676120b
extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Jan Pochyla
1db09f88a1 firmware/main.c: simplify 2017-03-08 14:02:55 +01:00
Jan Pochyla
9fd5f05f1f firmware: simplify, move things to mphalport.c 2017-03-08 13:43:24 +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