mbed library sources. Supersedes mbed-src.

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

Revision:
184:08ed48f1de7f
Parent:
163:74e0ce7f98e8
--- a/targets/TARGET_NUVOTON/TARGET_M451/flash_api.c	Tue Mar 20 17:01:51 2018 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_M451/flash_api.c	Thu Apr 19 17:12:19 2018 +0100
@@ -65,7 +65,8 @@
 };
 
 static const flash_target_config_t flash_target_config = {
-    .page_size  = 0x800,    // 2 KB
+    .page_size  = 4,        // 4 bytes
+                            // Here page_size is program unit, which is different than FMC definition.
     .flash_start = 0x0,
     .flash_size = 0x40000,  // 256 KB
     .sectors = sectors_info,