Karel Bilek
d576df427e
emulator: make buildable on macOS
2018-12-10 15:00:11 +01:00
Yannick Heneault
2214b99d64
Added fullscreen mode for emulator. Setting the environment variable TREZOR_OLED_FULLSCREEN to non-zero activate that mode. ( #402 )
2018-08-15 19:40:50 +02:00
Yannick Heneault
df5348fb14
emulator: support /dev/{u,}random configuration at compile time; default is still /dev/urandom ( #396 )
2018-08-10 15:40:08 +02:00
heneault
dca28f1c44
commit emulator flash modification to persistent storage ( #390 )
2018-08-02 14:59:46 +02:00
matejcik
8851863f81
emulator: open a second socket for debuglink, same as T2
2018-04-04 16:21:43 +02:00
Yura Pakhuchiy
3a3bea1401
Emulator: allow software renderer
...
Makes emulator usable in containers
2018-03-30 13:59:45 +02:00
Jochen Hoenicke
ed7a8bfa6c
Fixes for emulator
2018-03-29 01:30:40 +02:00
Jochen Hoenicke
c09590b54d
Cleaner flash handling using FLASH_PTR
...
Use `FLASH_PTR` macro to convert a flash address to a const pointer.
For real hardware it is just a cast, for emulator we subtract the
`FLASH_ORIGIN` and use it as index into the memory mapped flash file.
Make write access to flash with volatile pointers
Also use FLASH_PTR in DebugMemory* for now. This allows for reading and
writing the flash in the emulator or just crash it by reading outside
the flash...
2018-03-29 01:16:46 +02:00
Jochen Hoenicke
39ea33523d
Don't hog CPU on shutdown
2018-03-29 01:03:58 +02:00
Jochen Hoenicke
4ebbe8c274
Fix compilation problems
2018-03-29 01:03:58 +02:00
Saleem Rashid
7376b97ee6
emulator: Add TREZOR_OLED_SCALE variable
2018-02-19 00:17:03 +01:00
Saleem Rashid
b4e3cd3e0c
emulator: Refactor strlcpy
...
Performance is unimportant and this implementation makes it easier to
fuzz.
2018-02-14 13:00:47 +01:00
Saleem Rashid
3000a4ac8d
Fix emulator strlcpy implementation ( #298 )
2018-02-12 16:56:01 +01:00
Saleem Rashid
17340c2396
emulator: Show DEBUG_LINK indicator
2017-12-18 20:09:59 +01:00
Saleem Rashid
644907e160
emulator: Add EMULATOR=1 to emulator/Makefile
2017-12-18 20:09:59 +01:00
Saleem Rashid
ba5b44d0c5
emulator: Initial commit
2017-12-18 20:09:59 +01:00