diff --git a/sw/airborne/arch/chibios/STM32F76xxI.ld b/sw/airborne/arch/chibios/STM32F76xxI.ld index b62168c13a..b4398ca4b6 100644 --- a/sw/airborne/arch/chibios/STM32F76xxI.ld +++ b/sw/airborne/arch/chibios/STM32F76xxI.ld @@ -26,7 +26,7 @@ MEMORY { flash0 (rx) : org = 0x08008000, len = 2M /* Flash as AXIM (writable) */ - flash1 (rx) : org = 0x00200000, len = 2M /* Flash as ITCM */ + flash1 (rx) : org = 0x00200000, len = 0 /* Flash as ITCM */ flash2 (rx) : org = 0x00000000, len = 0 flash3 (rx) : org = 0x00000000, len = 0 flash4 (rx) : org = 0x00000000, len = 0 @@ -47,15 +47,15 @@ MEMORY and a load region (_LMA suffix).*/ /* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash1); +REGION_ALIAS("VECTORS_FLASH", flash0); REGION_ALIAS("VECTORS_FLASH_LMA", flash0); /* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash1); +REGION_ALIAS("XTORS_FLASH", flash0); REGION_ALIAS("XTORS_FLASH_LMA", flash0); /* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash1); +REGION_ALIAS("TEXT_FLASH", flash0); REGION_ALIAS("TEXT_FLASH_LMA", flash0); /* Flash region to be used for read only data.*/ @@ -63,7 +63,7 @@ REGION_ALIAS("RODATA_FLASH", flash0); REGION_ALIAS("RODATA_FLASH_LMA", flash0); /* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash1); +REGION_ALIAS("VARIOUS_FLASH", flash0); REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); /* Flash region to be used for RAM(n) initialization data.*/