This repository contains the example code to: 1) Connect RTL8195AM board to Pelion 2) Enable and run firmware update on RTL8195AM

RTL8195AM SMCC application demonstrates how to create a Simple Mbed Cloud Client application that can connect to Pelion, register resources and get FW updates.

Revision:
5:d1d54f04217e
Parent:
3:8b6dac99d1ed
--- a/mbed_app.json	Tue Jul 24 12:00:03 2018 +0800
+++ b/mbed_app.json	Fri Oct 05 15:52:49 2018 +0800
@@ -6,8 +6,8 @@
         "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
         "PAL_DTLS_PEER_MIN_TIMEOUT=5000",
         "MBED_CONF_APP_MAIN_STACK_SIZE=8192",
-        "ARM_UC_USE_PAL_BLOCKDEVICE=1",
-        "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
+        "ARM_UC_USE_PAL_BLOCKDEVICE=0",
+        "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_REALTEK_RTL8195AM"
     ],
     "target_overrides": {
         "*": {
@@ -18,13 +18,13 @@
             "update-client.storage-locations": "1",
             "mbed-trace.enable": null
         },
-		"REALTEK_RTL8195AM": {
-			"sotp-section-1-address": "(0x1FE000)",
+	"REALTEK_RTL8195AM": {
+            "sotp-section-1-address": "(0xd000)",
             "sotp-section-1-size"   : "(0x1000)",
-            "sotp-section-2-address": "(0x1FF000)",
+            "sotp-section-2-address": "(0xe000)",
             "sotp-section-2-size"   : "(0x1000)",
-			"sotp-num-sections"		: 2
-		}
+            "sotp-num-sections"     : 2
+        }
     },
     "config": {
         "format-storage-layer-on-error": {