Skip to content

Commit

Permalink
Merge pull request #33 from ARMmbed/release-2.1.1
Browse files Browse the repository at this point in the history
mbed-cloud-client-example 2.1.1
  • Loading branch information
teetak01 committed Dec 19, 2018
2 parents ecedcd6 + 3348a43 commit aba76ee
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog for Pelion Device Management Client reference example application

## Release 2.1.1 (19.12.2018)
* Updated to Mbed OS 5.11.0.
* Modified WiFi configuration `configs/wifi_esp8266_v4.json` to support [new ESP8266 Wi-Fi chip](https://www.esp8266.com/wiki/doku.php?id=esp8266-module-family) having 2MB or more flash and [ESP8266 AT firmware](https://www.espressif.com/en/support/download/at?keys=) 1.7.0, with serial flow control (`UART0_CTS`, `UART0_RTS`) pins and reset pin (`EXT_RSTB`) connected. For production devices, we recommend that you upgrade your ESP8266 to this version and connect those control pins to corresponding pins on the target hardware.
* Previous WiFi ESP866 is supported via new `configs/wifi_esp8266_v4_legacy.json` file.

<span class="notes">**Note**: With legacy ESP8266 Wi-Fi with 1 MB flash, the minimum supported firmware version is now 1.6.2. **Without flow control and reset pin connected the device will eventually disconnect and fail to re-connect.** ESP8266 firmware has to be version 1.7.0 (or later) to enable flow control and only boards with 2 MB flash or more can take that firmware in.</span>
* [Linux] Updated Mbed TLS to 2.15.1.

## Release 2.1.0 (11.12.2018)
* Updated to Mbed OS 5.10.3.

Expand Down
17 changes: 6 additions & 11 deletions configs/wifi_esp8266_v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,21 @@
"mbed-trace.enable": null,
"drivers.uart-serial-rxbuf-size" : 1024,
"drivers.uart-serial-txbuf-size" : 1024,
"esp8266.rx" : "D0",
"esp8266.tx" : "D1",
"events.shared-stacksize" : 2048,
"esp8266.rx" : "PTC3",
"esp8266.tx" : "PTC4",
"esp8266.rst" : "D8",
"esp8266.rts" : "PTC1",
"esp8266.cts" : "PTC2",
"esp8266.provide-default" : true,
"nsapi.default-wifi-security" : "WPA_WPA2",
"nsapi.default-wifi-ssid" : "\"SSID\"",
"nsapi.default-wifi-password" : "\"Password\""
},
"STM_EMAC": {
"lwip.pbuf-pool-size" : 16,
"lwip.mem-size" : 12500
},
"K64F": {
"target.network-default-interface-type" : "WIFI",
"update-client.bootloader-details" : "0x00007188",
"update-client.application-details" : "(40*1024)"
},
"NUCLEO_F429ZI": {
"target.network-default-interface-type" : "WIFI",
"update-client.bootloader-details" : "0x080078CC",
"update-client.application-details" : "(0x08000000+64*1024)"
}
},
"config": {
Expand Down
60 changes: 60 additions & 0 deletions configs/wifi_esp8266_v4_legacy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"macros": [
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
"target_overrides": {
"*": {
"target.features_add" : ["BOOTLOADER", "STORAGE"],
"target.components_add" : ["SD"],
"platform.stdio-baud-rate" : 115200,
"platform.stdio-convert-newlines" : true,
"platform.stdio-buffered-serial" : true,
"mbed-client.event-loop-size" : 1024,
"nanostack-hal.event_loop_thread_stack_size": 8192,
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations" : 1,
"mbed-trace.enable": null,
"drivers.uart-serial-rxbuf-size" : 1024,
"drivers.uart-serial-txbuf-size" : 1024,
"events.shared-stacksize" : 2048,
"esp8266.rx" : "D0",
"esp8266.tx" : "D1",
"esp8266.socket-bufsize" : 32768,
"esp8266.provide-default" : true,
"nsapi.default-wifi-security" : "WPA_WPA2",
"nsapi.default-wifi-ssid" : "\"SSID\"",
"nsapi.default-wifi-password" : "\"Password\""
},
"STM_EMAC": {
"lwip.pbuf-pool-size" : 16,
"lwip.mem-size" : 12500
},
"K64F": {
"target.network-default-interface-type" : "WIFI",
"update-client.bootloader-details" : "0x00007188",
"update-client.application-details" : "(40*1024)"
},
"NUCLEO_F429ZI": {
"target.network-default-interface-type" : "WIFI",
"update-client.bootloader-details" : "0x080078CC",
"update-client.application-details" : "(0x08000000+64*1024)"
}
},
"config": {
"developer-mode": {
"help" : "Enable Developer mode to skip Factory enrollment",
"options" : [null, 1],
"value" : 1
},
"button-pinname": {
"help" : "PinName for button.",
"value" : "BUTTON1"
},
"led-pinname" : {
"help" : "PinName for led, which is attached to led blink resource.",
"value" : "LED_RED"
}
}
}
1 change: 1 addition & 0 deletions configs/wifi_f411re_v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"update-client.application-details" : "(0x08000000+64*1024)",
"drivers.uart-serial-rxbuf-size" : 1024,
"drivers.uart-serial-txbuf-size" : 1024,
"events.shared-stacksize" : 2048,
"idw0xx1.provide-default": true,
"idw0xx1.tx": "PA_9",
"idw0xx1.rx": "PA_10",
Expand Down
2 changes: 1 addition & 1 deletion mbed-cloud-client.lib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/ARMmbed/mbed-cloud-client/#f84aeea5047569b5833caf84056e4b3aa429e12c
https://github.com/ARMmbed/mbed-cloud-client/#004a8cb0fa9c0a32eca2265efb6d4530e578a63d
3 changes: 1 addition & 2 deletions mbed-os.lib
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
https://github.com/ARMmbed/mbed-os/#bf6f2c3c6434a6de9eb9511feffa5948b3d1f20f

https://github.com/ARMmbed/mbed-os/#6a0a86538c0b9b2bfcc4583b1e2b7fea8f4e71e9
1 change: 1 addition & 0 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"drivers.uart-serial-txbuf-size" : 1024,
"update-client.bootloader-details" : "(0x08000000+30*1024)",
"update-client.application-details" : "(0x08000000+64*1024)",
"events.shared-stacksize" : 2048,
"idw0xx1.provide-default": true,
"idw0xx1.tx": "PA_9",
"idw0xx1.rx": "PA_10",
Expand Down
12 changes: 6 additions & 6 deletions pal-platform/pal-platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
},
"middleware": {
"mbedtls": {
"version": "2.13.1",
"version": "2.15.1",
"from": {
"protocol": "git",
"location": "https://github.com/ARMmbed/mbedtls.git",
"tag": "mbedtls-2.13.1"
"tag": "mbedtls-2.15.1"
},
"to": "Middleware/mbedtls/mbedtls"
}
Expand All @@ -70,11 +70,11 @@
},
"middleware": {
"mbedtls": {
"version": "2.13.1",
"version": "2.15.1",
"from": {
"protocol": "git",
"location": "https://github.com/ARMmbed/mbedtls.git",
"tag": "mbedtls-2.13.1"
"tag": "mbedtls-2.15.1"
},
"to": "Middleware/mbedtls/mbedtls"
}
Expand All @@ -90,11 +90,11 @@
},
"middleware": {
"mbedtls": {
"version": "2.13.1",
"version": "2.15.1",
"from": {
"protocol": "git",
"location": "https://github.com/ARMmbed/mbedtls.git",
"tag": "mbedtls-2.13.1"
"tag": "mbedtls-2.15.1"
},
"to": "Middleware/mbedtls/mbedtls"
}
Expand Down

0 comments on commit aba76ee

Please sign in to comment.