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
Add support for Connect+Update

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MarceloSalazar 7:970a69dc8610 1 {
MarceloSalazar 7:970a69dc8610 2 "macros": [
MarceloSalazar 7:970a69dc8610 3 "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"",
MarceloSalazar 7:970a69dc8610 4 "MAX_COPY_RETRIES=1",
MarceloSalazar 7:970a69dc8610 5 "SHOW_PROGRESS_BAR=1",
MarceloSalazar 7:970a69dc8610 6 "MAX_BOOT_RETRIES=3",
MarceloSalazar 7:970a69dc8610 7 "ARM_UC_USE_PAL_CRYPTO=0",
MarceloSalazar 7:970a69dc8610 8 "ARM_BOOTLOADER_USE_NVSTORE_ROT=1",
MarceloSalazar 7:970a69dc8610 9 "ARM_UC_USE_PAL_BLOCKDEVICE=1",
MarceloSalazar 7:970a69dc8610 10 "ARM_UC_PAAL_TRACE_ENABLE=0",
MarceloSalazar 7:970a69dc8610 11 "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE",
MarceloSalazar 7:970a69dc8610 12 "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)",
MarceloSalazar 7:970a69dc8610 13 "DISABLE_ERROR_DESCRIPTION=1",
MarceloSalazar 7:970a69dc8610 14 "Mutex=PlatformMutex"
MarceloSalazar 7:970a69dc8610 15 ],
MarceloSalazar 7:970a69dc8610 16 "config": {
MarceloSalazar 7:970a69dc8610 17 "application-start-address": {
MarceloSalazar 7:970a69dc8610 18 "help": "Address to the beginning of the active application firmware in flash",
MarceloSalazar 7:970a69dc8610 19 "value": null
MarceloSalazar 7:970a69dc8610 20 },
MarceloSalazar 7:970a69dc8610 21 "application-jump-address": {
MarceloSalazar 7:970a69dc8610 22 "help": "Jump address for running the active application firmware",
MarceloSalazar 7:970a69dc8610 23 "value": null
MarceloSalazar 7:970a69dc8610 24 },
MarceloSalazar 7:970a69dc8610 25 "max-application-size": {
MarceloSalazar 7:970a69dc8610 26 "help": "Maximum size of the active application",
MarceloSalazar 7:970a69dc8610 27 "value": null
MarceloSalazar 7:970a69dc8610 28 },
MarceloSalazar 7:970a69dc8610 29 "flash-start-address": {
MarceloSalazar 7:970a69dc8610 30 "help": "Start address of internal flash. Only used in this config to help the definition of other macros.",
MarceloSalazar 7:970a69dc8610 31 "value": null
MarceloSalazar 7:970a69dc8610 32 },
MarceloSalazar 7:970a69dc8610 33 "flash-size": {
MarceloSalazar 7:970a69dc8610 34 "help": "Total size of internal flash. Only used in this config to help the definition of other macros.",
MarceloSalazar 7:970a69dc8610 35 "value": null
MarceloSalazar 7:970a69dc8610 36 }
MarceloSalazar 7:970a69dc8610 37 },
MarceloSalazar 7:970a69dc8610 38 "target_overrides": {
MarceloSalazar 7:970a69dc8610 39 "*": {
MarceloSalazar 7:970a69dc8610 40 "target.features_remove": ["LWIP"],
MarceloSalazar 7:970a69dc8610 41 "target.features_add" : ["COMMON_PAL"],
MarceloSalazar 7:970a69dc8610 42 "platform.stdio-baud-rate" : 115200,
MarceloSalazar 7:970a69dc8610 43 "platform.stdio-flush-at-exit": false,
MarceloSalazar 7:970a69dc8610 44 "update-client.storage-address" : "(1024*1024*64)",
MarceloSalazar 7:970a69dc8610 45 "update-client.storage-size" : "(1024*1024*2)",
MarceloSalazar 7:970a69dc8610 46 "update-client.storage-locations": 1,
MarceloSalazar 7:970a69dc8610 47 "update-client.firmware-header-version": "2"
MarceloSalazar 7:970a69dc8610 48 },
MarceloSalazar 7:970a69dc8610 49 "UBLOX_EVK_ODIN_W2": {
MarceloSalazar 7:970a69dc8610 50 "target.device_has_remove" : ["EMAC"],
MarceloSalazar 7:970a69dc8610 51 "flash-start-address" : "0x08000000",
MarceloSalazar 7:970a69dc8610 52 "flash-size" : "(2048*1024)",
MarceloSalazar 7:970a69dc8610 53 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+32*1024)",
MarceloSalazar 7:970a69dc8610 54 "nvstore.area_1_size" : "(16*1024)",
MarceloSalazar 7:970a69dc8610 55 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+48*1024)",
MarceloSalazar 7:970a69dc8610 56 "nvstore.area_2_size" : "(16*1024)",
MarceloSalazar 7:970a69dc8610 57 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)",
MarceloSalazar 7:970a69dc8610 58 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)",
MarceloSalazar 7:970a69dc8610 59 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
MarceloSalazar 7:970a69dc8610 60 }
MarceloSalazar 7:970a69dc8610 61 }
MarceloSalazar 7:970a69dc8610 62 }