1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
Pavol Rusnak
2bebd0eec5
embed/trezorhal+unix: add copyright headers 2018-02-23 19:04:46 +01:00
Pavol Rusnak
3eab20e278
embed: refactor MIN/MAX macros in common.h 2018-02-22 20:35:32 +01:00
Pavol Rusnak
5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader 2018-02-13 20:51:14 +01:00
Pavol Rusnak
c115faf2cd
embed/trezorhal/usb: correct handling of interface messages in usb_class_setup 2018-02-12 18:25:13 +01:00
Pavol Rusnak
936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak
548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t 2018-02-06 15:30:15 +01:00
Pavol Rusnak
40e20e2e9d
trezorhal: fix usb class behaviour 2018-02-03 16:40:51 +01:00
Pavol Rusnak
61b4e3d6e3
trezorhal: fix typos 2018-02-02 17:41:49 +01:00
Pavol Rusnak
b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled 2018-02-02 16:02:37 +01:00
Pavol Rusnak
4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB 2018-02-02 15:27:04 +01:00
Pavol Rusnak
488e516cbf
trezorhal: add device_class, etc. to usb object 2018-01-31 16:46:15 +01:00
Pavol Rusnak
ebc585fd40
trezorhal: fix bug in flash_otp_write 2018-01-29 08:44:55 +01:00
Pavol Rusnak
1b712a0446
trezorhal: fix simple interface behaviour on windows 2018-01-28 02:43:03 +01:00
Pavol Rusnak
399d6d2f65
trezorhal: make webusb more robust 2018-01-28 02:43:03 +01:00
Pavol Rusnak
08c145c4da
trezorhal: fix winusb 2018-01-28 02:43:02 +01:00
Pavol Rusnak
ba8224f598
trezorhal: remove configuration from usb string table 2018-01-28 02:43:00 +01:00
Pavol Rusnak
55d0416641
trezorhal: make usb stack more robust 2018-01-27 17:27:57 +01:00
Pavol Rusnak
d6681efff2
trezorhal: update usb maxpower 2018-01-26 17:11:52 +01:00
Pavol Rusnak
a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks 2018-01-25 16:29:05 +01:00
Pavol Rusnak
1280073c04
trezorhal: remove unnecessary casting for usb strings 2018-01-25 15:34:45 +01:00
Pavol Rusnak
8ef2098763
trezorhal: unix: refactor touch get/pack functionality 2018-01-24 13:41:02 +01:00
Pavol Rusnak
2f567ee822
bootloader: rework UI 2018-01-24 12:47:55 +01:00
Pavol Rusnak
9fcb59c3ca
trezorhal: reply with winusb guid just for interface 0 2018-01-24 00:37:58 +01:00
Pavol Rusnak
ca0918dbce
trezorhal: rework winusb 2018-01-24 00:37:54 +01:00
Pavol Rusnak
00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word} 2018-01-23 16:58:53 +01:00
Pavol Rusnak
089168209b
trezorhal: fix webusb landing page 2018-01-23 02:32:48 +01:00
Pavol Rusnak
919e2b9c3b
trezorhal: formatting nits in usb 2018-01-23 02:32:48 +01:00
Pavol Rusnak
9f80d5614a
trezorhal: add winusb magic to webusb interface 2018-01-21 15:40:31 +01:00
Pavol Rusnak
5ef0967857
trezorhal: small fixes to USB stack 2018-01-21 03:54:08 +01:00
Pavol Rusnak
aa8c192040
trezor.io: remove unused fields from WebUSB class 2018-01-21 00:49:09 +01:00
Pavol Rusnak
8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB 2018-01-21 00:04:05 +01:00
Pavol Rusnak
d927b80b50
trezorhal: more tests in usb 2018-01-20 22:06:39 +01:00
Pavol Rusnak
51db0c4099
fix typo 2018-01-20 22:02:13 +01:00
Pavol Rusnak
9d10a7a508
trezorhal: more switch formatting 2018-01-20 21:57:10 +01:00
Pavol Rusnak
30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos 2018-01-20 21:48:53 +01:00
Pavol Rusnak
fea8d53b85
trezor.io: cleanup usb code 2018-01-17 16:10:31 +01:00
Pavol Rusnak
424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak
47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak
5e93cca0a9
WIP 2017-12-16 17:54:12 +01:00
Pavol Rusnak
7504366a02
bootloader: simplify vtrust code 2017-12-15 20:57:54 +01:00
Pavol Rusnak
125ab8471c
trezorhal: store image fingerprint in the image_header structure 2017-12-15 19:22:59 +01:00
Pavol Rusnak
be302480fd
modtrezorcrypto: cleanup random 2017-12-15 16:56:08 +01:00
Pavol Rusnak
1a32e46e5d
bootloader: cleanup ui code 2017-12-15 15:26:36 +01:00
Pavol Rusnak
965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix) 2017-12-14 21:29:13 +01:00
Jochen Hoenicke
9f2bbb0e1a Removed references to pin fail area 2017-12-14 17:18:45 +01:00
Pavol Rusnak
45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header 2017-12-13 22:50:48 +01:00
Jochen Hoenicke
816bfe387f Bug fix: missing parenthesis in flash_write_word 2017-12-12 00:01:49 +01:00
Pavol Rusnak
ce3eaba925
trezorhal: use static inline instead of static (gcc 7.2 workaround) 2017-12-11 22:34:45 +01:00
Pavol Rusnak
e268aeb8b7
flash: simplify/unify flash_erase_sectors usage 2017-12-09 18:00:37 +01:00
Pavol Rusnak
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong 2017-12-09 14:48:49 +01:00