pelion-example-common

Dependencies:   ublox-at-cellular-interface ublox-cellular-base

Files at this revision

API Documentation at this revision

Comitter:
fahimalavi
Date:
Tue Jun 11 13:28:20 2019 +0500
Parent:
8:a5e9f1f94ade
Child:
10:4c2ed226f5a8
Commit message:
json configuration updated for R412M and bootloader file added

Changed in this revision

bootloader/bootloader_app.json Show annotated file Show diff for this revision Revisions of this file
bootloader/mbed-bootloader-UBLOX_C030_R412M.bin Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
--- a/bootloader/bootloader_app.json	Tue Jun 11 13:16:32 2019 +0500
+++ b/bootloader/bootloader_app.json	Tue Jun 11 13:28:20 2019 +0500
@@ -79,6 +79,22 @@
             "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
             "application-start-address"        : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
             "max-application-size"             : "DEFAULT_MAX_APPLICATION_SIZE"
-        }
+        },
+        "UBLOX_C030_R41XM": {
+            "target.components_add"            : ["SD"],
+            "flash-start-address"              : "0x08000000",
+            "flash-size"                       : "(1024*1024)",
+            "nvstore.area_1_address"           : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "nvstore.area_1_size"              : "(128*1024)",
+            "nvstore.area_2_address"           : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "nvstore.area_2_size"              : "(128*1024)",
+            "update-client.storage-address"    : "(64*1024*1024)",
+            "update-client.storage-size"       : "(2*1024*1024)",
+            "update-client.storage-locations"  : 1,
+            "update-client.firmware-header-version": "2",
+            "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "application-start-address"        : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
+            "max-application-size"             : "DEFAULT_MAX_APPLICATION_SIZE"
+        },
     }
 }
Binary file bootloader/mbed-bootloader-UBLOX_C030_R412M.bin has changed
--- a/mbed_app.json	Tue Jun 11 13:16:32 2019 +0500
+++ b/mbed_app.json	Tue Jun 11 13:28:20 2019 +0500
@@ -5,8 +5,8 @@
             "target.extra_labels_remove"                : ["PSA"],
             "platform.stdio-baud-rate"                  : 115200,
             "platform.stdio-convert-newlines"           : true,
+            "mbed-trace.enable"                         : null,
             "mbed-cloud-client.external-sst-support"    : null,
-            "mbed-trace.enable"                         : null,
             "nsapi.default-wifi-security"               : "WPA_WPA2",
             "nsapi.default-wifi-ssid"                   : "\"SSID\"",
             "nsapi.default-wifi-password"               : "\"Password\""
@@ -53,6 +53,31 @@
             "target.bootloader_img"                     : "bootloader/mbed-bootloader-UBLOX_C030_U201.bin",
             "target.header_offset"                      : "0x10000",
             "target.app_offset"                         : "0x10400"
+        },
+		"UBLOX_C030_R41XM": {
+            "target.features_add"                       : ["STORAGE", "LWIP"],
+            "target.components_add"                     : ["SD"],
+            "target.network-default-interface-type"     : "CELLULAR",
+            "lwip.ipv4-enabled"                         : true,
+            "lwip.ethernet-enabled"                     : false,
+            "lwip.ppp-enabled"                          : true,
+            "lwip.tcp-enabled"                          : true,
+            "mbed-trace.enable"                         : false,
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-UBLOX_C030_R412M.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400",
+            "platform.default-serial-baud-rate"         : 115200
         }
     },
     "config": {