Generic Pelion Device Management example for various Advantech modules.

This example is known to work great on the following platforms:

Example Functionality

This example showcases the following device functionality:

  • On timer button increment, simulate Pelion LWM2M button resource change

Use this example with Mbed CLI

1. Import the application into your desktop:

mbed import https://os.mbed.com/teams/Advantech/code/pelion-example-common
cd pelion-example-common

2. Download your developer certificate from pelion portal

3. Compile the program

mbed compile -t <toolchain> -m <TARGET_BOARD>

(supported toolchains : GCC_ARM / ARM / IAR)

4. Copy the binary file pelion-example-common.bin to your mbed device.

Committer:
chuanga
Date:
Tue Mar 12 13:48:39 2019 +0800
Revision:
0:43ff9e3bc244
copying sources from github repository

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chuanga 0:43ff9e3bc244 1 {
chuanga 0:43ff9e3bc244 2 "macros": [
chuanga 0:43ff9e3bc244 3 "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"",
chuanga 0:43ff9e3bc244 4 "SHOW_PROGRESS_BAR=0",
chuanga 0:43ff9e3bc244 5 "MAX_COPY_RETRIES=1",
chuanga 0:43ff9e3bc244 6 "MAX_BOOT_RETRIES=3",
chuanga 0:43ff9e3bc244 7 "ARM_BOOTLOADER_USE_NVSTORE_ROT=1",
chuanga 0:43ff9e3bc244 8 "ARM_UC_USE_PAL_CRYPTO=0",
chuanga 0:43ff9e3bc244 9 "ARM_UC_USE_PAL_BLOCKDEVICE=1",
chuanga 0:43ff9e3bc244 10 "ARM_UC_PAAL_TRACE_ENABLE=0",
chuanga 0:43ff9e3bc244 11 "ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1",
chuanga 0:43ff9e3bc244 12 "ARM_UC_FEATURE_CRYPTO_PAL=0",
chuanga 0:43ff9e3bc244 13 "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1",
chuanga 0:43ff9e3bc244 14 "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE",
chuanga 0:43ff9e3bc244 15 "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS - NVSTORE_AREA_1_SIZE - NVSTORE_AREA_2_SIZE)",
chuanga 0:43ff9e3bc244 16 "DISABLE_ERROR_DESCRIPTION=1",
chuanga 0:43ff9e3bc244 17 "Mutex=PlatformMutex"
chuanga 0:43ff9e3bc244 18 ],
chuanga 0:43ff9e3bc244 19 "config": {
chuanga 0:43ff9e3bc244 20 "application-start-address": {
chuanga 0:43ff9e3bc244 21 "help": "Address to the beginning of the active application firmware in flash",
chuanga 0:43ff9e3bc244 22 "value": null
chuanga 0:43ff9e3bc244 23 },
chuanga 0:43ff9e3bc244 24 "application-jump-address": {
chuanga 0:43ff9e3bc244 25 "help": "Jump address for running the active application firmware",
chuanga 0:43ff9e3bc244 26 "value": null
chuanga 0:43ff9e3bc244 27 },
chuanga 0:43ff9e3bc244 28 "max-application-size": {
chuanga 0:43ff9e3bc244 29 "help": "Maximum size of the active application",
chuanga 0:43ff9e3bc244 30 "value": null
chuanga 0:43ff9e3bc244 31 },
chuanga 0:43ff9e3bc244 32 "flash-start-address": {
chuanga 0:43ff9e3bc244 33 "help": "Start address of internal flash. Only used in this config to help the definition of other macros.",
chuanga 0:43ff9e3bc244 34 "value": null
chuanga 0:43ff9e3bc244 35 },
chuanga 0:43ff9e3bc244 36 "flash-size": {
chuanga 0:43ff9e3bc244 37 "help": "Total size of internal flash. Only used in this config to help the definition of other macros.",
chuanga 0:43ff9e3bc244 38 "value": null
chuanga 0:43ff9e3bc244 39 }
chuanga 0:43ff9e3bc244 40 },
chuanga 0:43ff9e3bc244 41 "target_overrides": {
chuanga 0:43ff9e3bc244 42 "*": {
chuanga 0:43ff9e3bc244 43 "target.features_remove" : ["LWIP"],
chuanga 0:43ff9e3bc244 44 "target.features_add" : ["COMMON_PAL"],
chuanga 0:43ff9e3bc244 45 "target.extra_labels_remove" : ["PSA"],
chuanga 0:43ff9e3bc244 46 "target.components_remove" : ["FLASHIAP"],
chuanga 0:43ff9e3bc244 47 "platform.stdio-baud-rate" : 115200,
chuanga 0:43ff9e3bc244 48 "platform.stdio-flush-at-exit" : false
chuanga 0:43ff9e3bc244 49 },
chuanga 0:43ff9e3bc244 50 "K64F": {
chuanga 0:43ff9e3bc244 51 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 52 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 53 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 54 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 55 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 56 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 57 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 58 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 59 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 60 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 61 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 62 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 63 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 64 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 65 },
chuanga 0:43ff9e3bc244 66 "K66F": {
chuanga 0:43ff9e3bc244 67 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 68 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 69 "flash-size" : "(2048*1024)",
chuanga 0:43ff9e3bc244 70 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 71 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 72 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 73 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 74 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 75 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 76 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 77 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 78 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 79 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 80 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 81 },
chuanga 0:43ff9e3bc244 82 "NUCLEO_F412ZG": {
chuanga 0:43ff9e3bc244 83 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 84 "sd.SPI_MOSI" : "D11",
chuanga 0:43ff9e3bc244 85 "sd.SPI_MISO" : "D12",
chuanga 0:43ff9e3bc244 86 "sd.SPI_CLK" : "D13",
chuanga 0:43ff9e3bc244 87 "sd.SPI_CS" : "D10",
chuanga 0:43ff9e3bc244 88 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 89 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 90 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 91 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 92 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 93 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 94 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 95 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 96 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 97 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 98 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 99 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 100 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 101 },
chuanga 0:43ff9e3bc244 102 "NUCLEO_F429ZI": {
chuanga 0:43ff9e3bc244 103 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 104 "sd.SPI_MOSI" : "PC_12",
chuanga 0:43ff9e3bc244 105 "sd.SPI_MISO" : "PC_11",
chuanga 0:43ff9e3bc244 106 "sd.SPI_CLK" : "PC_10",
chuanga 0:43ff9e3bc244 107 "sd.SPI_CS" : "PC_9",
chuanga 0:43ff9e3bc244 108 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 109 "flash-size" : "(2048*1024)",
chuanga 0:43ff9e3bc244 110 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 111 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 112 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 113 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 114 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 115 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 116 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 117 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 118 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 119 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 120 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 121 },
chuanga 0:43ff9e3bc244 122 "NUCLEO_F767ZI": {
chuanga 0:43ff9e3bc244 123 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 124 "sd.SPI_MOSI" : "PC_12",
chuanga 0:43ff9e3bc244 125 "sd.SPI_MISO" : "PC_11",
chuanga 0:43ff9e3bc244 126 "sd.SPI_CLK" : "PC_10",
chuanga 0:43ff9e3bc244 127 "sd.SPI_CS" : "PC_9",
chuanga 0:43ff9e3bc244 128 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 129 "flash-size" : "(2048*1024)",
chuanga 0:43ff9e3bc244 130 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
chuanga 0:43ff9e3bc244 131 "nvstore.area_1_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 132 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
chuanga 0:43ff9e3bc244 133 "nvstore.area_2_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 134 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 135 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 136 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 137 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 138 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 139 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 140 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 141 },
chuanga 0:43ff9e3bc244 142 "NUCLEO_F746ZG": {
chuanga 0:43ff9e3bc244 143 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 144 "sd.SPI_MOSI" : "PC_12",
chuanga 0:43ff9e3bc244 145 "sd.SPI_MISO" : "PC_11",
chuanga 0:43ff9e3bc244 146 "sd.SPI_CLK" : "PC_10",
chuanga 0:43ff9e3bc244 147 "sd.SPI_CS" : "PC_9",
chuanga 0:43ff9e3bc244 148 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 149 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 150 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
chuanga 0:43ff9e3bc244 151 "nvstore.area_1_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 152 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
chuanga 0:43ff9e3bc244 153 "nvstore.area_2_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 154 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 155 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 156 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 157 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 158 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 159 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 160 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 161 },
chuanga 0:43ff9e3bc244 162 "NUCLEO_F207ZG": {
chuanga 0:43ff9e3bc244 163 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 164 "sd.SPI_MOSI" : "PC_12",
chuanga 0:43ff9e3bc244 165 "sd.SPI_MISO" : "PC_11",
chuanga 0:43ff9e3bc244 166 "sd.SPI_CLK" : "PC_10",
chuanga 0:43ff9e3bc244 167 "sd.SPI_CS" : "PC_9",
chuanga 0:43ff9e3bc244 168 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 169 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 170 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 171 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 172 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 173 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 174 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 175 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 176 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 177 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 178 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 179 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 180 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 181 },
chuanga 0:43ff9e3bc244 182 "NUCLEO_L4R5ZI": {
chuanga 0:43ff9e3bc244 183 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 184 "sd.SPI_MOSI" : "D11",
chuanga 0:43ff9e3bc244 185 "sd.SPI_MISO" : "D12",
chuanga 0:43ff9e3bc244 186 "sd.SPI_CLK" : "D13",
chuanga 0:43ff9e3bc244 187 "sd.SPI_CS" : "D10",
chuanga 0:43ff9e3bc244 188 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 189 "flash-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 190 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 191 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 192 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 193 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 194 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 195 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 196 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 197 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 198 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 199 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 200 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 201 },
chuanga 0:43ff9e3bc244 202 "NUCLEO_L476RG": {
chuanga 0:43ff9e3bc244 203 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 204 "sd.SPI_MOSI" : "D11",
chuanga 0:43ff9e3bc244 205 "sd.SPI_MISO" : "D12",
chuanga 0:43ff9e3bc244 206 "sd.SPI_CLK" : "D13",
chuanga 0:43ff9e3bc244 207 "sd.SPI_CS" : "D10",
chuanga 0:43ff9e3bc244 208 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 209 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 210 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 211 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 212 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 213 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 214 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 215 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 216 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 217 },
chuanga 0:43ff9e3bc244 218 "DISCO_L475VG_IOT01A": {
chuanga 0:43ff9e3bc244 219 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 220 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 221 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 222 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(2*1024))",
chuanga 0:43ff9e3bc244 223 "nvstore.area_1_size" : "(2*1024)",
chuanga 0:43ff9e3bc244 224 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(2*1024))",
chuanga 0:43ff9e3bc244 225 "nvstore.area_2_size" : "(2*1024)",
chuanga 0:43ff9e3bc244 226 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 227 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 228 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 229 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 230 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 231 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 232 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 233 },
chuanga 0:43ff9e3bc244 234 "DISCO_F413ZH": {
chuanga 0:43ff9e3bc244 235 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 236 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 237 "flash-size" : "(1536*1024)",
chuanga 0:43ff9e3bc244 238 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 239 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 240 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 241 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 242 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 243 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 244 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 245 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 246 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 247 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 248 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 249 },
chuanga 0:43ff9e3bc244 250 "DISCO_F469NI": {
chuanga 0:43ff9e3bc244 251 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 252 "target.components_remove" : ["FLASHIAP"],
chuanga 0:43ff9e3bc244 253 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 254 "flash-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 255 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 256 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 257 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 258 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 259 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)",
chuanga 0:43ff9e3bc244 260 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)",
chuanga 0:43ff9e3bc244 261 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE",
chuanga 0:43ff9e3bc244 262 "update-client.storage-address" : "(1024*1024*2)",
chuanga 0:43ff9e3bc244 263 "update-client.storage-size" : "(1024*1024*2)",
chuanga 0:43ff9e3bc244 264 "update-client.storage-locations" : 1
chuanga 0:43ff9e3bc244 265 },
chuanga 0:43ff9e3bc244 266 "DISCO_F746NG": {
chuanga 0:43ff9e3bc244 267 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 268 "target.components_remove" : ["FLASHIAP"],
chuanga 0:43ff9e3bc244 269 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 270 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 271 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
chuanga 0:43ff9e3bc244 272 "nvstore.area_1_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 273 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
chuanga 0:43ff9e3bc244 274 "nvstore.area_2_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 275 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 276 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 277 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 278 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 279 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 280 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 281 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 282 },
chuanga 0:43ff9e3bc244 283 "DISCO_F769NI": {
chuanga 0:43ff9e3bc244 284 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 285 "target.components_remove" : ["FLASHIAP"],
chuanga 0:43ff9e3bc244 286 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 287 "flash-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 288 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
chuanga 0:43ff9e3bc244 289 "nvstore.area_1_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 290 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
chuanga 0:43ff9e3bc244 291 "nvstore.area_2_size" : "(256*1024)",
chuanga 0:43ff9e3bc244 292 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 293 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 294 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 295 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 296 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 297 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 298 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 299 },
chuanga 0:43ff9e3bc244 300 "NUMAKER_PFM_NUC472": {
chuanga 0:43ff9e3bc244 301 "drivers.uart-serial-rxbuf-size" : 1024,
chuanga 0:43ff9e3bc244 302 "drivers.uart-serial-txbuf-size" : 1024,
chuanga 0:43ff9e3bc244 303 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 304 "flash-size" : "(512*1024)",
chuanga 0:43ff9e3bc244 305 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 306 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 307 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 308 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 309 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 310 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 311 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 312 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 313 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 314 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 315 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 316 },
chuanga 0:43ff9e3bc244 317 "NUMAKER_PFM_M487": {
chuanga 0:43ff9e3bc244 318 "drivers.uart-serial-rxbuf-size" : 1024,
chuanga 0:43ff9e3bc244 319 "drivers.uart-serial-txbuf-size" : 1024,
chuanga 0:43ff9e3bc244 320 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 321 "flash-size" : "(512*1024)",
chuanga 0:43ff9e3bc244 322 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 323 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 324 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 325 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 326 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 327 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 328 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 329 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 330 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 331 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 332 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 333 },
chuanga 0:43ff9e3bc244 334 "NUMAKER_IOT_M487": {
chuanga 0:43ff9e3bc244 335 "drivers.uart-serial-rxbuf-size" : 1024,
chuanga 0:43ff9e3bc244 336 "drivers.uart-serial-txbuf-size" : 1024,
chuanga 0:43ff9e3bc244 337 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 338 "flash-size" : "(512*1024)",
chuanga 0:43ff9e3bc244 339 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 340 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 341 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 342 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 343 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 344 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 345 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 346 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 347 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 348 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 349 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 350 },
chuanga 0:43ff9e3bc244 351 "GR_LYCHEE": {
chuanga 0:43ff9e3bc244 352 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 353 "sd.SPI_MOSI" : "P5_6",
chuanga 0:43ff9e3bc244 354 "sd.SPI_MISO" : "P5_7",
chuanga 0:43ff9e3bc244 355 "sd.SPI_CLK" : "P5_4",
chuanga 0:43ff9e3bc244 356 "sd.SPI_CS" : "P5_5",
chuanga 0:43ff9e3bc244 357 "flash-start-address" : "0x18000000",
chuanga 0:43ff9e3bc244 358 "flash-size" : "(8*1024*1024)",
chuanga 0:43ff9e3bc244 359 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 360 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 361 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 362 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 363 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 364 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 365 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 366 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 367 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 368 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 369 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 370 },
chuanga 0:43ff9e3bc244 371 "RZ_A1H": {
chuanga 0:43ff9e3bc244 372 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 373 "sd.SPI_MOSI" : "P8_5",
chuanga 0:43ff9e3bc244 374 "sd.SPI_MISO" : "P8_6",
chuanga 0:43ff9e3bc244 375 "sd.SPI_CLK" : "P8_3",
chuanga 0:43ff9e3bc244 376 "sd.SPI_CS" : "P8_4",
chuanga 0:43ff9e3bc244 377 "flash-start-address" : "0x18000000",
chuanga 0:43ff9e3bc244 378 "flash-size" : "(8*1024*1024)",
chuanga 0:43ff9e3bc244 379 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 380 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 381 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 382 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 383 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)",
chuanga 0:43ff9e3bc244 384 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)",
chuanga 0:43ff9e3bc244 385 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 386 },
chuanga 0:43ff9e3bc244 387 "UBLOX_EVK_ODIN_W2": {
chuanga 0:43ff9e3bc244 388 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 389 "target.device_has_remove" : ["EMAC"],
chuanga 0:43ff9e3bc244 390 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 391 "flash-size" : "(2048*1024)",
chuanga 0:43ff9e3bc244 392 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 393 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 394 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 395 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 396 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 397 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 398 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 399 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 400 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 401 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 402 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 403 },
chuanga 0:43ff9e3bc244 404 "UBLOX_C030_U201": {
chuanga 0:43ff9e3bc244 405 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 406 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 407 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 408 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
chuanga 0:43ff9e3bc244 409 "nvstore.area_1_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 410 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
chuanga 0:43ff9e3bc244 411 "nvstore.area_2_size" : "(128*1024)",
chuanga 0:43ff9e3bc244 412 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 413 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 414 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 415 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 416 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 417 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 418 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 419 },
chuanga 0:43ff9e3bc244 420 "SDT64B": {
chuanga 0:43ff9e3bc244 421 "target.components_add" : ["SD"],
chuanga 0:43ff9e3bc244 422 "sd.SPI_MOSI" : "PTB16",
chuanga 0:43ff9e3bc244 423 "sd.SPI_MISO" : "PTB17",
chuanga 0:43ff9e3bc244 424 "sd.SPI_CLK" : "PTB11",
chuanga 0:43ff9e3bc244 425 "sd.SPI_CS" : "PTB10",
chuanga 0:43ff9e3bc244 426 "flash-start-address" : "0x0",
chuanga 0:43ff9e3bc244 427 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 428 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 429 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 430 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 431 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 432 "update-client.storage-address" : "(64*1024*1024)",
chuanga 0:43ff9e3bc244 433 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 434 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 435 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 436 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 437 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 438 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 439 },
chuanga 0:43ff9e3bc244 440 "MTB_MXCHIP_EMW3166": {
chuanga 0:43ff9e3bc244 441 "target.extra_labels_remove" : ["WICED"],
chuanga 0:43ff9e3bc244 442 "target.components_add" : ["SPIF"],
chuanga 0:43ff9e3bc244 443 "spif-driver.SPI_MOSI" : "PB_15",
chuanga 0:43ff9e3bc244 444 "spif-driver.SPI_MISO" : "PB_14",
chuanga 0:43ff9e3bc244 445 "spif-driver.SPI_CLK" : "PB_13",
chuanga 0:43ff9e3bc244 446 "spif-driver.SPI_CS" : "PA_10",
chuanga 0:43ff9e3bc244 447 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 448 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 449 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 48*1024)",
chuanga 0:43ff9e3bc244 450 "nvstore.area_1_size" : "(16*1024)",
chuanga 0:43ff9e3bc244 451 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 452 "nvstore.area_2_size" : "(16*1024)",
chuanga 0:43ff9e3bc244 453 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 454 "update-client.storage-size" : "(1*1024*1024)",
chuanga 0:43ff9e3bc244 455 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 456 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 457 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 128*1024)",
chuanga 0:43ff9e3bc244 458 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 129*1024)",
chuanga 0:43ff9e3bc244 459 "max-application-size" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)"
chuanga 0:43ff9e3bc244 460
chuanga 0:43ff9e3bc244 461 },
chuanga 0:43ff9e3bc244 462 "MTB_USI_WM_BN_BM_22": {
chuanga 0:43ff9e3bc244 463 "target.extra_labels_remove" : ["WICED"],
chuanga 0:43ff9e3bc244 464 "target.components_add" : ["SPIF"],
chuanga 0:43ff9e3bc244 465 "spif-driver.SPI_MOSI" : "PC_3",
chuanga 0:43ff9e3bc244 466 "spif-driver.SPI_MISO" : "PC_2",
chuanga 0:43ff9e3bc244 467 "spif-driver.SPI_CLK" : "PB_13",
chuanga 0:43ff9e3bc244 468 "spif-driver.SPI_CS" : "PA_6",
chuanga 0:43ff9e3bc244 469 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 470 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 471 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 48*1024)",
chuanga 0:43ff9e3bc244 472 "nvstore.area_1_size" : "(16*1024)",
chuanga 0:43ff9e3bc244 473 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 474 "nvstore.area_2_size" : "(16*1024)",
chuanga 0:43ff9e3bc244 475 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 476 "update-client.storage-size" : "(1*1024*1024)",
chuanga 0:43ff9e3bc244 477 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 478 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 479 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 128*1024)",
chuanga 0:43ff9e3bc244 480 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 129*1024)",
chuanga 0:43ff9e3bc244 481 "max-application-size" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)"
chuanga 0:43ff9e3bc244 482 },
chuanga 0:43ff9e3bc244 483 "MTB_ADV_WISE_1570": {
chuanga 0:43ff9e3bc244 484 "target.components_add" : ["SPIF"],
chuanga 0:43ff9e3bc244 485 "target.OUTPUT_EXT" : "bin",
chuanga 0:43ff9e3bc244 486 "spif-driver.SPI_FREQ" : 20000000,
chuanga 0:43ff9e3bc244 487 "flash-start-address" : "0x08000000",
chuanga 0:43ff9e3bc244 488 "flash-size" : "(1024*1024)",
chuanga 0:43ff9e3bc244 489 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 490 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 491 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 492 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 493 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 494 "update-client.storage-size" : "(1*1024*1024)",
chuanga 0:43ff9e3bc244 495 "update-client.storage-page" : 1,
chuanga 0:43ff9e3bc244 496 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 497 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 498 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 32*1024)",
chuanga 0:43ff9e3bc244 499 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 33*1024)",
chuanga 0:43ff9e3bc244 500 "max-application-size" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)"
chuanga 0:43ff9e3bc244 501 },
chuanga 0:43ff9e3bc244 502 "EFM32GG11_STK3701": {
chuanga 0:43ff9e3bc244 503 "target.components_add" : ["QSPIF"],
chuanga 0:43ff9e3bc244 504 "qspif.QSPI_FREQ" : 10000000,
chuanga 0:43ff9e3bc244 505 "flash-start-address" : "0x00000000",
chuanga 0:43ff9e3bc244 506 "flash-size" : "(2048*1024)",
chuanga 0:43ff9e3bc244 507 "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(4*1024))",
chuanga 0:43ff9e3bc244 508 "nvstore.area_1_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 509 "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(4*1024))",
chuanga 0:43ff9e3bc244 510 "nvstore.area_2_size" : "(4*1024)",
chuanga 0:43ff9e3bc244 511 "update-client.storage-address" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 512 "update-client.storage-size" : "(2*1024*1024)",
chuanga 0:43ff9e3bc244 513 "update-client.storage-locations" : 1,
chuanga 0:43ff9e3bc244 514 "update-client.firmware-header-version": "2",
chuanga 0:43ff9e3bc244 515 "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
chuanga 0:43ff9e3bc244 516 "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)",
chuanga 0:43ff9e3bc244 517 "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE"
chuanga 0:43ff9e3bc244 518 }
chuanga 0:43ff9e3bc244 519 }
chuanga 0:43ff9e3bc244 520 }