Skip to content

Utilizes cortex-debug (VS Code Plugin) to view arbitrary SVD files independent of the debugged program. The files are processed (derivedFrom, nested clusters, ...) by the cortex-debug plugin.

License

Notifications You must be signed in to change notification settings

ARMify-Project/code-peripheral-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VS Code SVD Peripheral Viewer

Utilizes cortex-debug to view arbitrary SVD files independent of the debugged program. The files are processed (derivedFrom, nested clusters, ...) by the cortex-debug plugin.

Screenshot

Usage

./viewer.sh <path_to_svd_file>

Why?

During the development of SVDSuite, the results were compared with other SVD parsers, as the standard is not always clear and sometimes insufficiently documented. The parser from cortex-debug turned out to be very powerful, as it has more features (e.g. forward referencing for derivedFrom) than ARM's reference parser svdconv.

However, cortex-debug and it's extracted extension Peripheral Viewer both only show information about SVD files while debugging a program.

The shell script in this repository is a wrapper for cortex-debug. It downloads QEMU, installs the cortex-debug plugin in VS Code and modifies VS Code's launch.json for the appropriate SVD path. Afterwards it executes VS Code and QEMU with a dummy binary to allow a debugging session.

About

Utilizes cortex-debug (VS Code Plugin) to view arbitrary SVD files independent of the debugged program. The files are processed (derivedFrom, nested clusters, ...) by the cortex-debug plugin.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages