From 99eaaae28e4175648a432ee65c5978cfb391211d Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Wed, 14 Sep 2022 16:35:44 +0200 Subject: [PATCH] build(core): redistribute content in flash [no changelog] --- core/embed/firmware/memory_T.ld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/embed/firmware/memory_T.ld b/core/embed/firmware/memory_T.ld index e50df36cd0..50684eb807 100644 --- a/core/embed/firmware/memory_T.ld +++ b/core/embed/firmware/memory_T.ld @@ -45,9 +45,11 @@ SECTIONS { .flash2 : ALIGN(512) { build/firmware/frozen_mpy.o(.rodata*); - build/firmware/vendor/secp256k1-zkp/src/secp256k1.o(.rodata*); - build/firmware/vendor/secp256k1-zkp/src/precomputed_ecmult.o(.rodata*); - build/firmware/vendor/secp256k1-zkp/src/precomputed_ecmult_gen.o(.rodata*); + build/firmware/vendor/trezor-crypto/aes/aestab.o(.rodata*); + . = ALIGN(4); + */libtrezor_lib.a:(.text*); + . = ALIGN(4); + */libtrezor_lib.a:(.rodata*); . = ALIGN(512); } >FLASH2 AT>FLASH2