1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

fix(core): T3T1 emulator

[no changelog]
This commit is contained in:
Martin Milata 2024-03-04 01:02:05 +01:00
parent d68c92a5e2
commit 3b721360c4
2 changed files with 9 additions and 0 deletions

View File

@ -447,6 +447,7 @@ env = Environment(ENV=os.environ, CFLAGS='%s -DPYOPT=%s -DBITCOIN_ONLY=%s %s' %
if TREZOR_MODEL in ('T', 'T3T1'):
UI_LAYOUT = 'UI_LAYOUT_TT'
ui_layout_feature = 'model_tt'
# XXX TODO
elif TREZOR_MODEL in ('1', 'R'):
UI_LAYOUT = 'UI_LAYOUT_TR'
ui_layout_feature = 'model_tr'

View File

@ -28,6 +28,14 @@
#define USE_OPTIGA 1
#endif
#ifdef TREZOR_MODEL_T3T1
#define USE_TOUCH 1
#define USE_SD_CARD 1
#define USE_SBU 1
#define USE_RGB_COLORS 1
#define USE_BACKLIGHT 1
#endif
#include "display-unix.h"
#endif //_BOARD_UNIX_H