Toyomasa Watarai
/
pelion-dm-workshop-fota
Mbed OS and Pelion Device Management hands-on workshop - connect and firmware update service
mbed_app.json@0:202fb3cf8be8, 2018-10-30 (annotated)
- Committer:
- MACRUM
- Date:
- Tue Oct 30 15:08:15 2018 +0900
- Revision:
- 0:202fb3cf8be8
Add DISCO_L475VG_IOT01A with QSPIF
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MACRUM | 0:202fb3cf8be8 | 1 | { |
MACRUM | 0:202fb3cf8be8 | 2 | "macros": [ |
MACRUM | 0:202fb3cf8be8 | 3 | "MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", |
MACRUM | 0:202fb3cf8be8 | 4 | "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"", |
MACRUM | 0:202fb3cf8be8 | 5 | "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
MACRUM | 0:202fb3cf8be8 | 6 | "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
MACRUM | 0:202fb3cf8be8 | 7 | "PAL_DTLS_PEER_MIN_TIMEOUT=5000", |
MACRUM | 0:202fb3cf8be8 | 8 | "MBED_CONF_APP_MAIN_STACK_SIZE=7000", |
MACRUM | 0:202fb3cf8be8 | 9 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
MACRUM | 0:202fb3cf8be8 | 10 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE" |
MACRUM | 0:202fb3cf8be8 | 11 | ], |
MACRUM | 0:202fb3cf8be8 | 12 | "target_overrides": { |
MACRUM | 0:202fb3cf8be8 | 13 | "*": { |
MACRUM | 0:202fb3cf8be8 | 14 | "platform.stdio-baud-rate": 115200, |
MACRUM | 0:202fb3cf8be8 | 15 | "platform.stdio-convert-newlines": true, |
MACRUM | 0:202fb3cf8be8 | 16 | "update-client.storage-address" : "(1024*1024*64)", |
MACRUM | 0:202fb3cf8be8 | 17 | "update-client.storage-size" : "(1024*1024*2)", |
MACRUM | 0:202fb3cf8be8 | 18 | "update-client.storage-locations": "1", |
MACRUM | 0:202fb3cf8be8 | 19 | "mbed-trace.enable": null, |
MACRUM | 0:202fb3cf8be8 | 20 | "nsapi.default-wifi-security" : "WPA_WPA2", |
MACRUM | 0:202fb3cf8be8 | 21 | "nsapi.default-wifi-ssid" : "\"SSID\"", |
MACRUM | 0:202fb3cf8be8 | 22 | "nsapi.default-wifi-password" : "\"Password\"" |
MACRUM | 0:202fb3cf8be8 | 23 | }, |
MACRUM | 0:202fb3cf8be8 | 24 | "K64F": { |
MACRUM | 0:202fb3cf8be8 | 25 | "target.features_add" : ["BOOTLOADER"], |
MACRUM | 0:202fb3cf8be8 | 26 | "sotp-section-1-address" : "(32*1024)", |
MACRUM | 0:202fb3cf8be8 | 27 | "sotp-section-1-size" : "(4*1024)", |
MACRUM | 0:202fb3cf8be8 | 28 | "sotp-section-2-address" : "(36*1024)", |
MACRUM | 0:202fb3cf8be8 | 29 | "sotp-section-2-size" : "(4*1024)", |
MACRUM | 0:202fb3cf8be8 | 30 | "sotp-num-sections" : 2, |
MACRUM | 0:202fb3cf8be8 | 31 | "update-client.application-details": "(40*1024)" |
MACRUM | 0:202fb3cf8be8 | 32 | }, |
MACRUM | 0:202fb3cf8be8 | 33 | "K66F": { |
MACRUM | 0:202fb3cf8be8 | 34 | "target.features_add" : ["BOOTLOADER"], |
MACRUM | 0:202fb3cf8be8 | 35 | "sotp-section-1-address" : "(32*1024)", |
MACRUM | 0:202fb3cf8be8 | 36 | "sotp-section-1-size" : "(4*1024)", |
MACRUM | 0:202fb3cf8be8 | 37 | "sotp-section-2-address" : "(36*1024)", |
MACRUM | 0:202fb3cf8be8 | 38 | "sotp-section-2-size" : "(4*1024)", |
MACRUM | 0:202fb3cf8be8 | 39 | "sotp-num-sections" : 2, |
MACRUM | 0:202fb3cf8be8 | 40 | "update-client.application-details": "(40*1024)" |
MACRUM | 0:202fb3cf8be8 | 41 | }, |
MACRUM | 0:202fb3cf8be8 | 42 | "NUCLEO_F429ZI": { |
MACRUM | 0:202fb3cf8be8 | 43 | "target.features_add" : ["STORAGE", "BOOTLOADER"], |
MACRUM | 0:202fb3cf8be8 | 44 | "target.app_offset": "0x10400", |
MACRUM | 0:202fb3cf8be8 | 45 | "target.header_offset": "0x10000", |
MACRUM | 0:202fb3cf8be8 | 46 | "target.bootloader_img": "bootloader/mbed-bootloader-F429ZI.bin", |
MACRUM | 0:202fb3cf8be8 | 47 | "target.components_add": ["SD"], |
MACRUM | 0:202fb3cf8be8 | 48 | "sd.SPI_MOSI" : "PE_6", |
MACRUM | 0:202fb3cf8be8 | 49 | "sd.SPI_MISO" : "PE_5", |
MACRUM | 0:202fb3cf8be8 | 50 | "sd.SPI_CLK" : "PE_2", |
MACRUM | 0:202fb3cf8be8 | 51 | "sd.SPI_CS" : "PE_4", |
MACRUM | 0:202fb3cf8be8 | 52 | "update-client.application-details" : "(0x08000000+64*1024)", |
MACRUM | 0:202fb3cf8be8 | 53 | "app.sotp-section-1-address": "(0x081C0000)", |
MACRUM | 0:202fb3cf8be8 | 54 | "app.sotp-section-1-size" : "(128*1024)", |
MACRUM | 0:202fb3cf8be8 | 55 | "app.sotp-section-2-address": "(0x081E0000)", |
MACRUM | 0:202fb3cf8be8 | 56 | "app.sotp-section-2-size" : "(128*1024)" |
MACRUM | 0:202fb3cf8be8 | 57 | }, |
MACRUM | 0:202fb3cf8be8 | 58 | "DISCO_L475VG_IOT01A": { |
MACRUM | 0:202fb3cf8be8 | 59 | "target.network-default-interface-type" : "WIFI", |
MACRUM | 0:202fb3cf8be8 | 60 | "target.features_add" : ["STORAGE", "BOOTLOADER"], |
MACRUM | 0:202fb3cf8be8 | 61 | "target.components_add" : ["QSPIF"], |
MACRUM | 0:202fb3cf8be8 | 62 | "target.app_offset" : "0x10400", |
MACRUM | 0:202fb3cf8be8 | 63 | "target.header_offset" : "0x10000", |
MACRUM | 0:202fb3cf8be8 | 64 | "target.bootloader_img" : "bootloader/mbed-bootloader-L475VG-QSPIF.bin", |
MACRUM | 0:202fb3cf8be8 | 65 | "app.sotp-section-1-address" : "(0x08000000+((1024-4)*1024))", |
MACRUM | 0:202fb3cf8be8 | 66 | "app.sotp-section-1-size" : "(2*1024)", |
MACRUM | 0:202fb3cf8be8 | 67 | "app.sotp-section-2-address" : "(0x08000000+((1024-2)*1024))", |
MACRUM | 0:202fb3cf8be8 | 68 | "app.sotp-section-2-size" : "(2*1024)", |
MACRUM | 0:202fb3cf8be8 | 69 | "sotp-num-sections" : 2, |
MACRUM | 0:202fb3cf8be8 | 70 | "update-client.application-details": "(0x08000000+64*1024)", |
MACRUM | 0:202fb3cf8be8 | 71 | "update-client.bootloader-details" : "0x08009260" |
MACRUM | 0:202fb3cf8be8 | 72 | } |
MACRUM | 0:202fb3cf8be8 | 73 | }, |
MACRUM | 0:202fb3cf8be8 | 74 | "config": { |
MACRUM | 0:202fb3cf8be8 | 75 | "format-storage-layer-on-error": { |
MACRUM | 0:202fb3cf8be8 | 76 | "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!", |
MACRUM | 0:202fb3cf8be8 | 77 | "value": 1 |
MACRUM | 0:202fb3cf8be8 | 78 | }, |
MACRUM | 0:202fb3cf8be8 | 79 | "developer-mode": { |
MACRUM | 0:202fb3cf8be8 | 80 | "help": "Enable Developer mode to skip Factory enrollment", |
MACRUM | 0:202fb3cf8be8 | 81 | "value": 1 |
MACRUM | 0:202fb3cf8be8 | 82 | }, |
MACRUM | 0:202fb3cf8be8 | 83 | "sotp-section-1-address": { |
MACRUM | 0:202fb3cf8be8 | 84 | "help": "Flash sector address for SOTP sector 1", |
MACRUM | 0:202fb3cf8be8 | 85 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS", |
MACRUM | 0:202fb3cf8be8 | 86 | "value": null |
MACRUM | 0:202fb3cf8be8 | 87 | }, |
MACRUM | 0:202fb3cf8be8 | 88 | "sotp-section-1-size": { |
MACRUM | 0:202fb3cf8be8 | 89 | "help": "Flash sector size for SOTP sector 1", |
MACRUM | 0:202fb3cf8be8 | 90 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE", |
MACRUM | 0:202fb3cf8be8 | 91 | "value": null |
MACRUM | 0:202fb3cf8be8 | 92 | }, |
MACRUM | 0:202fb3cf8be8 | 93 | "sotp-section-2-address": { |
MACRUM | 0:202fb3cf8be8 | 94 | "help": "Flash sector address for SOTP sector 2", |
MACRUM | 0:202fb3cf8be8 | 95 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS", |
MACRUM | 0:202fb3cf8be8 | 96 | "value": null |
MACRUM | 0:202fb3cf8be8 | 97 | }, |
MACRUM | 0:202fb3cf8be8 | 98 | "sotp-section-2-size": { |
MACRUM | 0:202fb3cf8be8 | 99 | "help": "Flash sector size for SOTP sector 2", |
MACRUM | 0:202fb3cf8be8 | 100 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE", |
MACRUM | 0:202fb3cf8be8 | 101 | "value": null |
MACRUM | 0:202fb3cf8be8 | 102 | }, |
MACRUM | 0:202fb3cf8be8 | 103 | "sotp-num-sections": { |
MACRUM | 0:202fb3cf8be8 | 104 | "help": "Number of SOTP sections", |
MACRUM | 0:202fb3cf8be8 | 105 | "macro_name": "PAL_INT_FLASH_NUM_SECTIONS", |
MACRUM | 0:202fb3cf8be8 | 106 | "value": null |
MACRUM | 0:202fb3cf8be8 | 107 | } |
MACRUM | 0:202fb3cf8be8 | 108 | } |
MACRUM | 0:202fb3cf8be8 | 109 | } |