Commit Graph

387 Commits

Author SHA1 Message Date
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak 8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c 2018-02-12 14:44:09 +01:00
mcudev 0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation 2018-02-12 14:40:50 +01:00
Pavol Rusnak 34c6fb987a
embed/bootloader: better detection of broken firmware at start 2018-02-10 17:52:45 +01:00
Pavol Rusnak 9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32 2018-02-09 12:33:55 +01:00
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes 2018-02-09 12:22:23 +01:00
Pavol Rusnak 2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default 2018-02-08 18:04:10 +01:00
Pavol Rusnak fa697ba322
embed/vendorheader: add unsafe_signed_prod, use it by default 2018-02-08 16:45:23 +01:00
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change 2018-02-08 15:04:33 +01:00
Pavol Rusnak 329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision 2018-02-07 19:33:39 +01:00
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00
Pavol Rusnak 47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch) 2018-02-06 17:18:37 +01:00
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message 2018-02-06 17:06:43 +01:00
Pavol Rusnak 548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t 2018-02-06 15:30:15 +01:00
Jan Pochyla 00c4da83b9 modtrezorconfig: fix has_pin 2018-02-05 15:36:59 +01:00
Pavol Rusnak e865012663
bootloader: use webusb by default 2018-02-03 16:40:52 +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 d1b5a254ef
prodtest: bump release_num in usb 2018-02-02 13:11:03 +01:00
Pavol Rusnak 94fc0f7ac0
extmod: if debug build is used, disable LoadDevice, wipe storage on start, draw red square in corner 2018-02-01 15:46:32 +01:00
Pavol Rusnak 1e03a5d554
unix: start udp port for each active hid/webusb interface 2018-02-01 14:22:24 +01:00
Pavol Rusnak db71afca60
prodtest: use different release_num 2018-02-01 10:13:40 +01:00
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object 2018-01-31 16:46:15 +01:00
Pavol Rusnak 52a942afd4
bootloader: fix anti-aliasing in install icon 2018-01-31 16:46:15 +01:00
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader 2018-01-31 16:46:15 +01:00
Pavol Rusnak bfa79cbfd3
firmware: update versions in version.h 2018-01-29 09:09:45 +01:00
Pavol Rusnak ebc585fd40
trezorhal: fix bug in flash_otp_write 2018-01-29 08:44:55 +01:00
Pavol Rusnak 1bf278c3ee
firmware: add vendorheader_sl_signed.bin 2018-01-29 08:14:08 +01:00
Pavol Rusnak c934109d65
boardloader, bootloader: bump versions to 2.0 2018-01-28 16:56:05 +01:00
Pavol Rusnak 0b4c703813
bootloader: update booting ui 2018-01-28 13:47:03 +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 5e4b632f14
bootloader: firmware: use "Go to" instead of "Open", because that's what Chrome uses :-/ 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 efd926208d
bootloader: refactor version formatting into format_ver 2018-01-26 16:05:45 +01:00
Pavol Rusnak c0220192d4
tools: fix binctl script 2018-01-26 15:51:19 +01:00
Pavol Rusnak 0d7f486733
bootloader: show different dialogs for firmware upgrade and vendor change 2018-01-26 15:51:19 +01:00
Pavol Rusnak 6e81a68fbe
bootloader: refactor flash erase after first chunk is received 2018-01-26 15:51:19 +01:00
Pavol Rusnak 739e4f2e45
fix release_num values 2018-01-25 17:46:29 +01:00
Pavol Rusnak b785fcce44
bootloader: revert ui color change 2018-01-25 16:43:54 +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 d39ceb0d99
bootloader: fix ui_screen_done flicker 2018-01-25 14:44:03 +01:00
Pavol Rusnak d27111472e
bootloader: show fingerprint on info click 2018-01-25 14:16:21 +01:00
Pavol Rusnak 8fc65d7f32
bootloader: small UI nitpicks 2018-01-25 13:21:04 +01:00