1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Pavol Rusnak
7bb2c63fc4
build: makefile cleanup - part 2 2017-04-19 23:14:14 +02:00
Pavol Rusnak
ae6be43ba0
build: makefile cleanup - part 1 2017-04-19 22:40:15 +02:00
Pavol Rusnak
117edd233f
build: don't use STM32_HAL_H directly to detect port, introduce TREZOR_STM32 and TREZOR_UNIX macros 2017-04-17 17:57:42 +02:00
Pavol Rusnak
05306ad79d
build: bring makefiles closer 2017-04-13 23:30:32 +02:00
Pavol Rusnak
8a1ec2aad6
trezorhal: upgrade usbd files from stmcube 1.15 2017-04-10 17:52:18 +02:00
Jan Pochyla
56b1d69796 trezorhal/usb: now compiles 2017-04-06 19:06:05 +02:00
Pavol Rusnak
7cb7a90d27
build: include vendorheader.bin in source tree 2017-04-01 20:21:02 +02:00
Pavol Rusnak
1f07f310b3
loader: show vendor image and vendor string from vendor header 2017-04-01 20:19:35 +02:00
Pavol Rusnak
6187a8a0c1
build: refactor build_vendorheader 2017-04-01 18:28:10 +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
Pavol Rusnak
74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Pavol Rusnak
a440f3d322
trezorhal: update linker scripts 2017-04-01 12:48:15 +02:00
Jochen Hoenicke
e37619899e Put loader/firmware header into image (#5) 2017-04-01 00:22:24 +02:00
Pavol Rusnak
efb722cc97
trezorhal: split memory files, adapt bootloader and loader 2017-03-29 22:00:17 +02:00
Pavol Rusnak
4d4a351ba6
modtrezorcrypto: update to new trezor-crypto 2017-03-28 20:28:51 +02:00
Pavol Rusnak
b30f3b0946
build: use -Os for debug builds and use them by default 2017-03-28 15:21:09 +02:00
Pavol Rusnak
6861e68f21
update to current micropython master 2017-03-26 23:11:57 +02:00
Pavol Rusnak
541d89cff7
firmware: extract stmhal objects to OBJ_HAL 2017-03-23 17:28:42 +01:00
Pavol Rusnak
416676120b
extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Pavol Rusnak
d23860ed67
build: use SRCDIR macros where possible 2017-03-20 18:26:23 +01:00
Pavol Rusnak
1c4fbd02b4
build: reorg makefiles 2017-03-20 17:45:40 +01:00
Pavol Rusnak
603d980d22
bootloader: enable build again 2017-03-18 12:06:28 +01:00
Pavol Rusnak
6c982a64d1
firmware: move modutime to firmware 2017-03-13 20:06:03 +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
Jan Pochyla
929f708e5c trezorhal: split to subsystems 2017-03-07 14:50:09 +01:00
Pavol Rusnak
9e8c3ab75c
Makefile: fix whitespace 2017-03-07 00:58:12 +01:00
Pavol Rusnak
2cde9511da
micropython: update submodule; fix build 2017-03-07 00:56:35 +01:00
Jan Pochyla
78d82386d1 trezorhal: adjust to new structure 2017-03-06 17:33:48 +01:00