Commit Graph

41 Commits (066d4b4e9adad4eef1ccf83d577d1563eb0cb977)

Author SHA1 Message Date
Pavol Rusnak 01a876f486
embed: add confirm/cancel actions to touch events
6 years ago
Pavol Rusnak e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic
6 years ago
Pavol Rusnak 68669dd8e4
firmware: disable WebUSB landing page (#174)
6 years ago
Jan Pochyla bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense
6 years ago
Jan Pochyla 39c1c85abb embed/extmod: use trezor_obj_get_uint for uint32_t
6 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
7 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
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 488e516cbf
trezorhal: add device_class, etc. to usb object
7 years ago
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table
7 years ago
Pavol Rusnak 1280073c04
trezorhal: remove unnecessary casting for usb strings
7 years ago
Pavol Rusnak 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB
7 years ago
Pavol Rusnak 311af09236
trezor.io: fix typo in VCP class
7 years ago
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos
7 years ago
Pavol Rusnak fea8d53b85
trezor.io: cleanup usb code
7 years ago
Pavol Rusnak 4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str
7 years ago
Pavol Rusnak 424115967f
embed: fix wur for usb functions
7 years ago
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code
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 44a11fa3ef
norcow: introduce NORCOW_MAGIC
7 years ago
Jan Pochyla cf14717d43 unix: add shutdown()
7 years ago
Jan Pochyla 543e8c5007 flash: add unix/flash.c
7 years ago
mcudev d1ed02fb98 touch: use full 12-bit X and Y values
7 years ago
Pavol Rusnak 7d0a12c29e
unix: fix build
7 years ago
Pavol Rusnak 4d36d0e1c1
trezorhal: use sectrue where possible
7 years ago
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible
7 years ago
Pavol Rusnak 6b9751d30d
trezorhal: cleanup usb api
7 years ago
Pavol Rusnak 4f041e9f3a
trezorhal: update sdcard api
7 years ago
Pavol Rusnak 3033762618
trezorhal: make touch_init and usb_init return void, use ensure inside
7 years ago
Pavol Rusnak 79fe9162b5
trezorhal: simplify api for init functions, use bool and void rather than int
7 years ago
Pavol Rusnak b1d9a59a79
unix: fix build
7 years ago
Pavol Rusnak 67d8d4fa2e
modtrezorio: add FlashOTP class
7 years ago
Pavol Rusnak a67be06349
trezorhal: add io.SBU
7 years ago
Pavol Rusnak a926e5047d
trezor.io: update comment in sdcard read/write methods
7 years ago
Jan Pochyla a15f6e3835 modtrezorio: fix missing includes
7 years ago
Jan Pochyla b1b84fb233 modtrezorio: move write() to HID
7 years ago
Jan Pochyla d2781d030d msg: rename to io
7 years ago
Jan Pochyla 4c987454eb modtrezormsg: merge to modtrezorio
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago