Prepare example app Connect+FW Update

Fork of example-ODINW2-mbed-Cloud-connect by u-blox

Committer:
MarceloSalazar
Date:
Sun Oct 14 19:41:29 2018 +0100
Revision:
7:970a69dc8610
Parent:
6:4fea66d52b5d
Add support for Connect+Update

Who changed what in which revision?

UserRevisionLine numberNew contents of line
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 1 {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 2 "macros": [
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 3 "MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 4 "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 5 "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 6 "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 7 "PAL_DTLS_PEER_MIN_TIMEOUT=5000",
MarceloSalazar 7:970a69dc8610 8 "MBED_CONF_APP_MAIN_STACK_SIZE=7000",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 9 "ARM_UC_USE_PAL_BLOCKDEVICE=1",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 10 "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 11 ],
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 12 "target_overrides": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 13 "*": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 14 "platform.stdio-baud-rate": 115200,
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 15 "platform.stdio-convert-newlines": true,
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 16 "update-client.storage-address" : "(1024*1024*64)",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 17 "update-client.storage-size" : "(1024*1024*2)",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 18 "update-client.storage-locations": "1",
MarceloSalazar 6:4fea66d52b5d 19 "mbed-trace.enable": null,
MarceloSalazar 6:4fea66d52b5d 20 "nsapi.default-wifi-security" : "WPA_WPA2",
MarceloSalazar 6:4fea66d52b5d 21 "nsapi.default-wifi-ssid" : "\"SSID\"",
MarceloSalazar 6:4fea66d52b5d 22 "nsapi.default-wifi-password" : "\"Password\""
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 23 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 24 "UBLOX_EVK_ODIN_W2": {
MarceloSalazar 6:4fea66d52b5d 25 "target.features_add" : ["STORAGE", "BOOTLOADER"],
MarceloSalazar 6:4fea66d52b5d 26 "target.bootloader_img": "bootloader/mbed-bootloader-ODIN-EVK.bin",
MarceloSalazar 6:4fea66d52b5d 27 "target.components_add": ["SD"],
MarceloSalazar 6:4fea66d52b5d 28 "target.network-default-interface-type" : "WIFI",
MarceloSalazar 6:4fea66d52b5d 29 "sotp-section-1-address" : "(0x08000000+32*1024)",
MarceloSalazar 6:4fea66d52b5d 30 "sotp-section-1-size" : "(16*1024)",
MarceloSalazar 6:4fea66d52b5d 31 "sotp-section-2-address" : "(0x08000000+48*1024)",
MarceloSalazar 6:4fea66d52b5d 32 "sotp-section-2-size" : "(16*1024)",
MarceloSalazar 6:4fea66d52b5d 33 "sotp-num-sections" : 2,
MarceloSalazar 6:4fea66d52b5d 34 "update-client.bootloader-details" : "0x08007300",
MarceloSalazar 6:4fea66d52b5d 35 "update-client.application-details": "(0x08000000+64*1024)"
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 36 }
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 37 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 38 "config": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 39 "format-storage-layer-on-error": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 40 "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 41 "value": 1
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 42 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 43 "developer-mode": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 44 "help": "Enable Developer mode to skip Factory enrollment",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 45 "value": 1
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 46 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 47 "sotp-section-1-address": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 48 "help": "Flash sector address for SOTP sector 1",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 49 "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 50 "value": null
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 51 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 52 "sotp-section-1-size": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 53 "help": "Flash sector size for SOTP sector 1",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 54 "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 55 "value": null
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 56 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 57 "sotp-section-2-address": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 58 "help": "Flash sector address for SOTP sector 2",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 59 "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 60 "value": null
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 61 },
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 62 "sotp-section-2-size": {
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 63 "help": "Flash sector size for SOTP sector 2",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 64 "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 65 "value": null
MarceloSalazar 7:970a69dc8610 66 },
MarceloSalazar 7:970a69dc8610 67 "sotp-num-sections": {
MarceloSalazar 7:970a69dc8610 68 "help": "Number of SOTP sections",
MarceloSalazar 7:970a69dc8610 69 "macro_name": "PAL_INT_FLASH_NUM_SECTIONS",
MarceloSalazar 7:970a69dc8610 70 "value": null
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 71 }
davwal04@E108444.Emea.Arm.com 2:8cdc2cc26bfb 72 }
MarceloSalazar 7:970a69dc8610 73 }