1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
trezor-firmware/core/embed
matejcik 2aa427a6e3 feat(core/rust): make Rust buildable without Micropython
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.
2022-06-16 13:08:07 +02:00
..
boardloader feat(core/boardloader): add fixed-address boardloader capablities field 2022-06-13 18:18:25 +02:00
bootloader fix(core/bootloader): do not wait for touch if we know we are staying in bootloader 2022-06-01 14:50:59 +02:00
bootloader_ci feat(core): set colors for monochromatic displays 2022-05-10 16:49:23 +02:00
extmod feat(core): expose display pixeldata accessors from C 2022-06-14 15:09:03 +02:00
firmware feat(core/boardloader): add fixed-address boardloader capablities field 2022-06-13 18:18:25 +02:00
prodtest
reflash
rust feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
segger
trezorhal feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
unix feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
vendorheader