Commit Graph

19 Commits

Author SHA1 Message Date
Pavol Rusnak 6b94fd26e4
boardloader: rename reset_flags_init to reset_flags_check 2017-12-09 14:36:02 +01:00
Pavol Rusnak d9574bf131
trezorhal: enable BOR level 3, PVD level 5, turn off display in PVD handler 2017-11-07 18:06:42 +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
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 f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible 2017-10-26 23:51:39 +02:00
mcudev 1f6edb448c boardloader: check reset flags for production 2017-10-24 17:17:20 +02:00
mcudev 3f58a771b4 boardloader: stop clearing standby flag 2017-10-24 17:17:20 +02:00
mcudev b1eea5a434 boardloader: enable PVD programmable voltage detector and interrupt 2017-10-24 17:17:20 +02:00
Pavol Rusnak 21fac2e2c3
boardloader: don't erase sectors in flash_set_option_bytes for now 2017-10-20 14:42:51 +02:00
mcudev d6ae912703 boardloader: flash option bytes updates 2017-10-20 14:41:01 +02:00
mcudev 73897c1147 boardloader: remove micropython related code that enables debug features to get clock cycle counts (#58) 2017-10-17 18:29:51 +02:00
Pavol Rusnak 4a14fb6c4d
boardloader: move periph_init to lowlevel.c 2017-10-17 11:44:53 +02:00
Pavol Rusnak 8a707ce40d
boardloader: check flash_option_bytes at start 2017-10-14 12:49:00 +02:00
Pavol Rusnak a7625877ef
embed: call clear_otg_hs_memory from fatal_error 2017-10-13 00:36:12 +02:00
mcudev 73214017fa clear_otg_hs_memory: Delay after an RCC peripheral clock enabling 2017-10-13 00:30:19 +02:00
Pavol Rusnak d003c250d8
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel 2017-10-11 23:53:29 +02:00