From f44a15454b5ae24fd267a86ce6eecae0b43182f8 Mon Sep 17 00:00:00 2001 From: Marcus Chang Date: Tue, 7 Nov 2017 09:25:24 -0800 Subject: [PATCH] Increase flash size on Realtek RTL8195AM The Realtek RTL8195AM has 2 MiB of external flash. This change enables the FlashIAP driver to gain access to the full flash. --- targets/TARGET_Realtek/TARGET_AMEBA/flash_ext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_Realtek/TARGET_AMEBA/flash_ext.h b/targets/TARGET_Realtek/TARGET_AMEBA/flash_ext.h index 6ad5c799da..b2d287bf61 100644 --- a/targets/TARGET_Realtek/TARGET_AMEBA/flash_ext.h +++ b/targets/TARGET_Realtek/TARGET_AMEBA/flash_ext.h @@ -24,7 +24,7 @@ extern "C" { #endif #define FLASH_PAGE_SIZE 256 -#define FLASH_SIZE 0x100000 +#define FLASH_SIZE 0x200000 #define FLASH_OFS_START 0x0 #define FLASH_OFS_END (FLASH_OFS_START + FLASH_SIZE)