az sphere hardware-definition
Note
This reference is part of the azure-sphere extension for the Azure CLI (version 2.45.0 or higher). The extension will automatically install the first time you run an az sphere hardware-definition command. Learn more about extensions.
Manage hardware definitions.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sphere hardware-definition generate-header |
Generate a C header file corresponding to a hardware definition and place it in the folder 'inc/hw' relative to the input JSON. |
Extension | GA |
az sphere hardware-definition test-header |
Test that the C header file in the 'inc/hw' folder is up-to-date with respect to the input JSON. |
Extension | GA |
az sphere hardware-definition generate-header
Generate a C header file corresponding to a hardware definition and place it in the folder 'inc/hw' relative to the input JSON.
az sphere hardware-definition generate-header --hardware-definition-file
Examples
Generate a C header file corresponding to a hardware definition
az sphere hardware-definition generate-header --hardware-definition-file mt3620.json
Required Parameters
Path to a hardware definition JSON file. (Path).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sphere hardware-definition test-header
Test that the C header file in the 'inc/hw' folder is up-to-date with respect to the input JSON.
az sphere hardware-definition test-header --hardware-definition-file
Examples
Test a C header file
az sphere hardware-definition test-header --hardware-definition-file mt3620.json
Required Parameters
Path to a hardware definition JSON file. You can provide a relative or absolute path. (Path).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.