Commit Graph

193 Commits (b145f8f309d5fe6fc89d0c39f4abda9c50516f6b)

Author SHA1 Message Date
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
Pavol Rusnak 2cf75d85e7
more ssss work
8 years ago
Pavol Rusnak 6f08f3f6a8
update docu
8 years ago
Pavol Rusnak 852a950d66
fix issue with format string
8 years ago
Pavol Rusnak 9dc4813ec7
add trezor.crypto.ssss skeleton
8 years ago
Jan Pochyla b6caad6b9b
send touch events on iface in modtrezormsg
8 years ago
Pavol Rusnak b34b8e6959
change license to TREZOR License
8 years ago
Pavol Rusnak 38b66cb6d8
introduce msg.setup proof-of-concept
8 years ago
Pavol Rusnak bf02fe0ddf
trezor.msg is now iface aware
8 years ago
Pavol Rusnak 2576d9c3a4
trezor.storage -> trezor.config
8 years ago
Pavol Rusnak 0fb6fc05a5
further changes to trezor.storage
8 years ago
Pavol Rusnak 9ed3b24edf
add default value to trezor.storage.get
8 years ago
Pavol Rusnak ddf6771981
add trezor.storage
8 years ago
Jan Pochyla 9104d7684c
fix msg.send()
8 years ago
Jan Pochyla 46acb9ff2b
HID_READ is 8 now
8 years ago
Pavol Rusnak dbc57b16d4
simulator border now reflects backlight value
8 years ago
Pavol Rusnak 171a7b3795
display.orientation() and display.backlight() now return current value
8 years ago
Pavol Rusnak 5968eb3f5f
add build_cross and build_frozen make targets
8 years ago
Pavol Rusnak 18abed64f0
fix black as alpha in ui simulator
8 years ago
Pavol Rusnak 8f7fc96301
add trezor.crypto.bip39.seed
8 years ago
Pavol Rusnak 910926e25c
add trezor.crypto.bip39
8 years ago
Pavol Rusnak 9222b77a03
improve inflate code
8 years ago
Jan Pochyla 2e280ca358
TOUCH_END is uint(4) now
8 years ago
Pavol Rusnak 20e426e846
rename gen_loader.py to loader_gen.py
8 years ago
Pavol Rusnak 406f0c6783
move unpack of icon to display_loader()
8 years ago
Pavol Rusnak 85d068f03f
reorganize modtrezorui sources
8 years ago
Pavol Rusnak 1e1242437c
sram_init -> display_sram_init
8 years ago
Pavol Rusnak 871ea5cc70
update vendor/micropython
8 years ago
Pavol Rusnak 7fb1d7247c
remove self from documentation where it should not be
8 years ago
Pavol Rusnak 67c0ecfb23
add possibility to change UDP ip+port via env variables
8 years ago
Pavol Rusnak c5b5955539
add more docu
8 years ago
Pavol Rusnak 3d8f8a659a
rework documentation, proof of concept api docu generator
8 years ago
Jan Pochyla b5f8c2303c
make event ids positive again
8 years ago
Pavol Rusnak b0a6b3fe15
implement bar with rounder corners
8 years ago
Pavol Rusnak d2f65d67cd
rename buffer variables, add const where possible
8 years ago
Pavol Rusnak 588be646c0
move text_center, text_right methods into display class
8 years ago
Pavol Rusnak 707b642954
use wider border in emu
8 years ago
Pavol Rusnak 6f9edb349c
add fingerprint layout
8 years ago
Pavol Rusnak d746c79fb8
add display.text_width
8 years ago
Pavol Rusnak b7b57ae53e
new pbkdf2 api with update
8 years ago
Pavol Rusnak 5c6a7c91f2
iconfgcolor in display.loader works now
8 years ago
Pavol Rusnak 0e18fcce96
add iconcolor to display.loader (not implemented yet)
8 years ago
Pavol Rusnak c91bca8a8a
improve display.loader
8 years ago
Pavol Rusnak 244002a4a8
fix last commit
8 years ago
Pavol Rusnak 6f4a34b741
add display.loader
8 years ago
Pavol Rusnak 34e3b51ba8
return tuple for msg events as well
8 years ago
Pavol Rusnak 11190fccba
remove extraneous motion events from queue
8 years ago
Pavol Rusnak 9856f96cf7
add hw button to msg.select, build 32-bit unix port by default
8 years ago
Jan Pochyla 38aa463060
make utils.select posix-compat
8 years ago
Pavol Rusnak 1664a4fc29
replace wait with msg.select
8 years ago
Pavol Rusnak 7559207a62
new message handling using msg.select
8 years ago
Pavol Rusnak 904127f263
remove ui.touch, add utils.select
8 years ago
Pavol Rusnak d7a937f553
singlethread handling of sdl events
8 years ago
Pavol Rusnak 4f90848c0a
remove native moduleprotobuf
8 years ago
Pavol Rusnak 0a8870f110
add modtrezorutils
8 years ago