From 3352c205252803a851136213d03c69f55b239dd3 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Fri, 26 Aug 2022 18:16:11 +0200 Subject: [PATCH] ports/stm32: Add CYW43 firmware blob to text section. * If no special memory is defined for CYW43's firmware, add it to the main firmware text section. --- src/omv/ports/stm32/stm32fxxx.ld.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/omv/ports/stm32/stm32fxxx.ld.S b/src/omv/ports/stm32/stm32fxxx.ld.S index 530b687ec..2acfb932f 100755 --- a/src/omv/ports/stm32/stm32fxxx.ld.S +++ b/src/omv/ports/stm32/stm32fxxx.ld.S @@ -85,6 +85,10 @@ SECTIONS *(.rodata) // .rodata sections (constants, strings, etc.) . = ALIGN(4); *(.rodata*) // .rodata* sections (constants, strings, etc.) + #if !defined(OMV_CYW43_MEMORY) + . = ALIGN(512); + *(.big_const*) + #endif . = ALIGN(4); _etext = .; // define a global symbols at end of code } >FLASH_TEXT