NuMaker Pelion Device Management example

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

Revision:
7:7bfbb8e70559
Parent:
5:ae686808e015
Child:
11:d147172e94b5
diff -r 7e7872c31bef -r 7bfbb8e70559 mbed_app.json
--- a/mbed_app.json	Thu Dec 05 11:55:21 2019 +0800
+++ b/mbed_app.json	Wed Dec 04 09:04:47 2019 +0800
@@ -102,6 +102,37 @@
             "esp8266.provide-default"                   : true,
             "target.macros_add"                         : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000", "MBEDTLS_ENTROPY_HARDWARE_ALT"]
         },
+        "NU_PFM_M2351_NPSA_NS": {
+            "target.network-default-interface-type"     : "WIFI",
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-m2351_rom_64_448_ram_8_88-block_device-kvstore-v4.1.0.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"         : "0x10022000",
+            "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"                                : "PD_1",
+            "esp8266.rx"                                : "PD_0",
+            "esp8266.rts"                               : "PD_3",
+            "esp8266.cts"                               : "PD_2",
+            "esp8266.rst"                               : "NC",
+            "esp8266.pwr"                               : "PD_7",
+            "esp8266.provide-default"                   : true,
+            "target.macros_add"                         : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"]
+        },
         "NUMAKER_IOT_M263A": {
             "target.network-default-interface-type"     : "WIFI",
             "target.bootloader_img"                     : "bootloader/mbed-bootloader-m263_iot-block_device-kvstore-v4.1.0.bin",