Specific Pelion Device Management connect example over WI-FI for DISCO_L475VG_IOT01 board
Fork of example-DISCO_L475_IOT-mbed-Cloud-connect by
mbed_app.json@10:0b85f5df5d99, 2018-11-05 (annotated)
- Committer:
- MACRUM
- Date:
- Mon Nov 05 13:57:40 2018 +0000
- Revision:
- 10:0b85f5df5d99
- Parent:
- 9:265744785d33
- Child:
- 11:7a66d5cc6a87
Add QSPIF support
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
adustm | 1:e86b1cffc402 | 1 | { |
adustm | 1:e86b1cffc402 | 2 | "macros": [ |
adustm | 1:e86b1cffc402 | 3 | "MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", |
adustm | 4:cf7342047b4d | 4 | "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"", |
adustm | 1:e86b1cffc402 | 5 | "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
adustm | 1:e86b1cffc402 | 6 | "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"", |
adustm | 1:e86b1cffc402 | 7 | "PAL_DTLS_PEER_MIN_TIMEOUT=5000", |
MarceloSalazar | 9:265744785d33 | 8 | "MBED_CONF_APP_MAIN_STACK_SIZE=7000", |
adustm | 4:cf7342047b4d | 9 | "ARM_UC_USE_PAL_BLOCKDEVICE=1", |
MarceloSalazar | 9:265744785d33 | 10 | "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE" |
adustm | 1:e86b1cffc402 | 11 | ], |
adustm | 1:e86b1cffc402 | 12 | "target_overrides": { |
adustm | 1:e86b1cffc402 | 13 | "*": { |
adustm | 1:e86b1cffc402 | 14 | "platform.stdio-baud-rate": 115200, |
MarceloSalazar | 9:265744785d33 | 15 | "platform.stdio-convert-newlines" : true, |
MarceloSalazar | 9:265744785d33 | 16 | "update-client.storage-address" : "(1024*1024*64)", |
MarceloSalazar | 9:265744785d33 | 17 | "update-client.storage-size" : "(1024*1024*2)", |
MarceloSalazar | 9:265744785d33 | 18 | "update-client.storage-locations" : "1", |
MarceloSalazar | 9:265744785d33 | 19 | "mbed-trace.enable" : null, |
MarceloSalazar | 9:265744785d33 | 20 | "nsapi.default-wifi-security" : "WPA_WPA2", |
MACRUM | 10:0b85f5df5d99 | 21 | "nsapi.default-wifi-ssid" : "\"ssid\"", |
MACRUM | 10:0b85f5df5d99 | 22 | "nsapi.default-wifi-password" : "\"password\"" |
adustm | 4:cf7342047b4d | 23 | }, |
adustm | 4:cf7342047b4d | 24 | "DISCO_L475VG_IOT01A": { |
MarceloSalazar | 9:265744785d33 | 25 | "target.network-default-interface-type" : "WIFI", |
MarceloSalazar | 9:265744785d33 | 26 | "target.features_add" : ["STORAGE", "BOOTLOADER"], |
MACRUM | 10:0b85f5df5d99 | 27 | "target.components_add" : ["QSPIF"], |
MarceloSalazar | 9:265744785d33 | 28 | "target.app_offset" : "0x10400", |
MarceloSalazar | 9:265744785d33 | 29 | "target.header_offset" : "0x10000", |
MACRUM | 10:0b85f5df5d99 | 30 | "target.bootloader_img" : "bootloader/mbed-bootloader-L475VG-QSPIF.bin", |
MarceloSalazar | 9:265744785d33 | 31 | "sotp-section-1-address" : "(0x08000000+((1024-4)*1024))", |
MarceloSalazar | 9:265744785d33 | 32 | "sotp-section-1-size" : "(2*1024)", |
MarceloSalazar | 9:265744785d33 | 33 | "sotp-section-2-address" : "(0x08000000+((1024-2)*1024))", |
MarceloSalazar | 9:265744785d33 | 34 | "sotp-section-2-size" : "(2*1024)", |
MarceloSalazar | 9:265744785d33 | 35 | "sotp-num-sections" : 2, |
MarceloSalazar | 9:265744785d33 | 36 | "update-client.application-details" : "(0x08000000+64*1024)", |
MACRUM | 10:0b85f5df5d99 | 37 | "update-client.bootloader-details" : "0x08009260" |
adustm | 6:e0e1e1b93099 | 38 | }, |
adustm | 6:e0e1e1b93099 | 39 | "DISCO_F413ZH": { |
MarceloSalazar | 9:265744785d33 | 40 | "sotp-section-1-address" : "(0x08000000+((1536-256)*1024))", |
MarceloSalazar | 9:265744785d33 | 41 | "sotp-section-1-size" : "(128*1024)", |
MarceloSalazar | 9:265744785d33 | 42 | "sotp-section-2-address" : "(0x08000000+((1536-128)*1024))", |
MarceloSalazar | 9:265744785d33 | 43 | "sotp-section-2-size" : "(128*1024)", |
MarceloSalazar | 9:265744785d33 | 44 | "sotp-num-sections" : 2 |
adustm | 1:e86b1cffc402 | 45 | } |
adustm | 4:cf7342047b4d | 46 | |
adustm | 1:e86b1cffc402 | 47 | }, |
adustm | 1:e86b1cffc402 | 48 | "config": { |
adustm | 4:cf7342047b4d | 49 | "format-storage-layer-on-error": { |
adustm | 4:cf7342047b4d | 50 | "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!", |
adustm | 4:cf7342047b4d | 51 | "value": 1 |
adustm | 4:cf7342047b4d | 52 | }, |
adustm | 1:e86b1cffc402 | 53 | "developer-mode": { |
adustm | 1:e86b1cffc402 | 54 | "help": "Enable Developer mode to skip Factory enrollment", |
adustm | 1:e86b1cffc402 | 55 | "value": 1 |
adustm | 1:e86b1cffc402 | 56 | }, |
adustm | 4:cf7342047b4d | 57 | "sotp-section-1-address": { |
adustm | 4:cf7342047b4d | 58 | "help": "Flash sector address for SOTP sector 1", |
adustm | 4:cf7342047b4d | 59 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS", |
adustm | 4:cf7342047b4d | 60 | "value": null |
adustm | 1:e86b1cffc402 | 61 | }, |
adustm | 4:cf7342047b4d | 62 | "sotp-section-1-size": { |
adustm | 4:cf7342047b4d | 63 | "help": "Flash sector size for SOTP sector 1", |
adustm | 4:cf7342047b4d | 64 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE", |
adustm | 4:cf7342047b4d | 65 | "value": null |
adustm | 1:e86b1cffc402 | 66 | }, |
adustm | 4:cf7342047b4d | 67 | "sotp-section-2-address": { |
adustm | 4:cf7342047b4d | 68 | "help": "Flash sector address for SOTP sector 2", |
adustm | 4:cf7342047b4d | 69 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS", |
adustm | 4:cf7342047b4d | 70 | "value": null |
adustm | 1:e86b1cffc402 | 71 | }, |
adustm | 4:cf7342047b4d | 72 | "sotp-section-2-size": { |
adustm | 4:cf7342047b4d | 73 | "help": "Flash sector size for SOTP sector 2", |
adustm | 4:cf7342047b4d | 74 | "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE", |
adustm | 4:cf7342047b4d | 75 | "value": null |
adustm | 1:e86b1cffc402 | 76 | }, |
adustm | 4:cf7342047b4d | 77 | "sotp-num-sections": { |
adustm | 4:cf7342047b4d | 78 | "help": "Number of SOTP sections", |
adustm | 4:cf7342047b4d | 79 | "macro_name": "PAL_INT_FLASH_NUM_SECTIONS", |
adustm | 4:cf7342047b4d | 80 | "value": null |
adustm | 1:e86b1cffc402 | 81 | } |
adustm | 1:e86b1cffc402 | 82 | } |
adustm | 1:e86b1cffc402 | 83 | } |