diff --git a/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f303xe_flash.icf b/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f303xe_flash.icf index c0202d6b..69e534eb 100644 --- a/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f303xe_flash.icf +++ b/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f303xe_flash.icf @@ -4,7 +4,7 @@ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x08004000; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; +define symbol __ICFEDIT_region_ROM_start__ = 0x08004000; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_end__ = 0x2000FFFF; diff --git a/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx b/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx index df8af191..48362b29 100644 --- a/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx +++ b/Projects/STM32303E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx @@ -275,7 +275,7 @@ 1 0x8004000 - 0x80000 + 0x7c000 1 diff --git a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f373xc_flash.icf b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f373xc_flash.icf index 03f5cbea..9b4af902 100644 --- a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f373xc_flash.icf +++ b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/stm32f373xc_flash.icf @@ -4,7 +4,7 @@ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x08004000; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; +define symbol __ICFEDIT_region_ROM_start__ = 0x08004000; define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; diff --git a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx index e4b6b791..f7924b7d 100644 --- a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx +++ b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/Project.uvprojx @@ -314,7 +314,7 @@ 1 0x8004000 - 0x40000 + 0x3c000 1 diff --git a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM32373C_EVAL/STM32F373VCTx_FLASH.ld b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM32373C_EVAL/STM32F373VCTx_FLASH.ld index e54f6538..04d31f8f 100644 --- a/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM32373C_EVAL/STM32F373VCTx_FLASH.ld +++ b/Projects/STM32373C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM32373C_EVAL/STM32F373VCTx_FLASH.ld @@ -35,7 +35,7 @@ _Min_Stack_Size = 0x400;; /* required amount of stack */ /* Specify the memory areas */ MEMORY { -FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 256K +FLASH (rx) : ORIGIN = 0x08004000, LENGTH = 240K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K } diff --git a/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/stm32f302x8_flash.icf b/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/stm32f302x8_flash.icf index 1ff118e9..021a5dc2 100644 --- a/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/stm32f302x8_flash.icf +++ b/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/stm32f302x8_flash.icf @@ -4,12 +4,10 @@ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x08000000; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; -define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; -define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_RAM_end__ = 0x20009FFF; -define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000; -define symbol __ICFEDIT_region_CCMRAM_end__ = 0x10001FFF; +define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; +define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; +define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; +define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x400; define symbol __ICFEDIT_size_heap__ = 0x200; @@ -19,7 +17,6 @@ define symbol __ICFEDIT_size_heap__ = 0x200; define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; -define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to __ICFEDIT_region_CCMRAM_end__]; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; diff --git a/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_Sequencer/EWARM/stm32f302x8_flash.icf b/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_Sequencer/EWARM/stm32f302x8_flash.icf index 1ff118e9..021a5dc2 100644 --- a/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_Sequencer/EWARM/stm32f302x8_flash.icf +++ b/Projects/STM32F302R8-Nucleo/Examples/ADC/ADC_Sequencer/EWARM/stm32f302x8_flash.icf @@ -4,12 +4,10 @@ /*-Specials-*/ define symbol __ICFEDIT_intvec_start__ = 0x08000000; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; -define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; -define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_RAM_end__ = 0x20009FFF; -define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000; -define symbol __ICFEDIT_region_CCMRAM_end__ = 0x10001FFF; +define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; +define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; +define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; +define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; /*-Sizes-*/ define symbol __ICFEDIT_size_cstack__ = 0x400; define symbol __ICFEDIT_size_heap__ = 0x200; @@ -19,7 +17,6 @@ define symbol __ICFEDIT_size_heap__ = 0x200; define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; -define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to __ICFEDIT_region_CCMRAM_end__]; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; diff --git a/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_LLC_HalfBridge/EWARM/stm32f334x8_flash.icf b/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_LLC_HalfBridge/EWARM/stm32f334x8_flash.icf index 1d766a6e..07844448 100644 --- a/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_LLC_HalfBridge/EWARM/stm32f334x8_flash.icf +++ b/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_LLC_HalfBridge/EWARM/stm32f334x8_flash.icf @@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; +define symbol __ICFEDIT_region_RAM_end__ = 0x20002FFF; define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000; define symbol __ICFEDIT_region_CCMRAM_end__ = 0x10000FFF; /*-Sizes-*/ diff --git a/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_Multiphase/EWARM/stm32f334x8_flash.icf b/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_Multiphase/EWARM/stm32f334x8_flash.icf index 1d766a6e..07844448 100644 --- a/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_Multiphase/EWARM/stm32f334x8_flash.icf +++ b/Projects/STM32F3348-Discovery/Examples/HRTIM/HRTIM_Multiphase/EWARM/stm32f334x8_flash.icf @@ -7,7 +7,7 @@ define symbol __ICFEDIT_intvec_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; -define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; +define symbol __ICFEDIT_region_RAM_end__ = 0x20002FFF; define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000; define symbol __ICFEDIT_region_CCMRAM_end__ = 0x10000FFF; /*-Sizes-*/ diff --git a/Projects/STM32F3348-Discovery/Templates_LL/MDK-ARM/Project.uvprojx b/Projects/STM32F3348-Discovery/Templates_LL/MDK-ARM/Project.uvprojx index 711970ae..415e8a35 100644 --- a/Projects/STM32F3348-Discovery/Templates_LL/MDK-ARM/Project.uvprojx +++ b/Projects/STM32F3348-Discovery/Templates_LL/MDK-ARM/Project.uvprojx @@ -243,12 +243,12 @@ 0 0x20000000 - 0x30000 + 0x3000 1 0x8000000 - 0x8000 + 0x10000 0 @@ -273,7 +273,7 @@ 1 0x8000000 - 0x8000 + 0x10000 1 @@ -298,7 +298,7 @@ 0 0x20000000 - 0x30000 + 0x3000 0