[target][stm32f746g-disco] Use correct sdram size
The board is sold with 128 Mbit device but upon closer inspection only 64 Mbit are wired.
This commit is contained in:
@@ -75,7 +75,7 @@ static void MPU_RegionConfig(void)
|
||||
/* configure SDRAM */
|
||||
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
|
||||
MPU_InitStruct.BaseAddress = SDRAM_BASE;
|
||||
MPU_InitStruct.Size = MPU_REGION_SIZE_32MB;
|
||||
MPU_InitStruct.Size = MPU_REGION_SIZE_8MB;
|
||||
MPU_InitStruct.AccessPermission = MPU_REGION_PRIV_RW;
|
||||
MPU_InitStruct.IsBufferable = MPU_ACCESS_BUFFERABLE;
|
||||
MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
|
||||
|
||||
@@ -6,7 +6,7 @@ STM32_CHIP := stm32f746
|
||||
|
||||
PLATFORM := stm32f7xx
|
||||
|
||||
SDRAM_SIZE := 0x02000000
|
||||
SDRAM_SIZE := 0x00800000
|
||||
SDRAM_BASE := 0xc0000000
|
||||
|
||||
GLOBAL_DEFINES += \
|
||||
|
||||
Reference in New Issue
Block a user