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