[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:
Carlos Pizano
2015-09-08 18:42:55 -07:00
parent 14317c67b5
commit b9b0d5d38a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -6,7 +6,7 @@ STM32_CHIP := stm32f746
PLATFORM := stm32f7xx
SDRAM_SIZE := 0x02000000
SDRAM_SIZE := 0x00800000
SDRAM_BASE := 0xc0000000
GLOBAL_DEFINES += \