mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
184:08ed48f1de7f
Parent:
172:7d866c31b3c5
--- a/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c	Tue Mar 20 17:01:51 2018 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_M480/flash_api.c	Thu Apr 19 17:12:19 2018 +0100
@@ -69,7 +69,8 @@
 };
 
 static const flash_target_config_t flash_target_config = {
-    .page_size  = 0x200,    // 512 bytes
+    .page_size  = 4,        // 4 bytes
+                            // Here page_size is program unit, which is different than FMC definition.
     .flash_start = 0x0,
     .flash_size = 0x80000,  // 512 KB
     .sectors = sectors_info,