1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

1454 Commits

Author SHA1 Message Date
Jan Pochyla
418f035811 storage: add has_pin and change_pin
TODO: finish change_pin
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
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
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
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
2ebd2b1b6b jump_to: clear out before the next stage NMI exception handler can run 2017-11-05 19:37:05 +01:00
mcudev
ffc16a98b5 rng: header cleanup, loop codestyle 2017-11-05 19:37:05 +01:00
mcudev
816f78c052 builds: refer to CMSIS header which includes HAL due to USE_HAL_DRIVER 2017-11-05 19:37:05 +01:00
mcudev
cc9aa8c197 cleanup: do not use reserved identifiers for header guards 2017-11-05 19:37:05 +01:00
Pavol Rusnak
77cc62644d
firmware: don't return CYCCNT contents as it is always zero anyway (cycle counter is disabled) 2017-11-05 18:02:47 +01:00
Pavol Rusnak
8190e0909e
boardloader: set BOR level to 2 2017-11-05 16:42:20 +01:00
mcudev
1737f17f43
boardloader: flash option bytes, production changes 2017-11-05 16:42:20 +01:00
mcudev
15bdc59b46 touch: reset touch panel 2017-11-05 16:20:37 +01:00
mcudev
d9a64fbb6a touch: app note related updates and exit loop upon detection 2017-11-05 16:20:37 +01:00
mcudev
2ae1c99b06 touch: address simplification 2017-11-05 16:20:37 +01:00
mcudev
6aeccd5ee1 touch: make i2c_handle static and trivial simplification 2017-11-05 16:20:37 +01:00
mcudev
d1ed02fb98 touch: use full 12-bit X and Y values 2017-11-05 16:20:37 +01:00
Pavol Rusnak
dcb09012fb
docs: reorganize files 2017-11-05 04:00:05 +01:00
Pavol Rusnak
15b926dbbd
docs: small changes 2017-11-05 03:42:43 +01:00
Pavol Rusnak
2869d4cbcb
build: cosmetic changes to travis and docker build 2017-11-04 15:01:44 +01:00
Pavol Rusnak
396a25401a
docs: update readme 2017-11-04 02:18:18 +01:00
Pavol Rusnak
e0f83a5fb4
update license (use GPLv3) 2017-11-04 02:02:04 +01:00
Pavol Rusnak
ad517f376a
build: add build using docker 2017-11-04 01:56:05 +01:00
Pavol Rusnak
a067dca054
hardware: add interrupt/reset pins to touch panel description 2017-11-03 19:48:13 +01:00
mcudev
edd95d9b65 secbool: add unsigned literal suffixes 2017-11-03 19:38:18 +01:00
mcudev
7e01a733a3 shutdown: reorder operations 2017-11-03 19:33:15 +01:00
mcudev
5be5e19f99 clear_otg_hs_memory: remove unpredictable write 2017-11-03 19:33:15 +01:00
Pavol Rusnak
af86f57da3
u2f: add bitfinex 2017-11-03 19:06:59 +01:00
Jan Pochyla
278610dce1 apps/homescreen: fix backlight 2017-11-03 11:49:41 +01:00
Jan Pochyla
8342aa2e7d tests: enable test_msg_resetdevice.py 2017-10-31 17:07:13 +01:00
Jan Pochyla
0d17bc3f94 apps/management: fix reset_device, tune code style 2017-10-31 17:06:35 +01:00
Jan Pochyla
936487a523 tests: run v1 protocol tests 2017-10-31 13:55:51 +01:00
Jan Pochyla
f4ebe368b9 tests: enable load_device test 2017-10-31 13:55:36 +01:00
Jan Pochyla
c632f9450f trezorhal: add spread spectrum clock 2017-10-31 11:49:18 +01:00
Jan Pochyla
ce3dc61e63 tests: ignore test_cosi.py 2017-10-30 23:48:09 +01:00
Jan Pochyla
f093ca23d5 tests: ignore specific tests, testpy -> test_emu 2017-10-30 18:52:10 +01:00
Jan Pochyla
431a711060 usb: add trezor1-like debuglink 2017-10-30 17:34:21 +01:00
Jan Pochyla
6213974b6e prodtest: emulate python impl in OTP READ 2017-10-30 14:08:56 +01:00
Jan Pochyla
1e883530b4 scons: get file sizes in portable way 2017-10-30 14:07:52 +01:00
Pavol Rusnak
01356bad72
keyctl: show digest and path 2017-10-29 23:30:56 +01:00
Pavol Rusnak
7d0a12c29e
unix: fix build 2017-10-29 23:26:44 +01:00
Pavol Rusnak
311a28242b
boardloader: fix production build, disable reset_flags_init for now 2017-10-29 21:12:40 +01:00
Pavol Rusnak
16f657361c
boardloader: disable BOR protection; fix setting OB flags 2017-10-29 18:07:05 +01:00