Skip to content

Latest commit

 

History

History
 
 

AZ3166

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
page_type description languages products
sample
Connect an MXCHIP AZ3166 to Azure IoT using Azure RTOS
c
azure-iot
azure-iot-pnp
azure-rtos
azure-iot-dps
azure-iot-hub

Connect an MXCHIP AZ3166 to Azure IoT

Companion article

This Readme provides basic details to clone the repo and flash the device. For a detailed walkthrough on how to build the image, flash the device, create an IoT Central application, and connect the device to it, see the companion article Quickstart: Connect an MXCHIP AZ3166 devkit to IoT Central.

For guidance on connecting additional devices, see the series Getting started with Azure RTOS.

What you need

Steps

  1. Recursively clone the repository:

    git clone --recursive https://github.com/azure-rtos/getting-started.git
  2. Install the development tools:

    getting-started\tools\get-toolchain.bat

  3. Add Wi-Fi and Azure IoT configuration to the config file:

    getting-started\MXChip\AZ3166\app\azure_config.h

    Note: comment out #define ENABLE_DPS if you want to connect to a IoT Hub without using DPS.

  4. Build the binary image:

    getting-started\MXChip\AZ3166\tools\rebuild.bat

  5. Flash the image to the device by copying the image file to the AZ3166 drive:

    getting-started\MXChip\AZ3166\build\app\mxchip_azure_iot.bin

  6. Configure a serial port app at BAUD 115,200 to monitor the debug output from the device