Embedded Peripheral InspectorStandalone SVD Viewer extension extracted from cortex-debug Specifying SVD FilesThe SVD Viewer extension uses System View Description (SVD) files to display information about the selected part, including the Cortex Peripherals view. Choose one of the following methods to specify your SVD file in your Use the CMSIS pack asset serviceSet the
If the pack supports multiple devices and/or processors, you will be prompted to select these. Alternatively, set them in your configuration using the optional
TIP: The pack reference and device name can be automatically derived if you use the Arm Device Manager extension in VS Code using these commands:
Install a Cortex Debug Support PackFind a Cortex Debug Support Pack for your device and install it. You can then specify just the
Specify the path to your SVD fileYou can obtain an SVD file from a CMSIS pack or from your device manufacturer. For example use these instructions for ST devices. Other vendors may ship SVD files when you install their software or device packs or you could write your own custom SVD file. Once you have the SVD file, specify the location of it in your
Extending Peripheral InspectorIt is possible to extend the Peripheral Inspector with new file extension providers in your VSCode extension. This method will provide reading new file formats and load the peripherals information into the Peripheral Inspector.
For more details about the implementation, please check the Extending Peripheral Inspector document. SettingsAll variable key names used to extract data from debug launch configurations can be modified. This allows variable name clashes to be avoided as well as the need to duplicate configuration entries. The following list outlines the setting names and default values:
|