1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-11 10:29:01 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
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
40104822e8
unix: make SDL failures fatal 2017-12-07 12:44:38 +01:00
Pavol Rusnak
679d024df0
display: use CMD2EN: Command 2 Enable 2017-11-22 19:31:58 +01:00
mcudev
5556c37f6f display: hardware reset updates 2017-11-21 10:22:16 -05:00
mcudev
61ff3b46c5 display: ST7789V porch settings are for RGB interface, not parallel 8080-I 2017-11-21 10:22:16 -05:00
mcudev
30829b281c display: ST7789V remove commands that unnecessarily set default values again 2017-11-21 10:22:16 -05:00
mcudev
e62fa345c8 display: minor ILI9341 updates 2017-11-21 10:22:16 -05:00
mcudev
a0129e7715 display: orientation, windowing, and config updates 2017-11-21 10:22:16 -05:00
mcudev
f53ec3f928 display: update display_unsleep 2017-11-21 10:22:16 -05:00
mcudev
5e867cc092 display: update display_sleep 2017-11-21 10:22:16 -05:00
Jan Pochyla
5bd39c70b0 storage: fix change_pin and small details 2017-11-08 18:08:19 +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
879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions 2017-11-07 20:44:30 +01:00
Jan Pochyla
237740de9c storage: implement change_pin 2017-11-06 17:47:05 +01:00
Jan Pochyla
5e643e9195 modtrezorconfig: fix has_pin 2017-11-06 17:26:25 +01:00
Jan Pochyla
df77e74988 storage: fix unlock 2017-11-06 17:26:13 +01:00
Pavol Rusnak
30363305f4
modtrezorconfig: use secbool, not bool 2017-11-05 23:32:32 +01:00
Jan Pochyla
0376ff7f48 storage, norcow: use secbool 2017-11-05 20:46:59 +01:00
Jan Pochyla
418f035811 storage: add has_pin and change_pin
TODO: finish change_pin
2017-11-05 20:46:59 +01:00
Jan Pochyla
353883e0f3 storage: rename constant 2017-11-05 20:46:11 +01:00
Jan Pochyla
b6ba95625c norcow: port on top of flash.c, remove config 2017-11-05 20:46:11 +01:00
Jan Pochyla
27bfcfe1af norcow: import into tree 2017-11-05 20:46:11 +01:00
Jan Pochyla
f07b4dda0b modtrezorconfig: extract pin & unlocking to storage.c 2017-11-05 20:46:11 +01:00
Jan Pochyla
fdc2f6a39d modtrezorconfig: use new flash API 2017-11-05 20:46:11 +01:00
Jan Pochyla
543e8c5007 flash: add unix/flash.c 2017-11-05 20:46:11 +01:00
Jan Pochyla
4cabe40220 storage: pin checking in c proof of concept
TODO: move out of modtrezorconfig
TODO: flash unix mock
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
3851404d04
small cosmetic changes to prodtest and others 2017-10-27 06:01:22 +02: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
Jan Pochyla
f93316bebd cleanup .gitignore files 2017-10-24 16:24:59 +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
17c3d2b56f
bootloader: implement UI according to mockup 2017-10-17 17:31:16 +02:00
Pavol Rusnak
fdafae7d8d
trezorhal: remove timer1_get_source_freq function 2017-10-17 15:50:45 +02:00
mcudev
4f16aed757 display: handle TEON and COLMOD the same for both display types (#55) 2017-10-17 14:27:55 +02:00
Pavol Rusnak
b1d9a59a79
unix: fix build 2017-10-16 21:02:21 +02:00
Pavol Rusnak
82050912c4
bootloader: implement WipeDevice 2017-10-16 20:56:16 +02:00
mcudev
ca8d93ab5d boardloader, bootloader, firmware: factor out display_pwm_init (#52) 2017-10-16 20:56:05 +02:00
mcudev
0e2a1da99b display: remove redundant display commands and increase wait after reset (#51) 2017-10-16 14:46:20 +02:00
Pavol Rusnak
b6f9df10bb
display: set minimum possible values for sram controller 2017-10-15 22:07:34 +02:00
Pavol Rusnak
46a0dd8648
display: fix DataSetupTime for ST7789V 2017-10-15 21:39:00 +02:00
mcudev
e2b66436df display: tearing effect cleanup 2017-10-15 21:38:16 +02:00
mcudev
26852e5aee boardloader: display_init stm32f42x updates 2017-10-15 21:38:16 +02:00
Pavol Rusnak
2fc69bed61
embed: rename trassert to ensure 2017-10-12 16:06:53 +02:00
Pavol Rusnak
380d08f1d0
embed: introduce trassert (trezor assert) 2017-10-12 00:35:14 +02:00