Commit Graph

77 Commits (6124c2191523ca4e19d65017939eb6f31c58bdaa)

Author SHA1 Message Date
Pavol Rusnak b24c062a3d
firmware: bundle latest bootloader, replace it when needed
5 years ago
Pavol Rusnak ee3e313230
firmware: use OTP block 3 for storing randomness
5 years ago
andrew 8b78e6710a
common.c: Add error_shutdown().
5 years ago
Pavol Rusnak 8832c6e63b
embed/trezorhal: rename flash functions
5 years ago
Pavol Rusnak b754ee8cf6
embed/trezorhal: collect HW entropy before MPU kicks in
5 years ago
andrew 5f94b6a6d2
Add CPUID, flash size and unique device ID as salt to storage_init().
5 years ago
Pavol Rusnak 806805e296
replace all usage of memset(_, 0, _) with memzero
6 years ago
Pavol Rusnak 113a557f17
embed/trezorhal+unix: small refactor to flash.c
6 years ago
Pavol Rusnak b4894c3431
unix: add raspi target
6 years ago
Milan Rossa fc9bc85ea3
unix: user profiles support for emulator
6 years ago
Pavol Rusnak 0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
6 years ago
Pavol Rusnak 72d1c457c2
embed/extmod/modtrezorui: fix minor issue in display_print
6 years ago
Pavol Rusnak 108d84051e
embed/extmod/modtrezorui: add more T1/T2 ifdefs to display functions
6 years ago
Pavol Rusnak 8874925fb8
unix: support backgrounds for models T and 1
6 years ago
Pavol Rusnak f23f751ab0
extmod/modtrezorui: prepare display UI for model change
6 years ago
Pavol Rusnak e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI
6 years ago
Pavol Rusnak 01a876f486
embed: add confirm/cancel actions to touch events
6 years ago
Pavol Rusnak 35dcd917dd
embed/unix: save screenshot on "P" press in emulator
6 years ago
Jan Pochyla 62111f240e unix: remove native emitters
6 years ago
Jan Pochyla edcc96ee09 embed: use correct string constructors
6 years ago
matejcik d866128fbe embed/unix: emit TOUCH_END when mouse leaves active area. (#134)
6 years ago
Pavol Rusnak 0eff62bb5c
embed/unix: copy main.c from micropython, change mp_stack_set_limit from 40k to 60k
6 years ago
Pavol Rusnak 081dcdd98f
embed/unix: resize emulator window if no background image found
6 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
6 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
6 years ago
Pavol Rusnak 35e1135c95
embed/extmod/modtrezorutils: add symbol() func
6 years ago
Pavol Rusnak 2bebd0eec5
embed/trezorhal+unix: add copyright headers
6 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
6 years ago
Pavol Rusnak 1e03a5d554
unix: start udp port for each active hid/webusb interface
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 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 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB
7 years ago
Pavol Rusnak 3098dc8447
unix: don't use usb_hid_write from usb_hid_read for PING/PONG
7 years ago
Jan Pochyla 2c3df7381f unix/usb: fix wur
7 years ago
Pavol Rusnak b98a1db6ee
embed: cleanup unused modules
7 years ago
Pavol Rusnak 424115967f
embed: fix wur for usb functions
7 years ago
Pavol Rusnak f1a75b36f7
vendor: update micropython to 1.9.3 release
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak eff3ce2aa8
unix: use ensure, not (void)
7 years ago
Jan Pochyla 7be96048f8 unix: fix wur in usb
7 years ago
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code
7 years ago
Pavol Rusnak 5e93cca0a9
WIP
7 years ago
Pavol Rusnak be302480fd
modtrezorcrypto: cleanup random
7 years ago
Pavol Rusnak 5e476b856e
unix: implement sdcard, add unit test
7 years ago
Pavol Rusnak 48ef409fdb
modtrezorio: remove mocks
7 years ago
Pavol Rusnak 6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong
7 years ago
Pavol Rusnak 626a8885ce
trezor.config: add compaction test
7 years ago
Pavol Rusnak 7f5192701f
unix: use mmap to access flash file
7 years ago
Pavol Rusnak 38e3088325
common: don't expose shutdown() via common.h
7 years ago