Pavol Rusnak
0ff7034e37
embed/extmod/modtrezorconfig: refactor PIN UI wait callback ( #398 )
...
This commit accomplishes several goals:
1) it removes any upy dependencies from storage.c/storage.h
2) ui wait callback is set during config_init and storage_init,
which allows to simplify the code dramatically
2018-11-08 15:55:47 +01:00
Pavol Rusnak
ace3574769
embed/extmod/modtrezorconfig: update for T1
2018-10-02 21:19:36 +02:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers
2018-02-26 14:07:37 +01:00
Pavol Rusnak
48ef409fdb
modtrezorio: remove mocks
2017-12-15 00:06:09 +01:00
Jochen Hoenicke
497021f2ef
storage: New pin fail section inside NORCOW
...
Added a function to update NORCOW data.
Changed storage pin fail logic.
2017-12-14 17:18:45 +01:00
Pavol Rusnak
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong
2017-12-09 14:48:49 +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
27bfcfe1af
norcow: import into tree
2017-11-05 20:46:11 +01:00
Jan Pochyla
55bd4a0806
rename /micropython to /embed
2017-07-28 16:23:45 +02:00