Christos Vasilakis
/
pelion-example-common-DISCO_F413ZH
pelion-example-common-DISCO_F413ZH
Diff: bootloader/bootloader_app.json
- Revision:
- 19:7e760f65ed78
- Parent:
- 17:c154f7ed6649
- Child:
- 21:aacc193bdd64
--- a/bootloader/bootloader_app.json Fri Jan 04 18:45:54 2019 +0000 +++ b/bootloader/bootloader_app.json Tue Feb 19 22:34:59 2019 +0000 @@ -12,7 +12,7 @@ "ARM_UC_FEATURE_CRYPTO_PAL=0", "ARM_UC_FEATURE_CRYPTO_MBEDTLS=1", "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE", - "DEFAULT_MAX_APPLICATION_SIZE=(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - MBED_CONF_APP_APPLICATION_START_ADDRESS)", + "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)", "DISABLE_ERROR_DESCRIPTION=1", "Mutex=PlatformMutex" ], @@ -45,71 +45,127 @@ "target.extra_labels_remove" : ["PSA"], "target.components_remove" : ["FLASHIAP"], "platform.stdio-baud-rate" : 115200, - "platform.stdio-flush-at-exit" : false, - "update-client.storage-address" : "(1024*1024*64)", - "update-client.storage-size" : "(1024*1024*2)", + "platform.stdio-flush-at-exit" : false + }, + "NUCLEO_F412ZG": { + "target.components_add" : ["SD"], + "sd.SPI_MOSI" : "D11", + "sd.SPI_MISO" : "D12", + "sd.SPI_CLK" : "D13", + "sd.SPI_CS" : "D10", + "flash-start-address" : "0x08000000", + "flash-size" : "(1024*1024)", + "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))", + "nvstore.area_1_size" : "(128*1024)", + "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))", + "nvstore.area_2_size" : "(128*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", "update-client.storage-locations" : 1, - "update-client.firmware-header-version": "2" + "update-client.firmware-header-version": "2", + "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", + "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" }, "NUCLEO_F429ZI": { + "target.components_add" : ["SD"], + "sd.SPI_MOSI" : "PC_12", + "sd.SPI_MISO" : "PC_11", + "sd.SPI_CLK" : "PC_10", + "sd.SPI_CS" : "PC_9", "flash-start-address" : "0x08000000", "flash-size" : "(2048*1024)", "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))", "nvstore.area_1_size" : "(128*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))", "nvstore.area_2_size" : "(128*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", - "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" + }, + "NUCLEO_F767ZI": { + "target.components_add" : ["SD"], "sd.SPI_MOSI" : "PC_12", "sd.SPI_MISO" : "PC_11", "sd.SPI_CLK" : "PC_10", - "sd.SPI_CS" : "PC_9" - }, - "NUCLEO_F767ZI": { + "sd.SPI_CS" : "PC_9", "flash-start-address" : "0x08000000", "flash-size" : "(2048*1024)", "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))", "nvstore.area_1_size" : "(256*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))", "nvstore.area_2_size" : "(256*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", - "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" + }, + "NUCLEO_F746ZG": { + "target.components_add" : ["SD"], "sd.SPI_MOSI" : "PC_12", "sd.SPI_MISO" : "PC_11", "sd.SPI_CLK" : "PC_10", - "sd.SPI_CS" : "PC_9" - }, - "NUCLEO_F746ZG": { + "sd.SPI_CS" : "PC_9", "flash-start-address" : "0x08000000", "flash-size" : "(1024*1024)", "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))", "nvstore.area_1_size" : "(256*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))", "nvstore.area_2_size" : "(256*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", - "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" + }, + "NUCLEO_F207ZG": { + "target.components_add" : ["SD"], "sd.SPI_MOSI" : "PC_12", "sd.SPI_MISO" : "PC_11", "sd.SPI_CLK" : "PC_10", - "sd.SPI_CS" : "PC_9" - }, - "NUCLEO_F207ZG": { + "sd.SPI_CS" : "PC_9", "flash-start-address" : "0x08000000", "flash-size" : "(1024*1024)", "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))", "nvstore.area_1_size" : "(128*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))", "nvstore.area_2_size" : "(128*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", - "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", - "sd.SPI_MOSI" : "PC_12", - "sd.SPI_MISO" : "PC_11", - "sd.SPI_CLK" : "PC_10", - "sd.SPI_CS" : "PC_9" + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" + }, + "NUCLEO_L4R5ZI": { + "target.components_add" : ["SD"], + "sd.SPI_MOSI" : "D11", + "sd.SPI_MISO" : "D12", + "sd.SPI_CLK" : "D13", + "sd.SPI_CS" : "D10", + "flash-start-address" : "0x08000000", + "flash-size" : "(2*1024*1024)", + "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))", + "nvstore.area_1_size" : "(128*1024)", + "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))", + "nvstore.area_2_size" : "(128*1024)", + "update-client.storage-address" : "(64*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", + "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", + "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" }, "DISCO_L475VG_IOT01A": { "target.components_add" : ["QSPIF"], @@ -119,10 +175,11 @@ "nvstore.area_1_size" : "(2*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(2*1024))", "nvstore.area_2_size" : "(2*1024)", + "update-client.storage-address" : "(2*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", - "update-client.storage-address" : "(1024*1024*2)", - "update-client.storage-size" : "(1024*1024*2)", - "update-client.storage-locations" : 1, "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" }, @@ -134,12 +191,13 @@ "nvstore.area_1_size" : "(128*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))", "nvstore.area_2_size" : "(128*1024)", - "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS+64*1024)", - "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS+65*1024)", - "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE", - "update-client.storage-address" : "(1024*1024*2)", - "update-client.storage-size" : "(1024*1024*2)", - "update-client.storage-locations" : 1 + "update-client.storage-address" : "(2*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", + "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", + "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" }, "DISCO_F746NG": { "target.components_add" : ["QSPIF"], @@ -150,10 +208,28 @@ "nvstore.area_1_size" : "(256*1024)", "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))", "nvstore.area_2_size" : "(256*1024)", + "update-client.storage-address" : "(2*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", + "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", - "update-client.storage-address" : "(1024*1024*2)", - "update-client.storage-size" : "(1024*1024*2)", + "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", + "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" + }, + "DISCO_F769NI": { + "target.components_add" : ["QSPIF"], + "target.components_remove" : ["FLASHIAP"], + "flash-start-address" : "0x08000000", + "flash-size" : "(2*1024*1024)", + "nvstore.area_1_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))", + "nvstore.area_1_size" : "(256*1024)", + "nvstore.area_2_address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))", + "nvstore.area_2_size" : "(256*1024)", + "update-client.storage-address" : "(2*1024*1024)", + "update-client.storage-size" : "(2*1024*1024)", "update-client.storage-locations" : 1, + "update-client.firmware-header-version": "2", + "update-client.application-details": "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)", "application-start-address" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 65*1024)", "max-application-size" : "DEFAULT_MAX_APPLICATION_SIZE" }