diff --git a/Ubiquitous/XiUOS/board/ok1052-c/third_party_driver/semc/connect_semc.c b/Ubiquitous/XiUOS/board/ok1052-c/third_party_driver/semc/connect_semc.c index 1f05cd4ed..2477fb2f6 100644 --- a/Ubiquitous/XiUOS/board/ok1052-c/third_party_driver/semc/connect_semc.c +++ b/Ubiquitous/XiUOS/board/ok1052-c/third_party_driver/semc/connect_semc.c @@ -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) { diff --git a/Ubiquitous/XiUOS/kernel/kernel_test/extsram_test.c b/Ubiquitous/XiUOS/kernel/kernel_test/extsram_test.c index 62402162a..d17b63a29 100644 --- a/Ubiquitous/XiUOS/kernel/kernel_test/extsram_test.c +++ b/Ubiquitous/XiUOS/kernel/kernel_test/extsram_test.c @@ -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) {