diff --git a/configs/photon/nsh/Make.defs b/configs/photon/nsh/Make.defs index a3d6f0de35..71af0ab67b 100644 --- a/configs/photon/nsh/Make.defs +++ b/configs/photon/nsh/Make.defs @@ -40,7 +40,7 @@ include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs ifeq ($(CONFIG_PHOTON_DFU_BOOTLOADER),y) LDSCRIPT = photon_dfu.ld else -LDSCRIPT = ld.script +LDSCRIPT = photon_jtag.ld endif ifeq ($(WINTOOL),y) diff --git a/configs/photon/scripts/photon_dfu.ld b/configs/photon/scripts/photon_dfu.ld index 7571d7fe90..1c86142e06 100644 --- a/configs/photon/scripts/photon_dfu.ld +++ b/configs/photon/scripts/photon_dfu.ld @@ -33,7 +33,7 @@ ****************************************************************************/ /* The STM32F205RG has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 112Kb of SRAM. + * 112Kb of SRAM in main SRAM1 and 16 Kb in auxiliary SRAM2. * * Bootloader jumps at 0x0802:0000. */ diff --git a/configs/photon/scripts/ld.script b/configs/photon/scripts/photon_jtag.ld similarity index 97% rename from configs/photon/scripts/ld.script rename to configs/photon/scripts/photon_jtag.ld index 01309314fe..da1c9fa754 100644 --- a/configs/photon/scripts/ld.script +++ b/configs/photon/scripts/photon_jtag.ld @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/photon/scripts/ld.script + * configs/photon/scripts/photon_jtag.ld * * Copyright (C) 2017 Gregory Nutt. All rights reserved. * @@ -33,7 +33,7 @@ ****************************************************************************/ /* The STM32F205RG has 1024Kb of FLASH beginning at address 0x0800:0000 and - * 112Kb of SRAM. + * 112Kb of SRAM in main SRAM1 and 16 Kb in auxiliary SRAM2. * * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 * where the code expects to begin execution by jumping to the entry point in diff --git a/configs/photon/usbnsh/Make.defs b/configs/photon/usbnsh/Make.defs index cb2820a9cb..ee6740097c 100644 --- a/configs/photon/usbnsh/Make.defs +++ b/configs/photon/usbnsh/Make.defs @@ -40,7 +40,7 @@ include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs ifeq ($(CONFIG_PHOTON_DFU_BOOTLOADER),y) LDSCRIPT = photon_dfu.ld else -LDSCRIPT = ld.script +LDSCRIPT = photon_jtag.ld endif ifeq ($(WINTOOL),y) diff --git a/configs/photon/wlan/Make.defs b/configs/photon/wlan/Make.defs index e72c160c3f..b6329421a9 100644 --- a/configs/photon/wlan/Make.defs +++ b/configs/photon/wlan/Make.defs @@ -40,7 +40,7 @@ include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs ifeq ($(CONFIG_PHOTON_DFU_BOOTLOADER),y) LDSCRIPT = photon_dfu.ld else -LDSCRIPT = ld.script +LDSCRIPT = photon_jtag.ld endif ifeq ($(WINTOOL),y)