NuMaker Pelion Device Management example

Fork of mbed-os-example-pelion by cc li

Revision:
15:ae80f0957eae
Parent:
13:8c5fea88f3c7
Child:
17:036243cac1a4
--- a/mbed_app.json	Mon Sep 28 18:03:20 2020 +0800
+++ b/mbed_app.json	Tue Sep 29 09:25:11 2020 +0800
@@ -137,6 +137,36 @@
             "esp8266.provide-default"                   : true,
             "target.macros_add"                         : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""]
         },
+        "NU_M2354_NPSA_NS": {
+            "target.network-default-interface-type"     : "WIFI",
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-m2354_rom_96_928_ram_48_208-block_device-kvstore-v4.1.3.hex",
+            "bootloader-size"                           : "(64*1024)",
+            "target.header_offset"                      : "0x12000",
+            "target.app_offset"                         : "0x12400",
+            "target.components_add"                     : ["NUSD"],
+            "nusd.provide-default-blockdevice"          : true,
+            "nusd.provide-kvstore-other-blockdevice"    : true,
+            "update-client.bootloader-details"          : "0x0",
+            "update-client.application-details"         : "0x10072000",
+            "update-client.storage-address"             : "(1024*1024*64)",
+            "update-client.storage-size"                : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
+            "update-client.storage-locations"           : 1,
+            "mbed-cloud-client.update-storage"          : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
+            "storage.storage_type"                      : "FILESYSTEM",
+            "storage_filesystem.filesystem"             : "LITTLE",
+            "storage_filesystem.blockdevice"            : "other",
+            "storage_filesystem.internal_base_address"  : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
+            "storage_filesystem.rbp_internal_size"      : "(2*4*1024)",
+            "storage_filesystem.external_base_address"  : "(0x0)",
+            "storage_filesystem.external_size"          : "(1024*1024*64)",
+            "esp8266.tx"                                : "PC_7",
+            "esp8266.rx"                                : "PC_6",
+            "esp8266.rts"                               : "PE_13",
+            "esp8266.cts"                               : "PC_8",
+            "esp8266.rst"                               : "PC_13",
+            "esp8266.provide-default"                   : true,
+            "target.macros_add"                         : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""]
+        },
         "NUMAKER_IOT_M263A": {
             "target.network-default-interface-type"     : "WIFI",
             "target.bootloader_img"                     : "bootloader/mbed-bootloader-m263_iot-block_device-kvstore-v4.1.0.bin",