1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/core
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
..
.changelog.d feat(core/rust): expose raw pixel access to rust 2022-06-14 15:09:03 +02:00
assets feat(ui): setup homescreen and label for model R 2022-05-19 14:09:16 +02:00
embed feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
mocks feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline 2022-06-01 14:50:59 +02:00
prof
site_scons/site_tools/micropython build(core): exclude all "from typing" imports from build 2022-01-07 21:41:17 +01:00
src common/defs/fido: add cloudflare 2022-06-14 15:12:51 +02:00
tests fix(xmr): remove inv8 optimization as in xmr master 2022-06-08 08:59:34 +02:00
tools feat(core/tools): support @overloads in generated mocks 2022-05-16 12:37:24 +02:00
vendor
.dockerignore
.gitignore style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
.towncrier.template.md
asan_blacklist.txt core: asan config 2019-06-27 19:09:55 +02:00
asan_suppressions.txt ci: Suppress libSDL memory leaks. 2022-01-19 15:22:03 +01:00
AUTHORS MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
CHANGELOG.md docs(core): changelog for 2.5.1 2022-05-03 23:00:25 +02:00
CHANGELOG.unreleased
COPYING MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
emu.py chore(core): add type hints to emu.py 2022-05-25 16:12:47 +02:00
emu.sh
Makefile feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
pyrightconfig.json feat(tools): make pyright_tool more user-friendly 2022-03-23 14:55:05 +01:00
README.md
SConscript.boardloader feat(core/boardloader): add fixed-address boardloader capablities field 2022-06-13 18:18:25 +02:00
SConscript.bootloader build(core): skip bootloader and boardloader compilation for Model 1 2022-05-10 16:49:23 +02:00
SConscript.bootloader_ci build(core): skip bootloader and boardloader compilation for Model 1 2022-05-10 16:49:23 +02:00
SConscript.firmware feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
SConscript.prodtest feat(core): initial Model R display implementation with framebuffer 2022-05-10 16:49:23 +02:00
SConscript.reflash feat(core): implement basic R emulator 2022-05-06 11:44:52 +02:00
SConscript.unix feat(core/rust): make Rust buildable without Micropython 2022-06-16 13:08:07 +02:00
SConstruct
towncrier.toml

Trezor Core

Firmware currently running on Model T.

See docs/core for more info.