Skip to content

Commit

Permalink
Merge pull request #3 from ARMmbed/release-R1.3.1
Browse files Browse the repository at this point in the history
mbed-cloud-client-example R1.3.1-GA
  • Loading branch information
teetak01 authored Apr 19, 2018
2 parents 36f546a + b47d19d commit 2738c0a
Show file tree
Hide file tree
Showing 49 changed files with 1,944 additions and 1,231 deletions.
51 changes: 13 additions & 38 deletions .autostart/eth_v4.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
Expand All @@ -23,27 +18,27 @@
"update-client.storage-locations": "1"
},
"K64F": {
"sotp-section-1-address": "(1016*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address": "(1020*1024)",
"sotp-section-2-size" : "( 4*1024)"
"client_app.sotp-section-1-address": "(1016*1024)",
"client_app.sotp-section-1-size" : "( 4*1024)",
"client_app.sotp-section-2-address": "(1020*1024)",
"client_app.sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F429ZI": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
},
"UBLOX_EVK_ODIN_W2": {
"target.device_has_remove": ["EMAC"],
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
}
},
"config": {
"network-interface":{
"network-interface": {
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
"value": "ETHERNET"
},
Expand All @@ -58,26 +53,6 @@
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}
51 changes: 13 additions & 38 deletions .autostart/eth_v6.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
Expand All @@ -25,27 +20,27 @@
"update-client.storage-locations": "1"
},
"K64F": {
"sotp-section-1-address": "(1016*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address": "(1020*1024)",
"sotp-section-2-size" : "( 4*1024)"
"client_app.sotp-section-1-address": "(1016*1024)",
"client_app.sotp-section-1-size" : "( 4*1024)",
"client_app.sotp-section-2-address": "(1020*1024)",
"client_app.sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F429ZI": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
},
"UBLOX_EVK_ODIN_W2": {
"target.device_has_remove": ["EMAC"],
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
}
},
"config": {
"network-interface":{
"network-interface": {
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
"value": "ETHERNET"
},
Expand All @@ -60,26 +55,6 @@
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}
52 changes: 14 additions & 38 deletions .autostart/mesh_6lowpan.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=10000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
Expand All @@ -28,26 +23,27 @@
"storage-selector.storage" : "SD_CARD",
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations": "1"
"update-client.storage-locations": "1",
"client_app.pal_dtls_peer_min_timeout": "10000"
},
"K64F": {
"sotp-section-1-address": "(1016*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address": "(1020*1024)",
"sotp-section-2-size" : "( 4*1024)"
"client_app.sotp-section-1-address": "(1016*1024)",
"client_app.sotp-section-1-size" : "( 4*1024)",
"client_app.sotp-section-2-address": "(1020*1024)",
"client_app.sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F429ZI": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)",
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)",
"target.macros_add": ["ATMEL_SPI_MOSI=PB_5"]
},
"UBLOX_EVK_ODIN_W2": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
}
},
"config": {
Expand All @@ -69,26 +65,6 @@
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}
52 changes: 14 additions & 38 deletions .autostart/mesh_thread.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=10000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE",
"MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED",
Expand All @@ -29,26 +24,27 @@
"storage-selector.storage" : "SD_CARD",
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations": "1"
"update-client.storage-locations": "1",
"client_app.pal_dtls_peer_min_timeout": "10000"
},
"K64F": {
"sotp-section-1-address": "(1016*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address": "(1020*1024)",
"sotp-section-2-size" : "( 4*1024)"
"client_app.sotp-section-1-address": "(1016*1024)",
"client_app.sotp-section-1-size" : "( 4*1024)",
"client_app.sotp-section-2-address": "(1020*1024)",
"client_app.sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F429ZI": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)",
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)",
"target.macros_add": ["ATMEL_SPI_MOSI=PB_5"]
},
"UBLOX_EVK_ODIN_W2": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
}
},
"config": {
Expand All @@ -70,26 +66,6 @@
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}
41 changes: 8 additions & 33 deletions .autostart/wifi_esp8266_v4.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
Expand All @@ -24,16 +19,16 @@
"update-client.storage-locations": "1"
},
"K64F": {
"sotp-section-1-address": "(1016*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address": "(1020*1024)",
"sotp-section-2-size" : "( 4*1024)"
"client_app.sotp-section-1-address": "(1016*1024)",
"client_app.sotp-section-1-size" : "( 4*1024)",
"client_app.sotp-section-2-address": "(1020*1024)",
"client_app.sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F429ZI": {
"sotp-section-1-address": "(0x08000000+1792*1024)",
"sotp-section-1-size" : "(128*1024)",
"sotp-section-2-address": "(0x08000000+1920*1024)",
"sotp-section-2-size" : "(128*1024)"
"client_app.sotp-section-1-address": "(0x08000000+1792*1024)",
"client_app.sotp-section-1-size" : "(128*1024)",
"client_app.sotp-section-2-address": "(0x08000000+1920*1024)",
"client_app.sotp-section-2-size" : "(128*1024)"
},
"NUCLEO_F401RE": {
"wifi-tx": "PA_11",
Expand Down Expand Up @@ -76,26 +71,6 @@
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}
Loading

0 comments on commit 2738c0a

Please sign in to comment.