modify the extern sram size as 32MBytes

This commit is contained in:
Wang_Weigen 2022-01-17 15:43:06 +08:00
parent c88dc282fc
commit d56a5315dd
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#define EXAMPLE_SEMC SEMC
#define EXAMPLE_SEMC_START_ADDRESS (0x80000000U)
#define EXAMPLE_SEMC_CLK_FREQ CLOCK_GetFreq(kCLOCK_SemcClk)
#define SEMC_SRAM_SIZE (32 * 1024)
#define SEMC_SRAM_SIZE (32 * 1024 * 1024)
status_t BOARD_InitSEMC(void)
{

View File

@ -13,7 +13,7 @@
// /* sram size */
// #define SRAM_SIZE ((uint32_t)0x00100000)
/* sram size */
#define SRAM_SIZE ((uint32_t)0x008000)
#define SRAM_SIZE ((uint32_t)0x2000000)
int sram_test(void)
{