[chibios] fixed crashing pixhawk4 fmuv5 after flashing

This commit is contained in:
Dennis van Wijngaarden
2021-02-23 11:34:53 +01:00
committed by Gautier Hattenberger
parent a32fc33bf8
commit 9c77c1e9f1
+5 -5
View File
@@ -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.*/