Commit Graph

20 Commits (6b94fd26e46cf79894ee36c85b1a78b13ec97bd9)

Author SHA1 Message Date
Pavol Rusnak ee7d260d2f
trezorhal: use const where possible for flash
7 years ago
Jan Pochyla 1f6cc70480 flash: remove flash_set_option_bytes
7 years ago
Jan Pochyla c2ec40bebf flash: flash_init returns bool
7 years ago
Jan Pochyla c78babdc12 flash: add flash_get_address
7 years ago
Jan Pochyla 543e8c5007 flash: add unix/flash.c
7 years ago
Jan Pochyla 4cabe40220 storage: pin checking in c proof of concept
7 years ago
mcudev 1737f17f43
boardloader: flash option bytes, production changes
7 years ago
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible
7 years ago
Pavol Rusnak 7ddfdf69d6
trezorhal: support for non-continous areas in check_image_contents
7 years ago
Pavol Rusnak 79fe9162b5
trezorhal: simplify api for init functions, use bool and void rather than int
7 years ago
Pavol Rusnak b51ca0a16e
trezorhal: remove extra comment
7 years ago
Pavol Rusnak 6ea9b105e5
boardloader, bootloader: reorder erasing of sectors, check whether sector was really erased
7 years ago
Pavol Rusnak 82050912c4
bootloader: implement WipeDevice
7 years ago
Pavol Rusnak 001298a90e
boardloader: erase storage on failed option_bytes
7 years ago
Pavol Rusnak 66b6406b7c
boardloader, bootloader: add write-protection and downgrade-protection respectively
7 years ago
Pavol Rusnak d003c250d8
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel
7 years ago
Pavol Rusnak d50eeb581a
trezorhal: introduce flash_write_{byte,word}
7 years ago
Pavol Rusnak 67d8d4fa2e
modtrezorio: add FlashOTP class
7 years ago
Pavol Rusnak 66930f2e37
trezorhal: add flash_otp functions
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago