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 |
|
Pavol Rusnak
|
380d08f1d0
|
embed: introduce trassert (trezor assert)
|
2017-10-12 00:35:14 +02:00 |
|
Pavol Rusnak
|
09340e93d7
|
firmware+unix: sync mpconfigport.h with upstream
|
2017-10-03 16:28:03 +02:00 |
|
Jan Pochyla
|
bdc9496ff0
|
make: remove Makefiles
|
2017-08-15 21:24:15 +02:00 |
|
Jan Pochyla
|
4c987454eb
|
modtrezormsg: merge to modtrezorio
|
2017-08-15 18:14:14 +02:00 |
|
Jan Pochyla
|
c357692a43
|
scons: add SConscript.unix
|
2017-08-04 00:46:57 +02:00 |
|
Jan Pochyla
|
803e39c2a8
|
make: adapt to micropython -> embed rename
|
2017-07-28 16:33:40 +02:00 |
|
Jan Pochyla
|
55bd4a0806
|
rename /micropython to /embed
|
2017-07-28 16:23:45 +02:00 |
|