From f1b261e8dd10b991f82cdbfd2bc504fbab211eb1 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Sat, 20 Oct 2018 23:57:31 -0700 Subject: [PATCH] fix huge .bin file outputs --- Firmware/Board/v3/STM32F405RGTx_FLASH.ld | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Firmware/Board/v3/STM32F405RGTx_FLASH.ld b/Firmware/Board/v3/STM32F405RGTx_FLASH.ld index 30acca2c..f1259a71 100644 --- a/Firmware/Board/v3/STM32F405RGTx_FLASH.ld +++ b/Firmware/Board/v3/STM32F405RGTx_FLASH.ld @@ -134,9 +134,10 @@ SECTIONS * * IMPORTANT NOTE! * If initialized variables will be placed in this section, - * the startup code needs to be modified to copy the init-values. + * the startup code needs to be modified to copy the init-values. + * Oskar: Added NOLOAD to remove this section from .bin outputs */ - .ccmram : + .ccmram (NOLOAD): { . = ALIGN(4); _sccmram = .; /* create a global symbol at ccmram start */