This repository contains samples for the Azure Sphere platform that are created and maintained by Microsoft.
You may also be interested in:
- https://github.com/Azure/azure-sphere-hardware-designs/ - maintained hardware designs for Azure Sphere
- https://github.com/Azure/azure-sphere-gallery/ - gallery of further unmaintained content from Microsoft
- https://github.com/Azure/azure-sphere-tools/ - useful tools for device builders and application developers using the Azure Sphere platform (including the manufacturing tools which used to live in this repository)
Please also see the Codethink, MediaTek, and Azure RTOS repositories for more sample applications for the MT3620 real-time cores:
- https://github.com/CodethinkLabs/mt3620-m4-samples
- https://github.com/MediaTek-Labs/mt3620_m4_software
- https://github.com/Azure-Samples/Azure-RTOS-on-Azure-Sphere-Mediatek-MT3620
See the Azure Sphere Getting Started page for details on getting an Azure Sphere development kit and setting up your PC for development. You should complete the Azure Sphere Installation Quickstarts and Tutorials to validate that your environment is configured properly before using the samples here.
Clone this entire repository locally. The repository includes the hardware definition files that are required to run the samples on a range of Azure Sphere hardware.
Each folder within the samples subdirectory contains a README.md file that describes the samples therein. Follow the instructions for each individual sample to build and deploy it to your Azure Sphere hardware to learn about the features that the sample demonstrates.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (for example, label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
For information about the licenses that apply to a particular sample, see the License and README.md files in each subdirectory.
Categories | Samples |
---|---|
Application lifecycle | Deferred update Device to Cloud Power down |
External MCUs | Device to Cloud External MCU update Wi-Fi setup via BLE |
Microsoft Azure | Azure IoT |
Multi-core samples | Hello World Inter-core communication |
Networking & time | Certificates Custom NTP DHCP DNS service discovery HTTPS cURL Easy HTTPS cURL Multi Private network services System time Wi-Fi Wi-Fi setup via BLE WolfSSL API |
Peripherals, sensors, & devices | Hello World ADC GPIO I2C PWM SPI UART |
Power & memory | External MCU low power Power down |
Storage | Mutable storage |