forked from xuos/xiuos
modify the extern sram size as 32MBytes
This commit is contained in:
parent
c88dc282fc
commit
d56a5315dd
|
@ -5,7 +5,7 @@
|
||||||
#define EXAMPLE_SEMC SEMC
|
#define EXAMPLE_SEMC SEMC
|
||||||
#define EXAMPLE_SEMC_START_ADDRESS (0x80000000U)
|
#define EXAMPLE_SEMC_START_ADDRESS (0x80000000U)
|
||||||
#define EXAMPLE_SEMC_CLK_FREQ CLOCK_GetFreq(kCLOCK_SemcClk)
|
#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)
|
status_t BOARD_InitSEMC(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// /* sram size */
|
// /* sram size */
|
||||||
// #define SRAM_SIZE ((uint32_t)0x00100000)
|
// #define SRAM_SIZE ((uint32_t)0x00100000)
|
||||||
/* sram size */
|
/* sram size */
|
||||||
#define SRAM_SIZE ((uint32_t)0x008000)
|
#define SRAM_SIZE ((uint32_t)0x2000000)
|
||||||
|
|
||||||
int sram_test(void)
|
int sram_test(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue