From 6f845d758e08a5b4d5ca2e8850f52f070367f727 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 10 Sep 2024 14:52:36 +0200 Subject: [PATCH] fixup! refactor(core): combined build of coreapp + kernel, linker scripts refactoring --- core/embed/trezorhal/stm32f4/linker/kernel.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/trezorhal/stm32f4/linker/kernel.ld b/core/embed/trezorhal/stm32f4/linker/kernel.ld index 319bfe0f83..48a59b3a28 100644 --- a/core/embed/trezorhal/stm32f4/linker/kernel.ld +++ b/core/embed/trezorhal/stm32f4/linker/kernel.ld @@ -6,7 +6,7 @@ MEMORY { FLASH (rx) : ORIGIN = KERNEL_START, LENGTH = KERNEL_IMAGE_MAXSIZE CCMRAM (wal) : ORIGIN = MCU_CCMRAM + MCU_CCMRAM_SIZE - KERNEL_CCMRAM_SIZE - BOOTARGS_SIZE, LENGTH = KERNEL_CCMRAM_SIZE - BOOTARGS_SIZE BOOT_ARGS (wal) : ORIGIN = MCU_CCMRAM + MCU_CCMRAM_SIZE - BOOTARGS_SIZE, LENGTH = BOOTARGS_SIZE - SRAM (wal) : ORIGIN = MCU_SRAM + KERNEL_SRAM_SIZE, LENGTH = KERNEL_SRAM_SIZE + SRAM (wal) : ORIGIN = MCU_SRAM + MCU_SRAM_SIZE - KERNEL_SRAM_SIZE, LENGTH = KERNEL_SRAM_SIZE } main_stack_base = ORIGIN(SRAM) + SIZEOF(.stack); /* 8-byte aligned full descending stack */