From 2fcb1cb83d1df64400e8fe19c4caba0703b4f12e Mon Sep 17 00:00:00 2001 From: Jonathan Hudson Date: Wed, 2 Jun 2021 14:53:59 +0100 Subject: [PATCH] remove *.ld files differing only in case, as this confuses case-insensitive, case-preserving (cicp) file-systems (#7064) --- src/main/target/link/stm32_flash_F765xI.ld | 55 ------------------ src/main/target/link/stm32_flash_F765xI_bl.ld | 56 ------------------ .../target/link/stm32_flash_F765xI_for_bl.ld | 57 ------------------- 3 files changed, 168 deletions(-) delete mode 100644 src/main/target/link/stm32_flash_F765xI.ld delete mode 100644 src/main/target/link/stm32_flash_F765xI_bl.ld delete mode 100644 src/main/target/link/stm32_flash_F765xI_for_bl.ld diff --git a/src/main/target/link/stm32_flash_F765xI.ld b/src/main/target/link/stm32_flash_F765xI.ld deleted file mode 100644 index 130169290..000000000 --- a/src/main/target/link/stm32_flash_F765xI.ld +++ /dev/null @@ -1,55 +0,0 @@ -/* -***************************************************************************** -** -** File : stm32_flash_f765.ld -** -** Abstract : Linker script for STM32F765xITx Device with -** 2048KByte FLASH, 512KByte RAM -** -***************************************************************************** -*/ - -/* Stack & Heap sizes */ -_Min_Heap_Size = 0; -_Min_Stack_Size = 0x1800; - -/* Entry Point */ -ENTRY(Reset_Handler) - -/* -0x00000000 to 0x00003FFF 16K TCM RAM, - -0x08000000 to 0x081FFFFF 2048K full flash, -0x08000000 to 0x08007FFF 32K isr vector, startup code, -0x08008000 to 0x0800FFFF 32K config, -0x08010000 to 0x081FFFFF 1984K firmware, -*/ - -/* Specify the memory areas */ -MEMORY -{ - ITCM_RAM (rx) : ORIGIN = 0x00000000, LENGTH = 16K - - ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 32K - ITCM_FLASH_CFG (r) : ORIGIN = 0x00208000, LENGTH = 32K - ITCM_FLASH1 (rx) : ORIGIN = 0x00210000, LENGTH = 1984K - - AXIM_FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K - AXIM_FLASH_CFG (r) : ORIGIN = 0x08008000, LENGTH = 32K - AXIM_FLASH1 (rx) : ORIGIN = 0x08010000, LENGTH = 1984K - - DTCM_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K - SRAM1 (rwx) : ORIGIN = 0x20020000, LENGTH = 368K - SRAM2 (rwx) : ORIGIN = 0x2007C000, LENGTH = 16K - MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K -} - -REGION_ALIAS("FLASH", AXIM_FLASH) -REGION_ALIAS("FLASH_CONFIG", AXIM_FLASH_CFG) -REGION_ALIAS("FLASH1", AXIM_FLASH1) - -REGION_ALIAS("STACKRAM", DTCM_RAM) -REGION_ALIAS("FASTRAM", DTCM_RAM) -REGION_ALIAS("RAM", SRAM1) - -INCLUDE "stm32_flash_f7_split.ld" diff --git a/src/main/target/link/stm32_flash_F765xI_bl.ld b/src/main/target/link/stm32_flash_F765xI_bl.ld deleted file mode 100644 index 45ced4e7d..000000000 --- a/src/main/target/link/stm32_flash_F765xI_bl.ld +++ /dev/null @@ -1,56 +0,0 @@ -/* -***************************************************************************** -** -** File : stm32_flash_f765.ld -** -** Abstract : Linker script for STM32F765xITx Device with -** 2048KByte FLASH, 512KByte RAM -** -***************************************************************************** -*/ - -/* Stack & Heap sizes */ -_Min_Heap_Size = 0; -_Min_Stack_Size = 0x1800; - -/* Entry Point */ -ENTRY(Reset_Handler) - -/* -0x00000000 to 0x00003FFF 16K TCM RAM, - -0x08000000 to 0x081FFFFF 2048K full flash, -0x08000000 to 0x08007FFF 32K isr vector, startup code, -0x08008000 to 0x0800FFFF 32K config, -0x08010000 to 0x081FFFFF 1984K firmware, -*/ - -/* Specify the memory areas */ -MEMORY -{ - ITCM_RAM (rx) : ORIGIN = 0x00000000, LENGTH = 16K - - ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 32K - ITCM_FLASH_CFG (r) : ORIGIN = 0x00208000, LENGTH = 32K - ITCM_FLASH1 (rx) : ORIGIN = 0x00210000, LENGTH = 1984K - - AXIM_FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 32K - AXIM_FIRMWARE (rx) : ORIGIN = 0x08008000, LENGTH = 32K - AXIM_FLASH_CFG (r) : ORIGIN = 0x08010000, LENGTH = 32K - - DTCM_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K - SRAM1 (rwx) : ORIGIN = 0x20020000, LENGTH = 368K - SRAM2 (rwx) : ORIGIN = 0x2007C000, LENGTH = 16K - MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K -} - -REGION_ALIAS("FLASH", AXIM_FLASH) -REGION_ALIAS("FLASH_CONFIG", AXIM_FLASH_CFG) - -REGION_ALIAS("STACKRAM", DTCM_RAM) -REGION_ALIAS("FASTRAM", DTCM_RAM) -REGION_ALIAS("RAM", SRAM1) - -__firmware_start = ORIGIN(AXIM_FIRMWARE); - -INCLUDE "stm32_flash_f7.ld" diff --git a/src/main/target/link/stm32_flash_F765xI_for_bl.ld b/src/main/target/link/stm32_flash_F765xI_for_bl.ld deleted file mode 100644 index 14f2a4bed..000000000 --- a/src/main/target/link/stm32_flash_F765xI_for_bl.ld +++ /dev/null @@ -1,57 +0,0 @@ -/* -***************************************************************************** -** -** File : stm32_flash_f765.ld -** -** Abstract : Linker script for STM32F765xITx Device with -** 2048KByte FLASH, 512KByte RAM -** -***************************************************************************** -*/ - -/* Stack & Heap sizes */ -_Min_Heap_Size = 0; -_Min_Stack_Size = 0x1800; - -/* Entry Point */ -ENTRY(Reset_Handler) - -/* -0x00000000 to 0x00003FFF 16K TCM RAM, - -0x08000000 to 0x081FFFFF 2048K full flash, -0x08000000 to 0x08007FFF 32K isr vector, startup code, -0x08008000 to 0x0800FFFF 32K config, -0x08010000 to 0x081FFFFF 1984K firmware, -*/ - -/* Specify the memory areas */ -MEMORY -{ - ITCM_RAM (rx) : ORIGIN = 0x00000000, LENGTH = 16K - - ITCM_FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 32K - ITCM_FLASH_CFG (r) : ORIGIN = 0x00208000, LENGTH = 32K - ITCM_FLASH1 (rx) : ORIGIN = 0x00210000, LENGTH = 1984K - - AXIM_FLASH (rx) : ORIGIN = 0x08008000, LENGTH = 32K - AXIM_FLASH_CFG (r) : ORIGIN = 0x08010000, LENGTH = 32K - AXIM_FLASH1 (rx) : ORIGIN = 0x08018000, LENGTH = 1984K - - DTCM_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128K - SRAM1 (rwx) : ORIGIN = 0x20020000, LENGTH = 368K - SRAM2 (rwx) : ORIGIN = 0x2007C000, LENGTH = 16K - MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K -} - -REGION_ALIAS("FLASH", AXIM_FLASH) -REGION_ALIAS("FLASH_CONFIG", AXIM_FLASH_CFG) -REGION_ALIAS("FLASH1", AXIM_FLASH1) - -REGION_ALIAS("STACKRAM", DTCM_RAM) -REGION_ALIAS("FASTRAM", DTCM_RAM) -REGION_ALIAS("RAM", SRAM1) - -__firmware_start = ORIGIN(AXIM_FLASH); - -INCLUDE "stm32_flash_f7_split.ld"