Skip to content

Commit

Permalink
b-l475e-iot01a readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwolz authored Jun 18, 2021
1 parent ca57f6b commit a729c08
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions demos/projects/ST/b-l475e-iot01a/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Connect an STMicroelectronics B-L475E-IOT01A Discovery kit using Azure IoT Middleware for FreeRTOS
# Connect a STMicroelectronics B-L475E-IOT01A Discovery kit using Azure IoT Middleware for FreeRTOS

## What you need

* ST Microelectronics DevKit: [B-L475E-IOT01A](https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html)

* Wi-Fi 2.4 GHz

* USB 2.0 A male to Micro USB male cable
* Micro USB male cable

## Prerequisites

Expand All @@ -15,9 +15,9 @@
* [Ninja build system](https://github.com/ninja-build/ninja/releases) (Version 1.10 or higher)

- [GNU Arm Embedded Toolchain](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads) (Version 9 or higher)
* Terminal tool like [Termite](https://www.compuphase.com/software_termite.htm), Putty, Tera Term, etc.
* Serial terminal tool like [Termite](https://www.compuphase.com/software_termite.htm), Putty, Tera Term, etc.

* To run this sample you can use a device previously created in your IoT Hub or have the Azure IoT Middleware for FreeRTOS provision your device automatically using DPS.
To run this sample you can use a device previously created on your Azure IoT Hub or you may have the Azure IoT Middleware for FreeRTOS provision your device automatically using Azure Device Provisioning Services (DPS).

IoT Hub | DPS
---------|----------
Expand All @@ -32,13 +32,13 @@ Ensure that cmake, ninja and the ARM toolset binaries are available in the `PATH

You may also need to enable long path support for both Windows and git:
* Windows: <https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later>
* Git: as Administrator run `git config --system core.longpaths true`
* Git: As **administrator** run `git config --system core.longpaths true`

## Get the middleware

Clone the following repo to download all sample device code, setup scripts, and offline versions of the documentation.

**If you previously cloned this repo in another sample, you don't need to do it again.**
*If you previously cloned this repo in another sample, you don't need to do it again.*

```bash
git clone https://github.com/Azure-Samples/iot-middleware-freertos-samples.git
Expand All @@ -55,26 +55,26 @@ To connect the STM DevKit to Azure, you'll modify a configuration file for Wi-Fi

Update the file `iot-middleware-freertos-samples/demos/projects/ST/b-l475e-iot01a/config/demo_config.h` with your configuration values.

Set the **Wi-Fi parameters** to the following values from your local environment.
Set the **Wi-Fi parameters** to the following values for your local environment.

Parameter | Value
---------|----------
`WIFI_SSID` | _{Your Wi-Fi SSID}_
`WIFI_PASSWORD` | _{Your Wi-Fi Password}_

If you're using a device previously created in your **IoT Hub** with SAS authentication, comment out line #53 (`#define democonfigENABLE_DPS_SAMPLE`) and set the following parameters:
If you're using a device previously created in your **IoT Hub** with SAS authentication, disable DPS by commeting out line #53 (`#define democonfigENABLE_DPS_SAMPLE`) and set the following parameters:

Parameter | Value
---------|----------
`democonfigDEVICE_ID` | _{Your Device ID value}_
`democonfigHOSTNAME` | _{Your Host name value}_
`democonfigHOSTNAME` | _{Your Azure IoT Hub Host name value}_
`democonfigDEVICE_SYMMETRIC_KEY` | _{Your Primary Key value}_

If you're using **DPS** with an individual enrollment with SAS authentication, set the following parameters:

Parameter | Value
---------|----------
`democonfigID_SCOPE` | _{Your ID scope value}_
`democonfigID_SCOPE` | _{Your DPS ID scope value}_
`democonfigDEVICE_ID` | _{Your Device ID value}_
`democonfigDEVICE_SYMMETRIC_KEY` | _{Your Primary Key value}_

Expand Down

0 comments on commit a729c08

Please sign in to comment.