1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
matejcik
d866128fbe embed/unix: emit TOUCH_END when mouse leaves active area. (#134)
This fixes the "swiping bug", swiping in emulator now feels more natural.
2018-03-01 14:59:36 +01:00
Pavol Rusnak
0eff62bb5c
embed/unix: copy main.c from micropython, change mp_stack_set_limit from 40k to 60k 2018-02-27 01:40:13 +01:00
Pavol Rusnak
081dcdd98f
embed/unix: resize emulator window if no background image found 2018-02-26 19:44:29 +01:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak
2bb9d80c18
embed/unix: implement nice background into emulator 2018-02-25 02:16:35 +01:00
Pavol Rusnak
35e1135c95
embed/extmod/modtrezorutils: add symbol() func
to expose internal C symbols, usually defined as macros
2018-02-23 21:27:26 +01:00
Pavol Rusnak
2bebd0eec5
embed/trezorhal+unix: add copyright headers 2018-02-23 19:04:46 +01:00
Pavol Rusnak
3eab20e278
embed: refactor MIN/MAX macros in common.h 2018-02-22 20:35:32 +01:00
Pavol Rusnak
1e03a5d554
unix: start udp port for each active hid/webusb interface 2018-02-01 14:22:24 +01:00
Pavol Rusnak
8ef2098763
trezorhal: unix: refactor touch get/pack functionality 2018-01-24 13:41:02 +01:00
Pavol Rusnak
2f567ee822
bootloader: rework UI 2018-01-24 12:47:55 +01:00
Pavol Rusnak
00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word} 2018-01-23 16:58:53 +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
3098dc8447
unix: don't use usb_hid_write from usb_hid_read for PING/PONG 2018-01-17 23:40:24 +01:00
Jan Pochyla
2c3df7381f unix/usb: fix wur 2018-01-16 15:46:32 +01:00
Pavol Rusnak
b98a1db6ee
embed: cleanup unused modules 2018-01-02 20:00:12 +01:00
Pavol Rusnak
424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak
f1a75b36f7
vendor: update micropython to 1.9.3 release 2018-01-01 21:49:08 +01:00
Pavol Rusnak
333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +01:00
Pavol Rusnak
eff3ce2aa8
unix: use ensure, not (void) 2017-12-19 19:42:56 +01:00
Jan Pochyla
7be96048f8 unix: fix wur in usb 2017-12-19 15:13:12 +01:00
Pavol Rusnak
47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak
5e93cca0a9
WIP 2017-12-16 17:54:12 +01:00
Pavol Rusnak
be302480fd
modtrezorcrypto: cleanup random 2017-12-15 16:56:08 +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
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong 2017-12-09 14:48:49 +01:00
Pavol Rusnak
626a8885ce
trezor.config: add compaction test 2017-12-08 16:46:13 +01:00
Pavol Rusnak
7f5192701f
unix: use mmap to access flash file 2017-12-08 14:18:15 +01:00
Pavol Rusnak
38e3088325
common: don't expose shutdown() via common.h 2017-12-08 12:42:43 +01:00
Pavol Rusnak
f88080b904
Merge branch 'pin_fails' 2017-12-07 15:29:47 +01:00
Pavol Rusnak
4002ef2a49
firmware, unix: return cpython compatibility (needed for __class__ and __dict__) 2017-11-21 15:35:46 +01:00
Pavol Rusnak
ec6c3c2cdc
unix, firmware: more cleanup 2017-11-21 15:11:35 +01:00
Pavol Rusnak
d4893add54
firmware, unix: turn off some modules 2017-11-20 17:29:24 +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
Pavol Rusnak
5444410e04
unix: use return value from fread properly 2017-11-06 15:44:35 +01:00
Pavol Rusnak
2e3b8336c2
unix: fix unused-result warning 2017-11-06 11:12:43 +01:00
Pavol Rusnak
ee7d260d2f
trezorhal: use const where possible for flash 2017-11-05 23:51:10 +01:00
Jan Pochyla
1f6cc70480 flash: remove flash_set_option_bytes 2017-11-05 21:00:38 +01:00
Jan Pochyla
662cfc1b2c unix/flash: use secbool 2017-11-05 20:46:59 +01:00
Jan Pochyla
c2ec40bebf flash: flash_init returns bool 2017-11-05 20:46:58 +01:00
Jan Pochyla
d4443a4f7f unix/flash: start with 0xff 2017-11-05 20:46:11 +01:00
Jan Pochyla
12708b4987 unix/flash: default FLASH_FILE 2017-11-05 20:46:11 +01:00
Jan Pochyla
c78babdc12 flash: add flash_get_address 2017-11-05 20:46:11 +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
3851404d04
small cosmetic changes to prodtest and others 2017-10-27 06:01:22 +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
2fc69bed61
embed: rename trassert to ensure 2017-10-12 16:06:53 +02:00
Pavol Rusnak
8cc8272fb3
build: pass gitrev, use it in fatal_error 2017-10-12 16:02:40 +02:00