Commit Graph

456 Commits (0fbf2261ccabd85836b204fd1b5df51dabd56256)

Author SHA1 Message Date
Pavol Rusnak db141fbc14
src/trezor: rework PIN progress update
7 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
7 years ago
Pavol Rusnak 64f7089d45
embed/extmod/modtrezorui: implement proper backlight
7 years ago
Pavol Rusnak 35e1135c95
embed/extmod/modtrezorutils: add symbol() func
7 years ago
Pavol Rusnak fae8ffda9f
embed/trezorhal: simplify systick, remove microsecond precision
7 years ago
Pavol Rusnak 02358b3932
embed/trezorhal: move systick from vendor to trezorhal
7 years ago
Pavol Rusnak 21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware
7 years ago
Pavol Rusnak 2bebd0eec5
embed/trezorhal+unix: add copyright headers
7 years ago
Pavol Rusnak 8e3e1837d1
embed/firmware: call display_clear in main
7 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
7 years ago
Pavol Rusnak d5ab82ae2b
embed/extmod/modtrezorui: refactor DISPLAY_OFFSET
7 years ago
Pavol Rusnak 30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures
7 years ago
Pavol Rusnak e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display
7 years ago
Pavol Rusnak 4ad6a7a634
embed/bootloader: increase USB timeout to 500
7 years ago
Pavol Rusnak 5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader
7 years ago
Pavol Rusnak 302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware
7 years ago
Pavol Rusnak 1469ede956
embed: bump versions
7 years ago
Pavol Rusnak c115faf2cd
embed/trezorhal/usb: correct handling of interface messages in usb_class_setup
7 years ago
Pavol Rusnak 7b2fd6ae4c
embed/bootloader: move Welcome! string 5px above
7 years ago
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items
7 years ago
Pavol Rusnak 8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c
7 years ago
mcudev 0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation
7 years ago
Pavol Rusnak 34c6fb987a
embed/bootloader: better detection of broken firmware at start
7 years ago
Pavol Rusnak 9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32
7 years ago
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes
7 years ago
Pavol Rusnak 2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default
7 years ago
Pavol Rusnak fa697ba322
embed/vendorheader: add unsafe_signed_prod, use it by default
7 years ago
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
7 years ago
Pavol Rusnak 329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision
7 years ago
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod
7 years ago
Pavol Rusnak 47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch)
7 years ago
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message
7 years ago
Pavol Rusnak 548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t
7 years ago
Jan Pochyla 00c4da83b9 modtrezorconfig: fix has_pin
7 years ago
Pavol Rusnak e865012663
bootloader: use webusb by default
7 years ago
Pavol Rusnak 40e20e2e9d
trezorhal: fix usb class behaviour
7 years ago
Pavol Rusnak 61b4e3d6e3
trezorhal: fix typos
7 years ago
Pavol Rusnak b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled
7 years ago
Pavol Rusnak 4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB
7 years ago
Pavol Rusnak d1b5a254ef
prodtest: bump release_num in usb
7 years ago
Pavol Rusnak 94fc0f7ac0
extmod: if debug build is used, disable LoadDevice, wipe storage on start, draw red square in corner
7 years ago
Pavol Rusnak 1e03a5d554
unix: start udp port for each active hid/webusb interface
7 years ago
Pavol Rusnak db71afca60
prodtest: use different release_num
7 years ago
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object
7 years ago
Pavol Rusnak 52a942afd4
bootloader: fix anti-aliasing in install icon
7 years ago
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader
7 years ago
Pavol Rusnak bfa79cbfd3
firmware: update versions in version.h
7 years ago
Pavol Rusnak ebc585fd40
trezorhal: fix bug in flash_otp_write
7 years ago
Pavol Rusnak 1bf278c3ee
firmware: add vendorheader_sl_signed.bin
7 years ago
Pavol Rusnak c934109d65
boardloader, bootloader: bump versions to 2.0
7 years ago
Pavol Rusnak 0b4c703813
bootloader: update booting ui
7 years ago
Pavol Rusnak 1b712a0446
trezorhal: fix simple interface behaviour on windows
7 years ago
Pavol Rusnak 399d6d2f65
trezorhal: make webusb more robust
7 years ago
Pavol Rusnak 08c145c4da
trezorhal: fix winusb
7 years ago
Pavol Rusnak 5e4b632f14
bootloader: firmware: use "Go to" instead of "Open", because that's what Chrome uses :-/
7 years ago
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table
7 years ago
Pavol Rusnak 55d0416641
trezorhal: make usb stack more robust
7 years ago
Pavol Rusnak d6681efff2
trezorhal: update usb maxpower
7 years ago
Pavol Rusnak efd926208d
bootloader: refactor version formatting into format_ver
7 years ago
Pavol Rusnak c0220192d4
tools: fix binctl script
7 years ago
Pavol Rusnak 0d7f486733
bootloader: show different dialogs for firmware upgrade and vendor change
7 years ago
Pavol Rusnak 6e81a68fbe
bootloader: refactor flash erase after first chunk is received
7 years ago
Pavol Rusnak 739e4f2e45
fix release_num values
7 years ago
Pavol Rusnak b785fcce44
bootloader: revert ui color change
7 years ago
Pavol Rusnak a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks
7 years ago
Pavol Rusnak 1280073c04
trezorhal: remove unnecessary casting for usb strings
7 years ago
Pavol Rusnak d39ceb0d99
bootloader: fix ui_screen_done flicker
7 years ago
Pavol Rusnak d27111472e
bootloader: show fingerprint on info click
7 years ago
Pavol Rusnak 8fc65d7f32
bootloader: small UI nitpicks
7 years ago
Pavol Rusnak 117a3efbe2
bootloader: refactor fadeins/fadeouts
7 years ago
Pavol Rusnak 5538614a79
bootloader: rework onboarding
7 years ago
Pavol Rusnak 2e00c090b6
bootloader: add confirm dialogs for wipe/upgrade
7 years ago
Pavol Rusnak ae94bc95fb
bootloader: add "connect to host" screen
7 years ago
Pavol Rusnak 8ef2098763
trezorhal: unix: refactor touch get/pack functionality
7 years ago
Pavol Rusnak 2f567ee822
bootloader: rework UI
7 years ago
Pavol Rusnak f6f6e8593a
bootloader: don't crash on empty usb queue
7 years ago
Pavol Rusnak 9fcb59c3ca
trezorhal: reply with winusb guid just for interface 0
7 years ago
Pavol Rusnak ca0918dbce
trezorhal: rework winusb
7 years ago
Pavol Rusnak 00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word}
7 years ago
Pavol Rusnak 1e7920435c
bootloader: fix flashing of non-continous firmware areas
7 years ago
Pavol Rusnak 089168209b
trezorhal: fix webusb landing page
7 years ago
Pavol Rusnak 919e2b9c3b
trezorhal: formatting nits in usb
7 years ago
Pavol Rusnak 9f80d5614a
trezorhal: add winusb magic to webusb interface
7 years ago
Pavol Rusnak f50afd2d2a
bootloader: add (optional) WebUSB support
7 years ago
Pavol Rusnak 5ef0967857
trezorhal: small fixes to USB stack
7 years ago
Pavol Rusnak aa8c192040
trezor.io: remove unused fields from WebUSB class
7 years ago
Pavol Rusnak 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB
7 years ago
Pavol Rusnak d927b80b50
trezorhal: more tests in usb
7 years ago
Pavol Rusnak 51db0c4099
fix typo
7 years ago
Pavol Rusnak 311af09236
trezor.io: fix typo in VCP class
7 years ago
Pavol Rusnak 9d10a7a508
trezorhal: more switch formatting
7 years ago
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos
7 years ago
Pavol Rusnak 08376a4a54
fix typo
7 years ago
Pavol Rusnak e92440dfc8
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak 3098dc8447
unix: don't use usb_hid_write from usb_hid_read for PING/PONG
7 years ago
Pavol Rusnak fea8d53b85
trezor.io: cleanup usb code
7 years ago
Pavol Rusnak ea116d742a
use explicit_bzero where possible; update trezor-crypto
7 years ago
Jan Pochyla 2c3df7381f unix/usb: fix wur
7 years ago
Jan Pochyla 20c4900df1 modtrezorcrypto/bip39: throw less exceptions
7 years ago
Pavol Rusnak 27d9abe883
trezor.config: add public values (readable without unlock)
7 years ago