Commit Graph

147 Commits (4023b83febe0bb0aaaee27e0b8c74982997a1d47)

Author SHA1 Message Date
Pavol Rusnak 4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions
8 years ago
Pavol Rusnak a654b4c17d
stmhal: fix display_raw
8 years ago
Pavol Rusnak 3e9b6c09b0
stmhal: simplify init of display
8 years ago
Jan Pochyla 128a4b20b5 crypto: add bip32
8 years ago
Pavol Rusnak 8b22a38bce
new init sequence for display
8 years ago
Pavol Rusnak 846846561c
add possibility to save screen to png using ui.display.save() (unix port only)
8 years ago
Pavol Rusnak c5897e71ad
split extract bar_radius into a separate function
8 years ago
Pavol Rusnak 27fb301b22
validate mp_buffer_info_t usage for cases where len==0
8 years ago
Pavol Rusnak 157b12374f
make loader smaller
8 years ago
Pavol Rusnak e361eb157d
move text_center and text_right to lower layer, compute text length if not provided
8 years ago
Pavol Rusnak a36616d8e8
allow building unix port with no UI (TREZORUI_NOUI=1)
8 years ago
Pavol Rusnak 18c2066d83
move timer1_get_source_freq to display-stmhal.h
8 years ago
Pavol Rusnak 31a937de1b
bootloader ui (work in progress)
8 years ago
Pavol Rusnak d7398619e1
introduce trezor.ui.display.refresh
8 years ago
Pavol Rusnak 281070492d
fix bootloader, extract FONT_* constants
8 years ago
Pavol Rusnak 19bb7fc1e3
use display_clear where possible
8 years ago
Pavol Rusnak ed975398d9
move ui.clear into ui.display.clear
8 years ago
Jochen Hoenicke 8d3aed7ec0
Tweaked Gamma values
8 years ago
Pavol Rusnak 3a67b4d6d2
enable hw reset of display
8 years ago
Jan Pochyla b49ae3deee
do not update display after each letter
8 years ago
slush0 fdc14513a6
Added 'pass' where docstring is missing.
8 years ago
slush0 9eaf34a2c7
Fixed python header
8 years ago
Pavol Rusnak db6673b50e
move initialization of I2C1 to msg_init()
8 years ago
Jan Pochyla 5c02718c58
fix int param for crypto.random.uniform()
8 years ago
Pavol Rusnak e480871db3
generate proper events from touchscreen
8 years ago
Pavol Rusnak 0d3facf99e
minor changes to display module
8 years ago
Pavol Rusnak ddaa1b1502
adapt display driver for ST7789V
8 years ago
Pavol Rusnak f727cab942
rework aes module, add summary to test script
8 years ago
Pavol Rusnak dd78f83576
update docu strings in aes
8 years ago
Pavol Rusnak 8f80749870
update docu strings in native code
8 years ago
Pavol Rusnak d32dc93c10
implement hid methods in trezor.msg
8 years ago
Pavol Rusnak e577e764fc
modules do not have .name field anymore
8 years ago
Pavol Rusnak d9495b12ac
trezor.crypto.aes finished (including unit tests)
8 years ago
Pavol Rusnak fc05f25255
trezor.crypto.aes work in progres
8 years ago
Pavol Rusnak 80be60c3ff
remove todo
8 years ago
Pavol Rusnak 5c3e0c9b6f
use mp_obj_new_int_from_uint when returning uint32
8 years ago
Pavol Rusnak 754350df9e
fix discrepancy between msg_poll_ui_event and trezorui_poll_sdl_event
8 years ago
Karel Bilek 65746643f4
fix msg_recv iface reporting
8 years ago
Pavol Rusnak f2c331d783
update submodule, start bootloader work
8 years ago
Pavol Rusnak d4d8729568
add mem constants to debug module
8 years ago
Pavol Rusnak fbfd9d4b61
split debug (=dangerous) things from trezor.utils to trezor.debug
8 years ago
Pavol Rusnak a768d32ff9
display.bar now can set roundness
8 years ago
Pavol Rusnak 5b6ab9ca96
small fixes; res contains just toig/toif files (png are in /assets)
8 years ago
chren 9ca6d61bcc
minor design changes in colors, pin and white border
8 years ago
Pavol Rusnak daa1df9f0f
make backlight code cleaner
8 years ago
Pavol Rusnak 8b27cc3b71
trezor.ui.display.backlight works now
8 years ago
Pavol Rusnak 9f40362482
remove homebrew docu generator, use docstring syntax
8 years ago
Pavol Rusnak c0dfe2d702
fix include in ssss
8 years ago
Pavol Rusnak 154184e4e2
add unit tests for trezor.crypto.random
8 years ago
Pavol Rusnak 35b26651ba
add trezor.crypto.random
8 years ago