Specific Pelion Device Management connect example over WI-FI for DISCO_L475VG_IOT01 board

Fork of example-DISCO_L475_IOT-mbed-Cloud-connect by ST

Committer:
MACRUM
Date:
Tue Nov 06 07:16:56 2018 +0000
Revision:
11:7a66d5cc6a87
Parent:
10:0b85f5df5d99
Fix default blockdevice

Who changed what in which revision?

UserRevisionLine numberNew 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,
MACRUM 11:7a66d5cc6a87 36 "update-client.storage-size" : "(1024*1024*8)",
MarceloSalazar 9:265744785d33 37 "update-client.application-details" : "(0x08000000+64*1024)",
MACRUM 10:0b85f5df5d99 38 "update-client.bootloader-details" : "0x08009260"
adustm 6:e0e1e1b93099 39 },
adustm 6:e0e1e1b93099 40 "DISCO_F413ZH": {
MarceloSalazar 9:265744785d33 41 "sotp-section-1-address" : "(0x08000000+((1536-256)*1024))",
MarceloSalazar 9:265744785d33 42 "sotp-section-1-size" : "(128*1024)",
MarceloSalazar 9:265744785d33 43 "sotp-section-2-address" : "(0x08000000+((1536-128)*1024))",
MarceloSalazar 9:265744785d33 44 "sotp-section-2-size" : "(128*1024)",
MarceloSalazar 9:265744785d33 45 "sotp-num-sections" : 2
adustm 1:e86b1cffc402 46 }
adustm 4:cf7342047b4d 47
adustm 1:e86b1cffc402 48 },
adustm 1:e86b1cffc402 49 "config": {
adustm 4:cf7342047b4d 50 "format-storage-layer-on-error": {
adustm 4:cf7342047b4d 51 "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
adustm 4:cf7342047b4d 52 "value": 1
adustm 4:cf7342047b4d 53 },
adustm 1:e86b1cffc402 54 "developer-mode": {
adustm 1:e86b1cffc402 55 "help": "Enable Developer mode to skip Factory enrollment",
adustm 1:e86b1cffc402 56 "value": 1
adustm 1:e86b1cffc402 57 },
adustm 4:cf7342047b4d 58 "sotp-section-1-address": {
adustm 4:cf7342047b4d 59 "help": "Flash sector address for SOTP sector 1",
adustm 4:cf7342047b4d 60 "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
adustm 4:cf7342047b4d 61 "value": null
adustm 1:e86b1cffc402 62 },
adustm 4:cf7342047b4d 63 "sotp-section-1-size": {
adustm 4:cf7342047b4d 64 "help": "Flash sector size for SOTP sector 1",
adustm 4:cf7342047b4d 65 "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
adustm 4:cf7342047b4d 66 "value": null
adustm 1:e86b1cffc402 67 },
adustm 4:cf7342047b4d 68 "sotp-section-2-address": {
adustm 4:cf7342047b4d 69 "help": "Flash sector address for SOTP sector 2",
adustm 4:cf7342047b4d 70 "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
adustm 4:cf7342047b4d 71 "value": null
adustm 1:e86b1cffc402 72 },
adustm 4:cf7342047b4d 73 "sotp-section-2-size": {
adustm 4:cf7342047b4d 74 "help": "Flash sector size for SOTP sector 2",
adustm 4:cf7342047b4d 75 "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
adustm 4:cf7342047b4d 76 "value": null
adustm 1:e86b1cffc402 77 },
adustm 4:cf7342047b4d 78 "sotp-num-sections": {
adustm 4:cf7342047b4d 79 "help": "Number of SOTP sections",
adustm 4:cf7342047b4d 80 "macro_name": "PAL_INT_FLASH_NUM_SECTIONS",
adustm 4:cf7342047b4d 81 "value": null
adustm 1:e86b1cffc402 82 }
adustm 1:e86b1cffc402 83 }
adustm 1:e86b1cffc402 84 }