Commit Graph

36 Commits

Author SHA1 Message Date
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model() 2018-03-04 12:59:16 +01:00
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled 2018-02-02 16:02:37 +01:00
Pavol Rusnak 4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB 2018-02-02 15:27:04 +01:00
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object 2018-01-31 16:46:15 +01:00
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table 2018-01-28 02:43:00 +01:00
Pavol Rusnak 1280073c04
trezorhal: remove unnecessary casting for usb strings 2018-01-25 15:34:45 +01:00
Pavol Rusnak 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB 2018-01-21 00:04:05 +01:00
Pavol Rusnak 311af09236
trezor.io: fix typo in VCP class 2018-01-20 22:00:16 +01:00
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos 2018-01-20 21:48:53 +01:00
Pavol Rusnak fea8d53b85
trezor.io: cleanup usb code 2018-01-17 16:10:31 +01:00
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 2018-01-03 21:53:58 +01:00
Pavol Rusnak 424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak 5e476b856e
unix: implement sdcard, add unit test 2017-12-15 01:00:00 +01:00
Pavol Rusnak 48ef409fdb
modtrezorio: remove mocks 2017-12-15 00:06:09 +01:00
Pavol Rusnak 44a11fa3ef
norcow: introduce NORCOW_MAGIC 2017-12-08 13:42:17 +01:00
Jan Pochyla cf14717d43 unix: add shutdown()
As sys/socket.h defines shutdown also, we can't include common.h in unix mocks.
2017-11-08 18:07:33 +01:00
Jan Pochyla 543e8c5007 flash: add unix/flash.c 2017-11-05 20:46:11 +01:00
mcudev d1ed02fb98 touch: use full 12-bit X and Y values 2017-11-05 16:20:37 +01:00
Pavol Rusnak 7d0a12c29e
unix: fix build 2017-10-29 23:26:44 +01:00
Pavol Rusnak 4d36d0e1c1
trezorhal: use sectrue where possible 2017-10-27 03:58:00 +02:00
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible 2017-10-26 23:51:39 +02:00
Pavol Rusnak 6b9751d30d
trezorhal: cleanup usb api 2017-10-20 18:51:05 +02:00
Pavol Rusnak 4f041e9f3a
trezorhal: update sdcard api 2017-10-20 18:13:17 +02:00
Pavol Rusnak 3033762618
trezorhal: make touch_init and usb_init return void, use ensure inside 2017-10-20 17:18:55 +02:00
Pavol Rusnak 79fe9162b5
trezorhal: simplify api for init functions, use bool and void rather than int 2017-10-20 15:25:24 +02:00
Pavol Rusnak b1d9a59a79
unix: fix build 2017-10-16 21:02:21 +02:00
Pavol Rusnak 67d8d4fa2e
modtrezorio: add FlashOTP class 2017-09-27 12:00:35 +02:00
Pavol Rusnak a67be06349
trezorhal: add io.SBU 2017-09-07 23:50:57 +02:00
Pavol Rusnak a926e5047d
trezor.io: update comment in sdcard read/write methods 2017-09-05 08:04:21 +02:00
Jan Pochyla a15f6e3835 modtrezorio: fix missing includes 2017-08-15 18:14:14 +02:00
Jan Pochyla b1b84fb233 modtrezorio: move write() to HID 2017-08-15 18:14:14 +02:00
Jan Pochyla d2781d030d msg: rename to io 2017-08-15 18:14:14 +02:00
Jan Pochyla 4c987454eb modtrezormsg: merge to modtrezorio 2017-08-15 18:14:14 +02:00
Jan Pochyla 55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00