Commit Graph

1445 Commits

Author SHA1 Message Date
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
Pavol Rusnak a08f18c2ce
boardloader: use PVD level 4 2017-10-29 17:58:33 +01:00
Pavol Rusnak 30ddb53c11
prodtest: fix calls to sdcard functions 2017-10-29 17:51:16 +01:00
Pavol Rusnak 6738796d8b
trezorhal: call shutdown in default_handler 2017-10-29 17:50:50 +01:00
Pavol Rusnak 69c17dae9b
trezorhal: use uint32_t* for sdcard_{read,write}_blocks 2017-10-29 16:34:09 +01:00
Pavol Rusnak fa802e9353
boardloader: fix test for existence of bootloader on sd card 2017-10-29 16:23:25 +01:00
Pavol Rusnak b9a599d08d
makefile: add gdb_prodtest target 2017-10-29 15:45:41 +01:00
Pavol Rusnak a56da7d7ed
prodtest: fix sdcard test 2017-10-29 15:07:34 +01:00
Pavol Rusnak 5d6d342813
bootloader: erase storage on vendor change 2017-10-27 18:45:33 +02:00
Jan Pochyla 836508657d prodtest: style 2017-10-27 17:26:14 +02:00