mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 21:08:07 +00:00
2aa427a6e3
Features `micropython` and `protobuf` are defined. Protobuf implies micropython because our protobuf impl is pretty much _for_ micropython. The respective subdirs are included only if the matching feature is defined. util.rs is moved to micropython because it mostly concerns micropython interop ResultExt, useful only for ui_debug, is moved to ui::util. A new module `trezorhal::time` is provided. It mirrors functionality of `micropython::time` via stmlib functions. The intended use is to always use functions from `trezorhal::time`. The right micropython variants are used when micropython is available, otherwise the pure stmlib versions are called. ui::*::layout is conditional for micropython feature, because it only concerns micropython layouts. If we want to reuse layouts defined there, we will need to export them to not depend on Objs and Qstrs etc. |
||
---|---|---|
.. | ||
background_1.h | ||
background_1.jpg | ||
background_R.h | ||
background_R.jpg | ||
background_raspi.h | ||
background_raspi.jpg | ||
background_T.h | ||
background_T.jpg | ||
button.h | ||
common.c | ||
common.h | ||
flash.c | ||
flash.h | ||
jpg_to_h.py | ||
main_main.c | ||
main.c | ||
mpconfigport.h | ||
profile.c | ||
profile.h | ||
random_delays.c | ||
random_delays.h | ||
rng.c | ||
rng.h | ||
sbu.c | ||
sbu.h | ||
sdcard.c | ||
sdcard.h | ||
secbool.h | ||
touch.c | ||
touch.h | ||
usb_hid-defs.h | ||
usb_vcp-defs.h | ||
usb_webusb-defs.h | ||
usb.c | ||
usb.h | ||
version.h |