fahim alavi
/
mbed-cloud-example-c030
For test cases of R410M
Fork of mbed-cloud-example-c030 by
bootloader/mbed_app.json@2:a34e80e223c2, 2018-10-14 (annotated)
- Committer:
- MarceloSalazar
- Date:
- Sun Oct 14 17:06:16 2018 +0100
- Revision:
- 2:a34e80e223c2
Add support for FW Update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MarceloSalazar | 2:a34e80e223c2 | 1 | { |
MarceloSalazar | 2:a34e80e223c2 | 2 | "macros": [ |
MarceloSalazar | 2:a34e80e223c2 | 3 | "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"", |
MarceloSalazar | 2:a34e80e223c2 | 4 | "MAX_COPY_RETRIES=1", |
MarceloSalazar | 2:a34e80e223c2 | 5 | "SHOW_PROGRESS_BAR=1", |
MarceloSalazar | 2:a34e80e223c2 | 6 | "MAX_BOOT_RETRIES=3", |
MarceloSalazar | 2:a34e80e223c2 | 7 | "ARM_UC_USE_PAL_CRYPTO=0", |
MarceloSalazar | 2:a34e80e223c2 | 8 | "ARM_BOOTLOADER_USE_NVSTORE_ROT=1", |
MarceloSalazar | 2:a34e80e223c2 | 9 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
MarceloSalazar | 2:a34e80e223c2 | 10 | "ARM_UC_PAAL_TRACE_ENABLE=0", |
MarceloSalazar | 2:a34e80e223c2 | 11 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE", |
MarceloSalazar | 2:a34e80e223c2 | 12 | "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
MarceloSalazar | 2:a34e80e223c2 | 13 | "DISABLE_ERROR_DESCRIPTION=1", |
MarceloSalazar | 2:a34e80e223c2 | 14 | "Mutex=PlatformMutex" |
MarceloSalazar | 2:a34e80e223c2 | 15 | ], |
MarceloSalazar | 2:a34e80e223c2 | 16 | "config": { |
MarceloSalazar | 2:a34e80e223c2 | 17 | "application-start-address": { |
MarceloSalazar | 2:a34e80e223c2 | 18 | "help": "Address to the beginning of the active application firmware in flash", |
MarceloSalazar | 2:a34e80e223c2 | 19 | "value": null |
MarceloSalazar | 2:a34e80e223c2 | 20 | }, |
MarceloSalazar | 2:a34e80e223c2 | 21 | "application-jump-address": { |
MarceloSalazar | 2:a34e80e223c2 | 22 | "help": "Jump address for running the active application firmware", |
MarceloSalazar | 2:a34e80e223c2 | 23 | "value": null |
MarceloSalazar | 2:a34e80e223c2 | 24 | }, |
MarceloSalazar | 2:a34e80e223c2 | 25 | "max-application-size": { |
MarceloSalazar | 2:a34e80e223c2 | 26 | "help": "Maximum size of the active application", |
MarceloSalazar | 2:a34e80e223c2 | 27 | "value": null |
MarceloSalazar | 2:a34e80e223c2 | 28 | }, |
MarceloSalazar | 2:a34e80e223c2 | 29 | "flash-start-address": { |
MarceloSalazar | 2:a34e80e223c2 | 30 | "help": "Start address of internal flash. Only used in this config to help the definition of other macros.", |
MarceloSalazar | 2:a34e80e223c2 | 31 | "value": null |
MarceloSalazar | 2:a34e80e223c2 | 32 | }, |
MarceloSalazar | 2:a34e80e223c2 | 33 | "flash-size": { |
MarceloSalazar | 2:a34e80e223c2 | 34 | "help": "Total size of internal flash. Only used in this config to help the definition of other macros.", |
MarceloSalazar | 2:a34e80e223c2 | 35 | "value": null |
MarceloSalazar | 2:a34e80e223c2 | 36 | } |
MarceloSalazar | 2:a34e80e223c2 | 37 | }, |
MarceloSalazar | 2:a34e80e223c2 | 38 | "target_overrides": { |
MarceloSalazar | 2:a34e80e223c2 | 39 | "*": { |
MarceloSalazar | 2:a34e80e223c2 | 40 | "target.features_remove": ["LWIP"], |
MarceloSalazar | 2:a34e80e223c2 | 41 | "target.features_add" : ["COMMON_PAL"], |
MarceloSalazar | 2:a34e80e223c2 | 42 | "platform.stdio-baud-rate" : 115200, |
MarceloSalazar | 2:a34e80e223c2 | 43 | "platform.stdio-flush-at-exit": false, |
MarceloSalazar | 2:a34e80e223c2 | 44 | "update-client.storage-address" : "(1024*1024*64)", |
MarceloSalazar | 2:a34e80e223c2 | 45 | "update-client.storage-size" : "(1024*1024*2)", |
MarceloSalazar | 2:a34e80e223c2 | 46 | "update-client.storage-locations": 1, |
MarceloSalazar | 2:a34e80e223c2 | 47 | "update-client.firmware-header-version": "2" |
MarceloSalazar | 2:a34e80e223c2 | 48 | }, |
MarceloSalazar | 2:a34e80e223c2 | 49 | "UBLOX_C030_U201": { |
MarceloSalazar | 2:a34e80e223c2 | 50 | "flash-start-address" : "0x08000000", |
MarceloSalazar | 2:a34e80e223c2 | 51 | "flash-size" : "(1024*1024)", |
MarceloSalazar | 2:a34e80e223c2 | 52 | "nvstore.area_1_address" : "(0x080C0000)", |
MarceloSalazar | 2:a34e80e223c2 | 53 | "nvstore.area_1_size" : "(128*1024)", |
MarceloSalazar | 2:a34e80e223c2 | 54 | "nvstore.area_2_address" : "(0x080E0000)", |
MarceloSalazar | 2:a34e80e223c2 | 55 | "nvstore.area_2_size" : "(128*1024)", |
MarceloSalazar | 2:a34e80e223c2 | 56 | "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)", |
MarceloSalazar | 2:a34e80e223c2 | 57 | "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)", |
MarceloSalazar | 2:a34e80e223c2 | 58 | "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", |
MarceloSalazar | 2:a34e80e223c2 | 59 | "sd.SPI_MOSI" : "D11", |
MarceloSalazar | 2:a34e80e223c2 | 60 | "sd.SPI_MISO" : "D12", |
MarceloSalazar | 2:a34e80e223c2 | 61 | "sd.SPI_CLK" : "D13", |
MarceloSalazar | 2:a34e80e223c2 | 62 | "sd.SPI_CS" : "D10" |
MarceloSalazar | 2:a34e80e223c2 | 63 | } |
MarceloSalazar | 2:a34e80e223c2 | 64 | } |
MarceloSalazar | 2:a34e80e223c2 | 65 | } |