Skip to content

Commit

Permalink
Merge pull request #38 from ARMmbed/release_candidate
Browse files Browse the repository at this point in the history
Update for mbed-os-6.15.0
  • Loading branch information
mbedmain committed Sep 21, 2021
2 parents 779c9be + 829b894 commit b0754eb
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Expand Up @@ -103,3 +103,15 @@ matrix:
- <<: *cmake-build-test
name: "CMake Azure IoT Hub example - debug (DISCO_L475VG_IOT01A)"
env: NAME=cmake_test TARGET_NAME=DISCO_L475VG_IOT01A PROFILE=debug CACHE_NAME=debug-DISCO_L475VG_IOT01A

- <<: *cmake-build-test
name: "CMake Azure IoT Hub example - develop (EP_AGORA)"
env: NAME=cmake_test TARGET_NAME=EP_AGORA PROFILE=develop CACHE_NAME=develop-EP_AGORA

- <<: *cmake-build-test
name: "CMake Azure IoT Hub example - release (EP_AGORA)"
env: NAME=cmake_test TARGET_NAME=EP_AGORA PROFILE=release CACHE_NAME=release-EP_AGORA

- <<: *cmake-build-test
name: "CMake Azure IoT Hub example - debug (EP_AGORA)"
env: NAME=cmake_test TARGET_NAME=EP_AGORA PROFILE=debug CACHE_NAME=debug-EP_AGORA
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -54,6 +54,16 @@ To fetch the example,
"nsapi.default-wifi-password": "\"PASSWORD\""
}
```
1. (If you want to use *Cellular*) set `nsapi.default-cellular-apn` to the appropriate value based on your carrier and SIM card. Depending on your SIM and cellular carrier, you may also have to configure `nsapi.default-cellular-sim-pin`, `nsapi.default-cellular-username`, and `nsapi.default-cellular-password` as well. Make sure to keep any escaped quotes (`\"`). If you use a different target, replace `"EP_AGORA"` with your target.
For example, to use EP_AGORA:
```
"EP_AGORA": {
"nsapi.default-cellular-apn" : "\"APN\"",
"nsapi.default-cellular-sim-pin" : null,
"nsapi.default-cellular-username" : null,
"nsapi.default-cellular-password" : null,
...
```

To compile and run the example,

Expand Down
2 changes: 1 addition & 1 deletion mbed-client-for-azure.lib
@@ -1 +1 @@
https://github.com/ARMmbed/mbed-client-for-azure#25e348a3a14209a7f6ef47557afbcc71f942af4e
https://github.com/ARMmbed/mbed-client-for-azure#ed03a961bb1d40ce9b0e869fc4a073b2a09ca009
2 changes: 1 addition & 1 deletion mbed-os.lib
@@ -1 +1 @@
https://github.com/ARMmbed/mbed-os/#3377f083b3a6bd7a1b45ed2cea5cf083b9007527
https://github.com/ARMmbed/mbed-os/#4cfbea43cabe86bc3ed7a5287cd464be7a218938
23 changes: 23 additions & 0 deletions mbed_app.json
Expand Up @@ -16,6 +16,29 @@
"nsapi.default-wifi-security": "WPA_WPA2",
"nsapi.default-wifi-ssid": "\"SSID\"",
"nsapi.default-wifi-password": "\"PASSWORD\""
},
"EP_AGORA": {
"nsapi.default-cellular-apn" : "\"APN\"",
"nsapi.default-cellular-sim-pin" : null,
"nsapi.default-cellular-username" : null,
"nsapi.default-cellular-password" : null,
"platform.stdio-buffered-serial" : true,
"platform.stdio-flush-at-exit" : true,
"drivers.uart-serial-rxbuf-size" : 1024,
"drivers.uart-serial-txbuf-size" : 1024,
"lwip.ipv4-enabled" : true,
"lwip.ipv6-enabled" : true,
"lwip.ppp-enabled" : true,
"lwip.tcp-enabled" : true,
"lwip.ethernet-enabled" : false,
"lwip.mem-size" : 22000,
"lwip.tcpip-thread-stacksize" : 2000,
"nsapi.dns-response-wait-time" : 30000,
"lwip.use-mbed-trace" : true,
"lwip.debug-enabled" : false,
"target.features_remove": ["CRYPTOCELL310"],
"target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"],
"target.macros_add": ["NRFX_RNG_ENABLED=1", "RNG_ENABLED=1", "NRF_QUEUE_ENABLED=1"]
}
}
}

0 comments on commit b0754eb

Please sign in to comment.