1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-08 13:42:41 +00:00
trezor-firmware/core
Roman Zeyde 2a19b35f3e build(core): export Rust functions' stack sizes
It is useful to find the top-most stack consuming functions:

```
$ make build_firmware
$ arm-none-eabi-size -A build/firmware/firmware.elf | grep .stack_sizes
.stack_sizes          7523           0

$ cargo install stack-sizes@0.4.0
$ stack-sizes build/firmware/firmware.elf | grep trezor_lib | sort -k2 -n | tail -n10
0x081c1721	3536	trezor_lib::ui::api::firmware_micropython::new_confirm_properties::h2ab0feebaf154486
0x081c0e7d	3560	trezor_lib::ui::api::firmware_micropython::new_confirm_modify_output::h04465b97d57fafb6
0x081c6161	3688	trezor_lib::ui::api::firmware_micropython::new_show_checklist::he16b109bc4dff398
0x081c4089	4240	trezor_lib::ui::api::firmware_micropython::new_request_pin::h3280c5eff8900a22
0x081be3e1	4960	trezor_lib::ui::api::firmware_micropython::new_confirm_action::h860f874d714ace74
0x081bf545	5096	trezor_lib::ui::api::firmware_micropython::new_confirm_emphasized::h9ade56f5c88001c0
0x081c1ded	5736	trezor_lib::ui::api::firmware_micropython::new_confirm_summary::he2e1274bbc07703e
0x081c7ee9	6760	trezor_lib::ui::api::firmware_micropython::new_show_remaining_shares::h1f67cbfdfeb4c683
0x081c127d	6768	trezor_lib::ui::api::firmware_micropython::new_confirm_more::h107a4be9b5431bb4
0x081c5441	8312	trezor_lib::ui::api::firmware_micropython::new_show_address_details::h352e0b87c58914ce
```

[no changelog]
2025-01-31 06:28:15 +01:00
..
.changelog.d fix(core): explicitly delete keyboard layout 2025-01-27 23:43:33 +01:00
assets feat(core): allow for going back to previous word in recovery process 2024-02-19 22:05:04 +01:00
embed refactor(core): rename memory_area to applet_memory 2025-01-30 14:07:25 +01:00
mocks feat(core): adjust codec_v1 to work with differently sized RX and TX packets 2025-01-23 16:46:12 +01:00
prof feat(core): adjust the coverage file output for multicore tests 2023-03-09 16:50:32 +01:00
site_scons refactor(core): simplify shutdown/handover code 2025-01-30 14:07:25 +01:00
src chore(core): use label for evm networks generation 2025-01-28 14:17:46 +01:00
tests feat(core): adjust codec_v1 to work with differently sized RX and TX packets 2025-01-23 16:46:12 +01:00
tools refactor(core): consistent naming of UI layouts 2025-01-20 12:29:24 +01:00
translations feat(python): check that translations are using correct layout names 2025-01-28 15:18:12 +02:00
vendor fix(core): add missing stm32u5 symlinks 2024-03-19 11:33:23 +01:00
.coveragerc chore(core): silence false alarms in coverage report 2023-03-09 16:50:32 +01:00
.dockerignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
.gitignore feat(core): add support for gdb scripts to emulator 2023-05-11 21:02:21 +02:00
.towncrier.template.md docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
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 chore(core): add signed bootloader 2.1.8 for T2T1, T2B1 2025-01-03 19:47:34 +01:00
CHANGELOG.T2B1.md chore(core): add signed bootloader 2.1.8 for T2T1, T2B1 2025-01-03 19:47:34 +01:00
CHANGELOG.T2T1.md chore(core): add signed bootloader 2.1.8 for T2T1, T2B1 2025-01-03 19:47:34 +01:00
CHANGELOG.T3B1.md docs(core): changelog for 2.8.7 2025-01-03 17:30:08 +01:00
CHANGELOG.T3T1.md docs(core): changelog for 2.8.7 2025-01-03 17:30:08 +01:00
CHANGELOG.unreleased docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
COPYING MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
emu.py build(core): emulator valgrind support 2024-11-27 09:50:15 +01:00
emu.sh core: remove src1 2020-08-03 15:59:57 +02:00
Makefile build(core): allow printing Rust types' sizes during build 2025-01-28 14:21:43 +02:00
pyrightconfig.json feat(tools): make pyright_tool more user-friendly 2022-03-23 14:55:05 +01:00
README.md docs: add Safe 3 and Safe 5 in documentation (#4228) 2024-09-30 10:15:35 +02:00
SConscript.boardloader refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.bootloader refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.bootloader_ci refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.bootloader_emu build(core): use internal model names everywhere 2025-01-13 16:24:35 +01:00
SConscript.firmware build(core): export Rust functions' stack sizes 2025-01-31 06:28:15 +01:00
SConscript.kernel refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.prodtest refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.reflash refactor(core): rewrite startup code in C 2025-01-30 14:07:25 +01:00
SConscript.unix build(core): use internal model names everywhere 2025-01-13 16:24:35 +01:00
SConstruct build(core): introduce quiet mode 2024-11-21 14:33:52 +01:00
towncrier.toml chore: generate-changelog.py adjustments 2024-07-12 20:43:26 +00:00

Trezor Core

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

See docs/core for more info.