Pelion Device Ready example for Advantech WISE-1570 (MTB_ADV_WISE_1570)

Committer:
Juho Eskeli
Date:
Fri Jan 25 21:13:29 2019 +0200
Revision:
1:75f7384f9a0b
Parent:
0:2b6d1f2f42fa
Documentation updated

Who changed what in which revision?

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