Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Azure Sphere Hardware Definition ToolsNew to Visual Studio Code? Get it now.
Azure Sphere Hardware Definition Tools

Azure Sphere Hardware Definition Tools

ucl-ixn

|
871 installs
| (0) | Free
VSCode extension for Azure Sphere Hardware Definition support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Azure Sphere Hardware Definition Tools

This extension makes it easier to validate, create and maintain Hardware Definition files used for Azure Sphere IoT applications.

Features

  • Hardware Definition Validation
  • Pin Mapping Suggestion
  • Pin Mapping Generation
  • Header Files Generation
  • Hardware Definition Files Porting

Diagnostics generated on pin mapping conflicts in hardware definition and application manifest files

The extension provides diagnostics for errors or potential mistakes made in hardware definition files, such as missing imports, duplicate peripheral names, conflicting pin mappings which configure the same pin block differently, and more.

When an app_manifest file with partner applications is detected, you'll get notified about errors (such as peripherals using the same pin across applications) without having to deploy your code to a development board.

Pin mapping suggestion for hardware definition files

When adding Pin Mappings under a Hardware Definition's Peripherals, you can move the cursor behind the Mapping property and press CTRL + SPACE to get suggestions for all available pins that haven't been reserved yet.

Command to generate pin mappings

Add pin mappings automatically by running the following command from a hardware definition file: azsphere-hardware-definition-tools.generatePinMappings

C Header file generation on hardware definition changes

When saving hardware definition files, C header files will be automatically generated through the Azure Sphere CLI.

Command to port hardware definition files to different underlying hardware

If you've written a hardware definition file for a given dev board/layout and would like to support another one, you can automatically port your existing hardware definition instead of rewriting it from scratch. To do so:

  1. Run the following command through the VS Code command palette while the current file is a hardware definition file: azsphere-hardware-definition-tools.porting
  2. Select the target hardware definition file needed to port.
  3. Select a hardware definition to port to from the Azure Sphere SDK or a customized one.
  4. A new file will then be generated based on the currently open hardware definition file with all of the mappings updated to match the hardware definition which has been ported to.

Acknowledgments

This extension is developed by a team of UCL (University College London) students including Omar Beyhum, Dorin Botan, Denoy Hossain, Tsung-Han Tsai, and Jiachen Weng in collaboration with Microsoft.

Contributions

This extension is open source and maintained under the Azure Sphere Hardware Definition Tools GitHub repository. Suggestions and contributions are more than welcome.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft