Workshop example
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
bootloader/bootloader_app.json@10:b27c962b3c3f, 2018-12-08 (annotated)
- Committer:
- screamer
- Date:
- Sat Dec 08 01:46:22 2018 +0000
- Revision:
- 10:b27c962b3c3f
- Child:
- 28:0e774865873d
Update example to Pelion Client 2.0.1.1 and Mbed OS 5.10.4. Also prepare repo to expose sensors in the cloud
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 10:b27c962b3c3f | 1 | { |
screamer | 10:b27c962b3c3f | 2 | "macros": [ |
screamer | 10:b27c962b3c3f | 3 | "MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"", |
screamer | 10:b27c962b3c3f | 4 | "SHOW_PROGRESS_BAR=0", |
screamer | 10:b27c962b3c3f | 5 | "MAX_COPY_RETRIES=1", |
screamer | 10:b27c962b3c3f | 6 | "MAX_BOOT_RETRIES=3", |
screamer | 10:b27c962b3c3f | 7 | "ARM_BOOTLOADER_USE_NVSTORE_ROT=1", |
screamer | 10:b27c962b3c3f | 8 | "ARM_UC_USE_PAL_CRYPTO=0", |
screamer | 10:b27c962b3c3f | 9 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
screamer | 10:b27c962b3c3f | 10 | "ARM_UC_PAAL_TRACE_ENABLE=0", |
screamer | 10:b27c962b3c3f | 11 | "ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1", |
screamer | 10:b27c962b3c3f | 12 | "ARM_UC_FEATURE_CRYPTO_PAL=0", |
screamer | 10:b27c962b3c3f | 13 | "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1", |
screamer | 10:b27c962b3c3f | 14 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE", |
screamer | 10:b27c962b3c3f | 15 | "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)", |
screamer | 10:b27c962b3c3f | 16 | "DISABLE_ERROR_DESCRIPTION=1", |
screamer | 10:b27c962b3c3f | 17 | "Mutex=PlatformMutex" |
screamer | 10:b27c962b3c3f | 18 | ], |
screamer | 10:b27c962b3c3f | 19 | "config": { |
screamer | 10:b27c962b3c3f | 20 | "application-start-address": { |
screamer | 10:b27c962b3c3f | 21 | "help": "Address to the beginning of the active application firmware in flash", |
screamer | 10:b27c962b3c3f | 22 | "value": null |
screamer | 10:b27c962b3c3f | 23 | }, |
screamer | 10:b27c962b3c3f | 24 | "application-jump-address": { |
screamer | 10:b27c962b3c3f | 25 | "help": "Jump address for running the active application firmware", |
screamer | 10:b27c962b3c3f | 26 | "value": null |
screamer | 10:b27c962b3c3f | 27 | }, |
screamer | 10:b27c962b3c3f | 28 | "max-application-size": { |
screamer | 10:b27c962b3c3f | 29 | "help": "Maximum size of the active application", |
screamer | 10:b27c962b3c3f | 30 | "value": null |
screamer | 10:b27c962b3c3f | 31 | }, |
screamer | 10:b27c962b3c3f | 32 | "flash-start-address": { |
screamer | 10:b27c962b3c3f | 33 | "help": "Start address of internal flash. Only used in this config to help the definition of other macros.", |
screamer | 10:b27c962b3c3f | 34 | "value": null |
screamer | 10:b27c962b3c3f | 35 | }, |
screamer | 10:b27c962b3c3f | 36 | "flash-size": { |
screamer | 10:b27c962b3c3f | 37 | "help": "Total size of internal flash. Only used in this config to help the definition of other macros.", |
screamer | 10:b27c962b3c3f | 38 | "value": null |
screamer | 10:b27c962b3c3f | 39 | } |
screamer | 10:b27c962b3c3f | 40 | }, |
screamer | 10:b27c962b3c3f | 41 | "target_overrides": { |
screamer | 10:b27c962b3c3f | 42 | "*": { |
screamer | 10:b27c962b3c3f | 43 | "target.features_remove" : ["LWIP"], |
screamer | 10:b27c962b3c3f | 44 | "target.features_add" : ["COMMON_PAL"], |
screamer | 10:b27c962b3c3f | 45 | "platform.stdio-baud-rate" : 115200, |
screamer | 10:b27c962b3c3f | 46 | "platform.stdio-flush-at-exit" : false, |
screamer | 10:b27c962b3c3f | 47 | "update-client.storage-address" : "(1024*1024*64)", |
screamer | 10:b27c962b3c3f | 48 | "update-client.storage-size" : "(1024*1024*2)", |
screamer | 10:b27c962b3c3f | 49 | "update-client.storage-locations" : 1, |
screamer | 10:b27c962b3c3f | 50 | "update-client.firmware-header-version": "2" |
screamer | 10:b27c962b3c3f | 51 | }, |
screamer | 10:b27c962b3c3f | 52 | "DISCO_L475VG_IOT01A": { |
screamer | 10:b27c962b3c3f | 53 | "target.components_add" : ["QSPIF"], |
screamer | 10:b27c962b3c3f | 54 | "target.components_remove" : ["FLASHIAP"], |
screamer | 10:b27c962b3c3f | 55 | "flash-start-address" : "0x08000000", |
screamer | 10:b27c962b3c3f | 56 | "flash-size" : "(1024*1024)", |
screamer | 10:b27c962b3c3f | 57 | "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(2*1024))", |
screamer | 10:b27c962b3c3f | 58 | "nvstore.area_1_size" : "(2*1024)", |
screamer | 10:b27c962b3c3f | 59 | "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(2*1024))", |
screamer | 10:b27c962b3c3f | 60 | "nvstore.area_2_size" : "(2*1024)", |
screamer | 10:b27c962b3c3f | 61 | "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", |
screamer | 10:b27c962b3c3f | 62 | "update-client.storage-address" : "(1024*1024*2)", |
screamer | 10:b27c962b3c3f | 63 | "update-client.storage-size" : "(1024*1024*2)", |
screamer | 10:b27c962b3c3f | 64 | "update-client.storage-locations" : 1, |
screamer | 10:b27c962b3c3f | 65 | "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", |
screamer | 10:b27c962b3c3f | 66 | "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" |
screamer | 10:b27c962b3c3f | 67 | } |
screamer | 10:b27c962b3c3f | 68 | } |
screamer | 10:b27c962b3c3f | 69 | } |