1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-09 22:22:38 +00:00
trezor-firmware/core
matejcik e0b4cab2db fix(core): retry creation of homescreen layout
For reasons unknown, a previous homescreen layout can sometimes survive
a GC cycle in main's unimport loop. Two homescreen layouts can't exist
simultaneously, so creating a new one would fail.

It _seems_ that after restarting the session, the homescreen object
still exists but is not reachable anymore, so a second GC cycle properly
disposes of it.

So what we do is simply catch the possible MemoryError, invoke GC
explicitly, and try again.
2025-01-03 14:15:14 +01:00
..
.changelog.d feat(core): Implement entropy check workflow in ResetDevice. 2025-01-02 13:44:36 +01:00
assets
embed refactor(core): make imagebuffer allocation fallible 2025-01-03 14:15:14 +01:00
mocks refactor(core): consistent use of confirm_address 2024-12-19 00:09:20 +01:00
prof
site_scons refactor(core): separate concerns of FONT macros 2024-12-16 13:54:27 +01:00
src fix(core): retry creation of homescreen layout 2025-01-03 14:15:14 +01:00
tests chore(core): increase size of assets area for U5G models 2025-01-02 11:42:00 +01:00
tools refactor(core): remove trezorui2 module 2024-12-19 00:09:20 +01:00
translations fix(core): font generator padding 2024-12-16 13:54:27 +01:00
vendor
.coveragerc
.dockerignore
.gitignore
.towncrier.template.md
asan_blacklist.txt
asan_suppressions.txt
AUTHORS
CHANGELOG.md docs(core): changelog for 2.8.5 2024-11-05 21:18:48 +01:00
CHANGELOG.T2B1.md docs(core): changelog for 2.8.5 2024-11-05 21:18:48 +01:00
CHANGELOG.T2T1.md docs(core): changelog for 2.8.5 2024-11-05 21:18:48 +01:00
CHANGELOG.T3B1.md docs(core): changelog for 2.8.5 2024-11-05 21:18:48 +01:00
CHANGELOG.T3T1.md docs(core): changelog for 2.8.5 2024-11-05 21:18:48 +01:00
CHANGELOG.unreleased
COPYING
emu.py build(core): emulator valgrind support 2024-11-27 09:50:15 +01:00
emu.sh
Makefile feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
pyrightconfig.json
README.md docs: add Safe 3 and Safe 5 in documentation (#4228) 2024-09-30 10:15:35 +02:00
SConscript.boardloader feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.bootloader feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.bootloader_ci feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.bootloader_emu feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.firmware feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.kernel feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.prodtest feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.reflash feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConscript.unix feat(core): Randomize SCM_REVISION address in firmware 2025-01-03 10:23:41 +01:00
SConstruct build(core): introduce quiet mode 2024-11-21 14:33:52 +01:00
towncrier.toml

Trezor Core

Firmware currently running on Model T and the Trezor Safe family.

See docs/core for more info.