Simple Mbed Cloud client application for NuMaker-PFM-M487 and NuMaker-PFM-NUC472 over Ethernet.

This application contains the example codes to:

1) Connect PFM-M487/PFM-NUC472 boards to Pelion

2) Enable Firmware update

For storage, PFM-M487/PFM-NUC472 support both SPI interface SD and built-in SD bus SD.

For connectivity, PFM-M487/PFM-NUC472 support Ethernet (on-board) by default.

This example supports Ethernet and built-in SD by default.

https://os.mbed.com/media/cache/platforms/NuMaker-PFM-M487.png.170x170_q85.png https://os.mbed.com/media/cache/platforms/NuMaker-PFM-NUC472Small.png.170x170_q85.png

Revision:
12:21d96c437a2f
Parent:
11:beac893830b4
Child:
13:11364511c2a9
diff -r beac893830b4 -r 21d96c437a2f mbed_app.json
--- a/mbed_app.json	Fri Nov 23 13:13:13 2018 +0800
+++ b/mbed_app.json	Fri Nov 23 14:49:53 2018 +0800
@@ -122,6 +122,27 @@
             "target.macros_add": [
                 "ESP8266_AT_SEL=ESP8266_AT_EXTERN"
             ]
+        },
+        "NUMAKER_IOT_M487": {
+            "target.components_add"                 : ["NUSD"],
+            "target.network-default-interface-type" : "WIFI",
+            "update-client.bootloader-details"      : "0x0",
+            "update-client.application-details"     : "0x13000",
+
+            "drivers.uart-serial-rxbuf-size"        : 1024,
+            "drivers.uart-serial-txbuf-size"        : 1024,
+
+            "client_app.sotp-section-1-address"     : "0x11000",
+            "client_app.sotp-section-1-size"        : "0x1000",
+            "client_app.sotp-section-2-address"     : "0x12000",
+            "client_app.sotp-section-2-size"        : "0x1000",
+
+            "update-client.storage-address"         : "(1024*1024*480)",
+            "update-client.storage-size"            : "(1024*1024*2)",
+
+            "target.macros_add": [
+                "ESP8266_AT_SEL=ESP8266_AT_ONBOARD"
+            ]
         }
     }
 }